{"audience":"Quality control supervisors, warehouse managers, purchasing and cost control teams.","authorization_objects":[{"note":"Inspection lot authorization by inspection type","object":"Q_INSPTYPE"},{"note":"Material document and stock display authorization by plant","object":"M_MSEG_WMB"}],"components":[],"countries":[],"effort_days_max":5,"effort_days_min":3,"effort_size":"M","faq":[{"a":"The same batch may hold blocked stock for other reasons, or part of the rejected stock may have moved later. The report therefore uses the smaller of today's blocked stock and the decision quantity minus later movements as the remaining quantity.","q":"Why can the blocked stock differ from the quantity on the inspection lot?"},{"a":"The report only lists. For the selected lines, a return to vendor can be posted in MIGO, or a separate mass return program can be built.","q":"Can the return to vendor be started from the report?"},{"a":"Yes. In S/4HANA stock and movement data is read from MATDOC, and MCHB and MARD can still be read through compatibility views; the QM tables are the same.","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; double-clicking the material opens MMBE."},{"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":"Rejected stock older than the set number of days can be sent weekly to the quality and purchasing teams."}],"functions":[],"gap":"MMBE and MB52 show blocked stock quantities but not why the stock is blocked, which usage decision it came from or the vendor. QA33 lists lots with a rejection decision but does not show whether the quantity is still in blocked stock, was returned to the vendor or was scrapped. Weeks later, blocked stock with no owner piles up.","id":"qm-rejected-ud-blocked-stock","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. Lots with a rejecting usage decision (QAVE-VBEWERTUNG = R) and a decision date in the selected range are read from QAVE and QALS; the quantity posted to blocked stock is QALS-LMENGE04.\n2. Today's blocked stock is read from MCHB-CSPEM for batch-managed materials (material, plant, storage location QALS-LAGORTCHRG, batch) and from MARD-SPEME for the others.\n3. Movements out of blocked stock for the same material and batch after the decision date are summed from MSEG (movement types for return to vendor, scrapping from blocked stock and transfer to unrestricted stock; MSEG-BUDAT_MKPF ≥ decision date).\n4. Remaining blocked quantity = the smaller of (today's blocked stock, LMENGE04 − later movements). Lines with zero are skipped. Value = remaining quantity × MBEW price ÷ PEINH.\n5. Days since the decision are calculated; the quality notification linked to the lot (QMEL-PRUEFLOS) and the vendor name (LFA1) are added.","module":"QM","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Inspection lot","source_field":"PRUEFLOS","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":"Decision code","source_field":"VCODE","source_table":"QAVE"},{"calculated":false,"formula":"","label":"Decision date","source_field":"VDATUM","source_table":"QAVE"},{"calculated":false,"formula":"","label":"Posted to blocked","source_field":"LMENGE04","source_table":"QALS"},{"calculated":false,"formula":"","label":"Still blocked","source_field":"CSPEM","source_table":"MCHB"},{"calculated":false,"formula":"","label":"Unit","source_field":"MENGENEINH","source_table":"QALS"},{"calculated":true,"formula":"Remaining blocked qty × MBEW price ÷ MBEW-PEINH","label":"Blocked stock value","source_field":null,"source_table":null},{"calculated":true,"formula":"Key date − QAVE-VDATUM","label":"Days since decision","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Quality notification","source_field":"QMNUM","source_table":"QMEL"}],"parameters":[{"example":"1000","kind":"select_option","label":"Plant","name":"S_WERK","ref_field":"QALS-WERK","required":true},{"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.01.2026 – 17.11.2026","kind":"select_option","label":"Usage decision date","name":"S_VDAT","ref_field":"QAVE-VDATUM","required":true},{"example":"R1","kind":"select_option","label":"Decision code","name":"S_VCODE","ref_field":"QAVE-VCODE","required":false},{"example":"7","kind":"parameter","label":"Minimum days since decision","name":"P_MINAGE","ref_field":"","required":false},{"example":"17.11.2026","kind":"parameter","label":"Key date (default: today)","name":"P_KEYDT","ref_field":"SY-DATUM","required":true}],"part_of":["inv-inventory-control-pack","qm-quality-control-pack"],"performance":"Read MSEG only with the material–batch list of rejected lots and posting dates after the decision; on large systems, plant and date restrictions on MSEG are a must. In S/4HANA, MATDOC or the related CDS view replaces MSEG.","process":"INV","quote_url":"https://nekuhub.com/en/request-a-quote/?report=qm-rejected-ud-blocked-stock","related":["mm-mb52-warehouse-stock","qm-vendor-quality-scorecard"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Shows the blocked stock quantity; does not show which rejection it came from or the vendor.","tcode":"MMBE"},{"note":"Lists lots with a rejection decision; does not show whether the quantity is still in blocked stock.","tcode":"QA33"}],"summary":"A custom ALV report that lists the quantities rejected at the usage decision and posted to blocked stock that are still sitting in blocked stock, with the days since the decision, the vendor, the related quality notification and the stock value. Quality and warehouse teams see rejected stock that has not been returned to the vendor or scrapped, with someone to own it.","tables":[{"access":"read","join_on":"","role":"Usage decision with rejection valuation, code and date (driving table)","table":"QAVE","variant":"both"},{"access":"read","join_on":"QALS-PRUEFLOS = QAVE-PRUEFLOS","role":"Material, batch, storage location, vendor and quantity posted to blocked stock","table":"QALS","variant":"both"},{"access":"read","join_on":"MCHB-MATNR = QALS-MATNR AND MCHB-WERKS = QALS-WERK AND MCHB-LGORT = QALS-LAGORTCHRG AND MCHB-CHARG = QALS-CHARG","role":"Today's blocked stock per batch","table":"MCHB","variant":"both"},{"access":"read","join_on":"MARD-MATNR = QALS-MATNR AND MARD-WERKS = QALS-WERK AND MARD-LGORT = QALS-LAGORTCHRG","role":"Blocked stock per storage location for materials without batches","table":"MARD","variant":"both"},{"access":"read","join_on":"MSEG-MATNR = QALS-MATNR AND MSEG-WERKS = QALS-WERK AND MSEG-CHARG = QALS-CHARG","role":"Movements out of blocked stock after the decision","table":"MSEG","variant":"both"},{"access":"read","join_on":"MBEW-MATNR = QALS-MATNR AND MBEW-BWKEY = değerleme alanı (üretim yeri)","role":"Price for the value of the remaining blocked stock","table":"MBEW","variant":"both"},{"access":"read","join_on":"QMEL-PRUEFLOS = QALS-PRUEFLOS","role":"Quality notification linked to the lot","table":"QMEL","variant":"both"},{"access":"read","join_on":"LFA1-LIFNR = QALS-LIFNR","role":"Vendor name","table":"LFA1","variant":"both"}],"title":"Blocked Stock Left from Rejected Usage Decisions Report","url":"https://nekuhub.com/en/reports/blocked-stock-from-rejected-usage-decisions-report/","vendor_id":"nekudos"}