{"audience":"Maintenance planners, maintenance buyers, spare parts warehouse leads and maintenance managers.","authorization_objects":[{"note":"Display orders by maintenance planning plant","object":"I_IWERK"},{"note":"Display purchase requisitions by plant","object":"M_BANF_WRK"},{"note":"Display purchase orders by plant","object":"M_BEST_WRK"}],"components":[],"countries":[],"effort_days_max":6,"effort_days_min":4,"effort_size":"M","faq":[{"a":"Yes. Non-stock items and external services are followed through the purchase requisition on RESB. The service entry sheet status can be added as an optional column.","q":"Are service items tracked as well?"},{"a":"By default, unrestricted stock is shared between orders in the order of their requirement dates, so two jobs that need the same spare part do not count the same stock twice.","q":"What if stock is already reserved for other orders?"},{"a":"Yes. RESB, AFIH, EBAN and EKET keep the same structure in S/4HANA; reading MARD is served from material documents through a compatibility view.","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":"The order opens IW33, the requisition ME53N and the purchase order ME23N."},{"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":"Requisitions awaiting release and late deliveries can be sent to maintenance purchasing."}],"functions":[],"gap":"The IW38 order list has no columns for component material status, purchase requisition or purchase order; planners open every order in IW33, go from the component screen to the requisition and from there to ME5A and ME23N. The material availability check covers stock items only and does not show the purchasing stage of non-stock items and services. When the weekly schedule is prepared, jobs whose material has arrived are picked out by hand.","id":"pm-orders-waiting-for-material","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. Open maintenance orders (AUTYP = 30; not TECO or CLSD) are read from AUFK and AFIH, the basic start (GSTRP) from AFKO. Components are taken from RESB (XLOEK blank, KZEAR blank); open quantity = BDMNG − ENMNG.\n2. Stock item (POSTP = L): compared with unrestricted stock MARD-LABST at the component's plant and storage location; when enough, the status is in stock. When not enough and RESB-BANFN is filled, the requisition is followed.\n3. Non-stock item (POSTP = N) or item with a requisition: requisition (BANFN/BNFPO), release indicator (FRGKZ), deletion (LOEKZ) and assigned purchase order (EBELN/EBELP) are read from EBAN. Delivery date (EINDT) and received quantity (WEMNG) come from EKET; the vendor name is added through EKKO-LIFNR → LFA1-NAME1.\n4. Material status: in stock / requisition awaiting release / requisition released, no PO / on order / received, awaiting issue.\n5. Delay against start = EKET-EINDT − AFKO-GSTRP; a positive value means the order cannot start on the planned date. When all lines of an order are in stock or received, the order is flagged as ready.\n6. ALV groups by planner group and order; ready orders are shown in green.","module":"PM","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Maintenance order","source_field":"AUFNR","source_table":"RESB"},{"calculated":false,"formula":"","label":"Short text","source_field":"KTEXT","source_table":"AUFK"},{"calculated":false,"formula":"","label":"Equipment","source_field":"EQUNR","source_table":"AFIH"},{"calculated":false,"formula":"","label":"Basic start","source_field":"GSTRP","source_table":"AFKO"},{"calculated":false,"formula":"","label":"Material","source_field":"MATNR","source_table":"RESB"},{"calculated":true,"formula":"MAKT-MAKTX for stock items, EBAN-TXZ01 for non-stock items","label":"Material / service text","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Item category","source_field":"POSTP","source_table":"RESB"},{"calculated":true,"formula":"RESB-BDMNG − RESB-ENMNG","label":"Open qty","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Unit","source_field":"MEINS","source_table":"RESB"},{"calculated":false,"formula":"","label":"Purchase requisition","source_field":"BANFN","source_table":"RESB"},{"calculated":false,"formula":"","label":"Purchase order","source_field":"EBELN","source_table":"EBAN"},{"calculated":false,"formula":"","label":"Vendor","source_field":"NAME1","source_table":"LFA1"},{"calculated":false,"formula":"","label":"Delivery date","source_field":"EINDT","source_table":"EKET"},{"calculated":true,"formula":"In stock, requisition awaiting release, requisition released, on order or received","label":"Material status","source_field":null,"source_table":null},{"calculated":true,"formula":"EKET-EINDT − AFKO-GSTRP (positive: the job cannot start)","label":"Delay against start (days)","source_field":null,"source_table":null}],"parameters":[{"example":"1000","kind":"select_option","label":"Maintenance planning plant","name":"S_IWERK","ref_field":"AFIH-IWERK","required":true},{"example":"4000131","kind":"select_option","label":"Maintenance order","name":"S_AUFNR","ref_field":"RESB-AUFNR","required":false},{"example":"M01","kind":"select_option","label":"Planner group","name":"S_INGPR","ref_field":"AFIH-INGPR","required":false},{"example":"PM02","kind":"select_option","label":"Order type","name":"S_AUART","ref_field":"AUFK-AUART","required":false},{"example":"17.11.2026 – 31.12.2026","kind":"select_option","label":"Basic start date","name":"S_GSTRP","ref_field":"AFKO-GSTRP","required":false},{"example":"SP-7801","kind":"select_option","label":"Material","name":"S_MATNR","ref_field":"RESB-MATNR","required":false},{"example":"17.11.2026","kind":"parameter","label":"Key date (default: today)","name":"P_KEYDT","ref_field":"SY-DATUM","required":true},{"example":"X","kind":"checkbox","label":"Orders with incomplete material only","name":"P_NOTRDY","ref_field":"","required":false}],"part_of":[],"performance":"Read RESB with FOR ALL ENTRIES on the order numbers; read EBAN and EKET only for lines with a requisition. The report can run in the background before the weekly scheduling meeting.","quote_url":"https://nekuhub.com/en/request-a-quote/?report=pm-orders-waiting-for-material","related":["pm-overdue-maintenance-orders-backlog","pp-missing-parts-with-covering-po"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Lists maintenance orders; no columns for requisition, purchase order and delivery date per component.","tcode":"IW38"},{"note":"Lists purchase requisitions; it does not show which maintenance job waits for the requisition or the order's start date.","tcode":"ME5A"}],"summary":"A custom ALV report that shows, for every component of open maintenance orders, stock status, purchase requisition, purchase order, vendor and delivery date on the same line, and flags orders whose material is complete as ready. Planners see which job waits for which part without opening each order.","tables":[{"access":"read","join_on":"","role":"Order components, item category, open quantity and purchase requisition (driving table)","table":"RESB","variant":"both"},{"access":"read","join_on":"AFIH-AUFNR = RESB-AUFNR","role":"Planning plant, planner group and equipment","table":"AFIH","variant":"both"},{"access":"read","join_on":"AUFK-AUFNR = RESB-AUFNR","role":"Order type and short text","table":"AUFK","variant":"both"},{"access":"read","join_on":"AFKO-AUFNR = RESB-AUFNR","role":"Basic start date","table":"AFKO","variant":"both"},{"access":"read","join_on":"MARD-MATNR = RESB-MATNR AND MARD-WERKS = RESB-WERKS AND MARD-LGORT = RESB-LGORT","role":"Unrestricted stock of stock items","table":"MARD","variant":"both"},{"access":"read","join_on":"EBAN-BANFN = RESB-BANFN AND EBAN-BNFPO = RESB-BNFPO","role":"Purchase requisition, release status and assigned order","table":"EBAN","variant":"both"},{"access":"read","join_on":"EKET-EBELN = EBAN-EBELN AND EKET-EBELP = EBAN-EBELP","role":"Delivery date and received quantity","table":"EKET","variant":"both"},{"access":"read","join_on":"EKKO-EBELN = EBAN-EBELN","role":"Vendor of the purchase order","table":"EKKO","variant":"both"},{"access":"read","join_on":"LFA1-LIFNR = EKKO-LIFNR","role":"Vendor name","table":"LFA1","variant":"both"},{"access":"read","join_on":"MAKT-MATNR = RESB-MATNR AND MAKT-SPRAS = SY-LANGU","role":"Material description of stock items","table":"MAKT","variant":"both"}],"title":"Maintenance Orders Waiting for Material with Purchase Tracking Report","url":"https://nekuhub.com/en/reports/maintenance-orders-waiting-for-material-report/","vendor_id":"nekudos"}