{"audience":"Quality control engineers, laboratory supervisors, warehouse and production planners.","authorization_objects":[{"note":"Inspection lot authorization by inspection type","object":"Q_INSPTYPE"},{"note":"QM transaction code authorization","object":"Q_TCODE"}],"components":[],"countries":[],"effort_days_max":4,"effort_days_min":3,"effort_size":"S","faq":[{"a":"Yes. Instead of a single target on the selection screen, a small maintenance table with a target per inspection type can be added; this adds about a day to the effort range.","q":"Can the target time differ by inspection type?"},{"a":"Yes. The batch field stays empty; quantity and value are calculated from the quantity still to be posted on the inspection lot.","q":"Are materials without batch management listed too?"},{"a":"Yes. QALS, QAMV and QAMR are also used in S/4HANA; for clean core, the I_InspectionLot and I_InspectionCharacteristic views can be preferred.","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 lot number opens QA03, and QA11 for the usage decision."},{"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":"Lots above the target time can be sent to the quality supervisor every morning."}],"functions":[],"gap":"QA32 lists inspection lots and their status; QA33 shows lots with a usage decision. Neither compares the days since lot creation with a target time, shows the number of open characteristics or calculates the value of the quantity waiting in quality inspection stock. The cost of waiting lots and which lot comes first remain hidden.","id":"qm-inspection-lots-pending-ud-aging","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. QALS is read with the plant, inspection type, lot origin, material, vendor and creation date from the selection screen; lots with a usage decision (QALS-STAT35 set) are skipped.\n2. The characteristics in QAMV are counted for each lot; those without a result in QAMR or with an empty valuation (MBEWERTG) count as open.\n3. Days waiting = key date − QALS-ENSTEHDAT. Lines above the target days are shown in red, lines past the planned inspection end (PAENDTERM) in yellow.\n4. Value in quality stock = quantity still to be posted (LMENGEZUB) × MBEW price (VERPR for price control V, STPRS for S) ÷ price unit (PEINH).\n5. The vendor name is added from LFA1; ALV shows subtotals per inspection type and material.","module":"QM","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Inspection lot","source_field":"PRUEFLOS","source_table":"QALS"},{"calculated":false,"formula":"","label":"Inspection type","source_field":"ART","source_table":"QALS"},{"calculated":false,"formula":"","label":"Material","source_field":"MATNR","source_table":"QALS"},{"calculated":false,"formula":"","label":"Material description","source_field":"KTEXTMAT","source_table":"QALS"},{"calculated":false,"formula":"","label":"Batch","source_field":"CHARG","source_table":"QALS"},{"calculated":false,"formula":"","label":"Vendor","source_field":"LIFNR","source_table":"QALS"},{"calculated":false,"formula":"","label":"Vendor name","source_field":"NAME1","source_table":"LFA1"},{"calculated":false,"formula":"","label":"Lot created","source_field":"ENSTEHDAT","source_table":"QALS"},{"calculated":false,"formula":"","label":"Planned end","source_field":"PAENDTERM","source_table":"QALS"},{"calculated":true,"formula":"Key date − QALS-ENSTEHDAT","label":"Days waiting","source_field":null,"source_table":null},{"calculated":true,"formula":"Number of QAMV characteristics without a QAMR result or valuation","label":"Open characteristics","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Qty to be posted","source_field":"LMENGEZUB","source_table":"QALS"},{"calculated":false,"formula":"","label":"Unit","source_field":"MENGENEINH","source_table":"QALS"},{"calculated":true,"formula":"QALS-LMENGEZUB × MBEW price ÷ MBEW-PEINH","label":"Quality stock value","source_field":null,"source_table":null}],"parameters":[{"example":"1000","kind":"select_option","label":"Plant","name":"S_WERK","ref_field":"QALS-WERK","required":true},{"example":"01","kind":"select_option","label":"Inspection type","name":"S_ART","ref_field":"QALS-ART","required":false},{"example":"01","kind":"select_option","label":"Lot origin","name":"S_HERK","ref_field":"QALS-HERKUNFT","required":false},{"example":"RM-3105","kind":"select_option","label":"Material","name":"S_MATNR","ref_field":"QALS-MATNR","required":false},{"example":"100512","kind":"select_option","label":"Vendor","name":"S_LIFNR","ref_field":"QALS-LIFNR","required":false},{"example":"01.09.2026 – 17.11.2026","kind":"select_option","label":"Lot creation date","name":"S_ENST","ref_field":"QALS-ENSTEHDAT","required":false},{"example":"3","kind":"parameter","label":"Target time to usage decision (days)","name":"P_TARGET","ref_field":"","required":true},{"example":"17.11.2026","kind":"parameter","label":"Key date (default: today)","name":"P_KEYDT","ref_field":"SY-DATUM","required":true}],"part_of":["qm-quality-control-pack"],"performance":"Narrow QALS by plant and creation date. Read QAMV and QAMR once with the list of open lots and count in memory.","process":"INV","quote_url":"https://nekuhub.com/en/request-a-quote/?report=qm-inspection-lots-pending-ud-aging","related":["mm-batch-shelf-life","qm-mass-usage-decision"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Lists inspection lots and their status; does not compare waiting time with a target or show stock value.","tcode":"QA32"},{"note":"Lists lots with a usage decision; does not age lots that are still waiting.","tcode":"QA33"}],"summary":"A custom ALV report that lists inspection lots without a usage decision, with how many days they have been waiting, whether they exceed the target time, how many characteristics are still open and the value waiting in quality inspection stock. Quality teams see in one list which lot is holding up production or shipping.","tables":[{"access":"read","join_on":"","role":"Inspection lot: type, origin, material, batch, vendor, dates and quantities (driving table)","table":"QALS","variant":"both"},{"access":"read","join_on":"QAMV-PRUEFLOS = QALS-PRUEFLOS","role":"Inspection characteristics of the lot","table":"QAMV","variant":"both"},{"access":"read","join_on":"QAMR-PRUEFLOS = QAMV-PRUEFLOS AND QAMR-VORGLFNR = QAMV-VORGLFNR AND QAMR-MERKNR = QAMV-MERKNR","role":"Characteristic results and valuation","table":"QAMR","variant":"both"},{"access":"read","join_on":"MBEW-MATNR = QALS-MATNR AND MBEW-BWKEY = değerleme alanı (üretim yeri)","role":"Price for the value of quality stock","table":"MBEW","variant":"both"},{"access":"read","join_on":"LFA1-LIFNR = QALS-LIFNR","role":"Vendor name","table":"LFA1","variant":"both"},{"access":"read","join_on":"InspectionLot = QALS-PRUEFLOS","role":"In S/4HANA it can replace QALS with a clean core approach","table":"I_InspectionLot","variant":"s4"}],"title":"Inspection Lots Awaiting Usage Decision Aging Report","url":"https://nekuhub.com/en/reports/inspection-lots-awaiting-usage-decision-report/","vendor_id":"nekudos"}