{"audience":"Buyers, invoice verification teams and finance teams that reconcile the GR/IR account at month end.","authorization_objects":[{"note":"Purchase order display authorization by purchasing organization","object":"M_BEST_EKO"},{"note":"Purchase order display authorization by purchasing group","object":"M_BEST_EKG"},{"note":"Purchase order display authorization by plant","object":"M_BEST_WRK"}],"components":[],"countries":[],"effort_days_max":5,"effort_days_min":3,"effort_size":"M","faq":[{"a":"In document currency (EKBE-WRBTR and EKKO-WAERS). If company code currency is needed, a second amount column based on EKBE-DMBTR is added.","q":"In which currency is the difference shown?"},{"a":"EKBE records with debit/credit indicator SHKZG = H are summed with a negative sign, so a 102 reversal or an invoice cancellation reduces the difference correctly.","q":"How are returns and reversals handled?"},{"a":"Yes. EKKO, EKPO and EKBE keep the same structure in S/4HANA. For a clean core approach, the order history can be read from the I_PurchaseOrderHistoryAPI01 CDS view.","q":"Does this 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":"The order number opens ME23N, the difference amount opens the order history."},{"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":"At month end each purchasing group can receive its own open differences."}],"functions":[],"gap":"MB5S shows the GR/IR balance per purchase order, but not the purchasing group, the last goods receipt date or how long the difference has been open. In ME2N the \"to be delivered\" and \"to be invoiced\" selections do not combine with the final invoice indicator into a usable difference list. Teams merge two lists in Excel. The custom report calculates both directions from the purchase order history (EKBE) on one line and ages the difference.","id":"mm-goods-received-not-invoiced","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. EKKO and EKPO are read with the selection-screen criteria; deleted items (EKPO-LOEKZ) and items that expect no goods receipt or no invoice (EKPO-WEPOS or EKPO-REPOS blank) are skipped.\n2. The EKBE records of each item are read: VGABE = 1 goods receipts, VGABE = 2 invoices. Records with SHKZG = H (reversals, returns) are summed with a negative sign.\n3. Difference quantity = goods receipt quantity − invoiced quantity; difference amount = goods receipt amount (EKBE-WRBTR) − invoice amount, in document currency.\n4. Depending on the radio button, only positive differences (not invoiced), only negative differences (not received) or all differences remain. Items with the final invoice flag (EKPO-EREKZ) and a zero difference are skipped.\n5. The last goods receipt date is the highest EKBE-BUDAT of the VGABE = 1 records; days open = key date − last goods receipt date. The vendor name is added from LFA1; the ALV shows subtotals per purchasing group and vendor.","module":"MM","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Purchase order","source_field":"EBELN","source_table":"EKKO"},{"calculated":false,"formula":"","label":"Item","source_field":"EBELP","source_table":"EKPO"},{"calculated":false,"formula":"","label":"Purchasing group","source_field":"EKGRP","source_table":"EKKO"},{"calculated":false,"formula":"","label":"Vendor","source_field":"LIFNR","source_table":"EKKO"},{"calculated":false,"formula":"","label":"Vendor name","source_field":"NAME1","source_table":"LFA1"},{"calculated":false,"formula":"","label":"Material","source_field":"MATNR","source_table":"EKPO"},{"calculated":false,"formula":"","label":"Short text","source_field":"TXZ01","source_table":"EKPO"},{"calculated":false,"formula":"","label":"Plant","source_field":"WERKS","source_table":"EKPO"},{"calculated":true,"formula":"Σ EKBE-MENGE (VGABE = 1, SHKZG = H negative)","label":"GR qty","source_field":null,"source_table":null},{"calculated":true,"formula":"Σ EKBE-MENGE (VGABE = 2, SHKZG = H negative)","label":"Invoiced qty","source_field":null,"source_table":null},{"calculated":true,"formula":"GR qty − invoiced qty","label":"Difference qty","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Unit","source_field":"MEINS","source_table":"EKPO"},{"calculated":true,"formula":"Σ EKBE-WRBTR (VGABE = 1) − Σ EKBE-WRBTR (VGABE = 2)","label":"Difference amount","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Currency","source_field":"WAERS","source_table":"EKKO"},{"calculated":false,"formula":"","label":"Last GR date","source_field":"BUDAT","source_table":"EKBE"},{"calculated":true,"formula":"Key date − last GR date","label":"Days open","source_field":null,"source_table":null}],"parameters":[{"example":"1000","kind":"select_option","label":"Company code","name":"S_BUKRS","ref_field":"EKKO-BUKRS","required":true},{"example":"1000","kind":"select_option","label":"Purchasing organization","name":"S_EKORG","ref_field":"EKKO-EKORG","required":false},{"example":"001","kind":"select_option","label":"Purchasing group","name":"S_EKGRP","ref_field":"EKKO-EKGRP","required":false},{"example":"100245","kind":"select_option","label":"Vendor","name":"S_LIFNR","ref_field":"EKKO-LIFNR","required":false},{"example":"1000","kind":"select_option","label":"Plant","name":"S_WERKS","ref_field":"EKPO-WERKS","required":false},{"example":"01.01.2026 – 31.10.2026","kind":"select_option","label":"Order date range","name":"S_BEDAT","ref_field":"EKKO-BEDAT","required":false},{"example":"X","kind":"radio","label":"Received, not invoiced","name":"R_GRNI","ref_field":"","required":false},{"example":"","kind":"radio","label":"Invoiced, not received","name":"R_IRNG","ref_field":"","required":false},{"example":"17.11.2026","kind":"parameter","label":"Key date for days open","name":"P_KEYDT","ref_field":"SY-DATUM","required":true}],"part_of":["r2r-month-end-close-pack","inv-inventory-control-pack"],"performance":"Aggregate EKBE in SQL with SUM and GROUP BY (EBELN, EBELP, VGABE, SHKZG) rather than in an ABAP loop. Narrow the EKKO selection by company code and order date. At month end, run the report as a background job and email the result to each purchasing group.","process":"P2P","quote_url":"https://nekuhub.com/en/request-a-quote/?report=mm-goods-received-not-invoiced","related":["fi-vendor-open-items-aging","mm-blocked-invoices-variance","mm-open-po-by-vendor"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Lists the GR/IR balance per purchase order; no purchasing group, last goods receipt date or ageing.","tcode":"MB5S"},{"note":"Shows quantities to be delivered and to be invoiced separately; does not produce a two-way difference list.","tcode":"ME2N"}],"summary":"A custom ALV report that compares received and invoiced quantity and amount per purchase order item and lists items that were received but not invoiced, or invoiced but not received. Each line shows how many days the difference has been open and which purchasing group should follow it up.","tables":[{"access":"read","join_on":"","role":"Company code, purchasing group, vendor and document currency (driving table)","table":"EKKO","variant":"both"},{"access":"read","join_on":"EKPO-EBELN = EKKO-EBELN","role":"Material, plant, goods receipt / invoice indicators and final invoice flag","table":"EKPO","variant":"both"},{"access":"read","join_on":"EKBE-EBELN = EKPO-EBELN AND EKBE-EBELP = EKPO-EBELP","role":"Purchase order history: goods receipt and invoice quantities, amounts and posting dates","table":"EKBE","variant":"both"},{"access":"read","join_on":"LFA1-LIFNR = EKKO-LIFNR","role":"Vendor name","table":"LFA1","variant":"both"},{"access":"read","join_on":"PurchaseOrder = EKPO-EBELN AND PurchaseOrderItem = EKPO-EBELP","role":"In S/4HANA it can replace EKBE with a clean core approach","table":"I_PurchaseOrderHistoryAPI01","variant":"s4"}],"title":"Goods Received Not Invoiced Purchase Orders Report (GR/IR)","url":"https://nekuhub.com/en/reports/goods-received-not-invoiced-purchase-orders-report/","vendor_id":"nekudos"}