{"audience":"Warehouse supervisors, inventory control, cost accounting and internal audit teams.","authorization_objects":[{"note":"Material document display authorization by plant","object":"M_MSEG_WMB"},{"note":"Authorization by movement type","object":"M_MSEG_BWA"},{"note":"Authorization by storage location","object":"M_MSEG_LGO"}],"components":[],"countries":[],"effort_days_max":7,"effort_days_min":5,"effort_size":"M","faq":[{"a":"The reversal document item holds the number, year and item of the original document (SMBLN, SJAHR, SMBLP). The report uses this link to find the original item, flags both lines and can leave them out of the net calculation and the list.","q":"How are reversed movements matched?"},{"a":"A stock movement posted to an earlier date after month-end closing changes the stock and cost figures of a closed period. Since postings above the threshold are flagged, the audit team can review them per user.","q":"Why do back-dated postings matter?"},{"a":"Yes. In S/4HANA the report reads directly from MATDOC and aggregates the summary view in the database. If clean core is preferred, I_MaterialDocumentItem_2 can be used.","q":"Does it work on S/4HANA?"}],"features":[{"code":"alv","label":"ALV list (sort, filter, subtotals)","note":""},{"code":"layout","label":"User-specific layout variants","note":""},{"code":"drilldown","label":"Double-click drill-down to the document","note":"Double-clicking the document number displays the material document in MIGO."},{"code":"excel","label":"Export to Excel","note":""},{"code":"background","label":"Runs as a background job","note":""}],"functions":[],"gap":"MB51 lists material document items, but it does not match a reversed movement with its reversal document to show the net movement, does not flag the gap between posting date and entry date (back-dated postings) and gives no ready summary by movement type, user and day. MB5B gives opening and closing stock balances but does not analyze movements by user and account assignment. The custom report brings these checks together on one screen.","id":"mm-goods-movement-reports","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. MKPF and MSEG are read by posting date, plant, storage location, movement type, material and user; in S/4HANA the same fields are read directly from MATDOC.\n2. Movement type attributes and text come from T156 and its text table, the material description from MAKT and the storage location name from T001L.\n3. Reversal matching: items with SMBLN, SJAHR and SMBLP filled are reversal documents; the reversed original item is found and both lines are flagged. The net quantity is the debit/credit-signed (SHKZG) quantity total of movements that were not reversed.\n4. The value comes from MSEG-DMBTR; the account assignment (cost center, order) and the reason for movement (GRUND) are shown on the same line.\n5. Back-dated posting: if the number of days between entry date (CPUDT) and posting date (BUDAT) exceeds the threshold parameter, the line is flagged; postings made to a previous period after closing become visible this way.\n6. The report opens with a detail and a summary view: the summary totals document count, quantity and value by movement type, user and day.","module":"MM","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Material document","source_field":"MBLNR","source_table":"MSEG"},{"calculated":false,"formula":"","label":"Item","source_field":"ZEILE","source_table":"MSEG"},{"calculated":false,"formula":"","label":"Posting date","source_field":"BUDAT","source_table":"MKPF"},{"calculated":false,"formula":"","label":"Entry date","source_field":"CPUDT","source_table":"MKPF"},{"calculated":false,"formula":"","label":"User","source_field":"USNAM","source_table":"MKPF"},{"calculated":false,"formula":"","label":"Movement type","source_field":"BWART","source_table":"MSEG"},{"calculated":false,"formula":"","label":"Material","source_field":"MATNR","source_table":"MSEG"},{"calculated":false,"formula":"","label":"Material description","source_field":"MAKTX","source_table":"MAKT"},{"calculated":false,"formula":"","label":"Storage location","source_field":"LGORT","source_table":"MSEG"},{"calculated":true,"formula":"MSEG-MENGE; negative if SHKZG = H","label":"Quantity (signed)","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Unit","source_field":"MEINS","source_table":"MSEG"},{"calculated":false,"formula":"","label":"Value","source_field":"DMBTR","source_table":"MSEG"},{"calculated":false,"formula":"","label":"Cost center","source_field":"KOSTL","source_table":"MSEG"},{"calculated":false,"formula":"","label":"Reason for movement","source_field":"GRUND","source_table":"MSEG"},{"calculated":true,"formula":"Reversed (with reversal document), reversal document or blank","label":"Reversal status","source_field":null,"source_table":null},{"calculated":true,"formula":"CPUDT − BUDAT \u003e threshold days","label":"Back-dated","source_field":null,"source_table":null}],"parameters":[{"example":"01.11.2026 – 16.11.2026","kind":"select_option","label":"Posting date","name":"S_BUDAT","ref_field":"MKPF-BUDAT","required":true},{"example":"1000","kind":"select_option","label":"Plant","name":"S_WERKS","ref_field":"MSEG-WERKS","required":true},{"example":"0001","kind":"select_option","label":"Storage location","name":"S_LGORT","ref_field":"MSEG-LGORT","required":false},{"example":"201, 261, 551, 701","kind":"select_option","label":"Movement type","name":"S_BWART","ref_field":"MSEG-BWART","required":false},{"example":"HM-1001","kind":"select_option","label":"Material","name":"S_MATNR","ref_field":"MSEG-MATNR","required":false},{"example":"DEPO01","kind":"select_option","label":"User","name":"S_USNAM","ref_field":"MKPF-USNAM","required":false},{"example":"3","kind":"parameter","label":"Back-dated posting threshold (days)","name":"P_BACKD","ref_field":"","required":false},{"example":"","kind":"checkbox","label":"Hide reversed movement pairs","name":"P_NOREV","ref_field":"","required":false},{"example":"","kind":"radio","label":"Summary view (movement type, user, day)","name":"R_SUMM","ref_field":"","required":false}],"part_of":[],"performance":"Start the selection with posting date and plant; the MKPF-BUDAT index and the MBLNR/MJAHR key of MSEG are used. For selection by material, check that an MATNR/WERKS index exists on MSEG. In S/4HANA MATDOC is a single table, so no join is needed and the summary view can be aggregated in the database.","process":"INV","quote_url":"https://nekuhub.com/en/request-a-quote/?report=mm-goods-movement-reports","related":["mm-physical-inventory-differences-recount","mm-stock-aging","mm-stock-in-transit-aging"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Lists material documents; no reversal matching, no back-dated posting flag and no user/day summary.","tcode":"MB51"},{"note":"Gives opening and closing stock with movements; does not analyze by user or account assignment.","tcode":"MB5B"}],"summary":"A custom ALV report that lists material documents with movement type, storage location, user and account assignment (cost center, order), matches reversed movements with their reversal documents to give the net quantity, shows the value and the reason for movement and flags back-dated postings. Warehouse, cost accounting and internal audit teams summarize stock movements in one list and find unusual postings quickly.","tables":[{"access":"read","join_on":"","role":"Document header: posting and entry date, user (driving table)","table":"MKPF","variant":"ecc"},{"access":"read","join_on":"MSEG-MBLNR = MKPF-MBLNR AND MSEG-MJAHR = MKPF-MJAHR","role":"Document items: movement type, quantity, value, account assignment, reversal reference","table":"MSEG","variant":"ecc"},{"access":"read","join_on":"","role":"In S/4HANA gives header and item fields in a single table","table":"MATDOC","variant":"s4"},{"access":"read","join_on":"T156-BWART = MSEG-BWART","role":"Movement type attributes and reversal movement type","table":"T156","variant":"both"},{"access":"read","join_on":"MAKT-MATNR = MSEG-MATNR AND MAKT-SPRAS = SY-LANGU","role":"Material description","table":"MAKT","variant":"both"},{"access":"read","join_on":"T001L-WERKS = MSEG-WERKS AND T001L-LGORT = MSEG-LGORT","role":"Storage location name","table":"T001L","variant":"both"}],"title":"Material Document and Stock Movement Analysis Report by Movement Type, Storage Location and User","url":"https://nekuhub.com/en/reports/material-document-and-stock-movement-analysis-report/","vendor_id":"nekudos"}