{"audience":"Warehouse managers, inventory controllers, cost accounting and internal audit.","authorization_objects":[{"note":"Physical inventory document display authorization by plant","object":"M_ISEG_WIB"},{"note":"Plant authorization related to difference posting (viewing difference values)","object":"M_ISEG_WDB"},{"note":"Material data authorization by plant","object":"M_MATE_WRK"}],"components":[],"countries":[],"effort_days_max":5,"effort_days_min":3,"effort_size":"M","faq":[{"a":"If the difference has not been posted, ISEG-DMBTR is empty. The difference quantity is then multiplied by the moving average (VERPR) or standard price (STPRS) from MBEW, depending on price control, and divided by the price unit. The value is an estimate; after posting the real value comes from ISEG.","q":"How is the value of differences not yet posted calculated?"},{"a":"No. The recount chain is followed via ISEG-NBLNR; only the last count in the chain is included in the difference count and value. The first inventory document stays visible.","q":"Are items sent to a recount counted twice?"},{"a":"Yes. IKPF and ISEG keep the same structure in S/4HANA. For a clean core approach, the CDS views I_PhysInvtryDocHeader and I_PhysInvtryDocItem can be used; difference postings are written to the material document (MATDOC).","q":"Does the report 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 inventory document opens MI03; double-clicking the material opens MI24."},{"code":"excel","label":"Export to Excel","note":""},{"code":"background","label":"Runs as a background job","note":""},{"code":"email","label":"Send the result by email","note":"Repeat differences can be sent to warehouse and cost managers at month end."}],"functions":[],"gap":"MI20 lists the differences in individual inventory documents and MI24 shows the inventory documents of one material; but neither shows how many times the same material produced a difference within a period, which items went to a recount and the difference value totalled by material group and storage location together. The custom report combines the count history and makes recurring sources of difference visible.","id":"mm-physical-inventory-differences-recount","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. IKPF is read by plant, storage location and count date (ZLDAT).\n2. ISEG items are read; items not counted (XZAEL blank) and deleted items (XLOEK) are skipped. Difference quantity = counted quantity (MENGE) − book quantity (BUCHM).\n3. If the difference was posted (XDIFF = X), the value comes from ISEG-DMBTR; otherwise it is estimated as difference quantity × MBEW price (VERPR or STPRS depending on VPRSV) ÷ PEINH.\n4. If ISEG-NBLNR is filled, the item was sent to a recount; the recount document is shown and the last count in the chain is used.\n5. The number of counts with a difference in the period is calculated per material and storage location; if it reaches the threshold on the selection screen, the row is flagged as a \"repeat difference\". The material group comes from MARA and the description from MAKT.","module":"MM","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Plant","source_field":"WERKS","source_table":"ISEG"},{"calculated":false,"formula":"","label":"Storage location","source_field":"LGORT","source_table":"ISEG"},{"calculated":false,"formula":"","label":"Material","source_field":"MATNR","source_table":"ISEG"},{"calculated":false,"formula":"","label":"Material description","source_field":"MAKTX","source_table":"MAKT"},{"calculated":false,"formula":"","label":"Material group","source_field":"MATKL","source_table":"MARA"},{"calculated":false,"formula":"","label":"Inventory document","source_field":"IBLNR","source_table":"ISEG"},{"calculated":false,"formula":"","label":"Count date","source_field":"ZLDAT","source_table":"IKPF"},{"calculated":false,"formula":"","label":"Book quantity","source_field":"BUCHM","source_table":"ISEG"},{"calculated":false,"formula":"","label":"Counted quantity","source_field":"MENGE","source_table":"ISEG"},{"calculated":true,"formula":"ISEG-MENGE − ISEG-BUCHM","label":"Difference qty","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Unit","source_field":"MEINS","source_table":"ISEG"},{"calculated":true,"formula":"ISEG-DMBTR (signed) if posted; otherwise difference qty × MBEW price ÷ MBEW-PEINH","label":"Difference value","source_field":null,"source_table":null},{"calculated":true,"formula":"Difference qty ÷ ISEG-BUCHM × 100","label":"Difference %","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Recount document","source_field":"NBLNR","source_table":"ISEG"},{"calculated":true,"formula":"Number of counts in the period with a non-zero difference for the same material and storage location","label":"Counts with difference","source_field":null,"source_table":null},{"calculated":true,"formula":"X if counts with difference ≥ threshold","label":"Repeat difference","source_field":null,"source_table":null}],"parameters":[{"example":"1000","kind":"select_option","label":"Plant","name":"S_WERKS","ref_field":"ISEG-WERKS","required":true},{"example":"0001","kind":"select_option","label":"Storage location","name":"S_LGORT","ref_field":"ISEG-LGORT","required":false},{"example":"RM-1001","kind":"select_option","label":"Material","name":"S_MATNR","ref_field":"ISEG-MATNR","required":false},{"example":"01","kind":"select_option","label":"Material group","name":"S_MATKL","ref_field":"MARA-MATKL","required":false},{"example":"01.01.2026 – 31.10.2026","kind":"select_option","label":"Count date range","name":"S_ZLDAT","ref_field":"IKPF-ZLDAT","required":true},{"example":"1000","kind":"parameter","label":"Minimum absolute difference value","name":"P_MINVAL","ref_field":"","required":false},{"example":"2","kind":"parameter","label":"Repeat difference threshold (number of counts)","name":"P_REPEAT","ref_field":"","required":false},{"example":"","kind":"checkbox","label":"Posted differences only","name":"P_POSTED","ref_field":"","required":false}],"part_of":["inv-physical-inventory-count-pack"],"performance":"Restrict IKPF by count date and plant; read ISEG with a JOIN on the IBLNR/GJAHR key. Read the MBEW price only for unposted differences via FOR ALL ENTRIES. For yearly analyses a background job is recommended.","process":"INV","quote_url":"https://nekuhub.com/en/request-a-quote/?report=mm-physical-inventory-differences-recount","related":["mm-mb52-warehouse-stock","mm-stock-aging"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Lists differences in inventory documents; no repeat-difference count or period totals.","tcode":"MI20"},{"note":"Shows inventory documents per material; offers no value analysis or recount chain.","tcode":"MI24"}],"summary":"A custom ALV report that reads all physical inventory documents of a period and shows, per material and storage location, the difference quantity, the difference value, recounts and how many times the same material produced a difference. Warehouse and cost teams easily find the materials and storage locations that keep producing differences.","tables":[{"access":"read","join_on":"","role":"Inventory document header: plant, storage location, count and posting date (driving table)","table":"IKPF","variant":"both"},{"access":"read","join_on":"ISEG-IBLNR = IKPF-IBLNR AND ISEG-GJAHR = IKPF-GJAHR","role":"Inventory item: book and counted quantity, difference value, recount document","table":"ISEG","variant":"both"},{"access":"read","join_on":"MARA-MATNR = ISEG-MATNR","role":"Material group and type","table":"MARA","variant":"both"},{"access":"read","join_on":"MAKT-MATNR = ISEG-MATNR AND MAKT-SPRAS = SY-LANGU","role":"Material description","table":"MAKT","variant":"both"},{"access":"read","join_on":"MBEW-MATNR = ISEG-MATNR AND MBEW-BWKEY = T001W-BWKEY","role":"Price for valuing unposted differences","table":"MBEW","variant":"both"},{"access":"read","join_on":"T001W-WERKS = ISEG-WERKS","role":"Plant to valuation area mapping","table":"T001W","variant":"both"},{"access":"read","join_on":"PhysicalInventoryDocument = ISEG-IBLNR","role":"CDS view that can replace ISEG in S/4HANA","table":"I_PhysInvtryDocItem","variant":"s4"}],"title":"Physical Inventory Count Differences and Recount Analysis Report by Material and Storage Location","url":"https://nekuhub.com/en/reports/physical-inventory-count-differences-recount-report/","vendor_id":"nekudos"}