{"audience":"Warehouse key users, inventory control teams and LE-WM support consultants.","authorization_objects":[{"note":"Display authorization by warehouse number and storage type","object":"L_LGNUM"}],"components":[],"countries":[],"effort_days_max":5,"effort_days_min":3,"effort_size":"M","faq":[{"a":"In a standard setup, storage types starting with 9 (902 goods receipt, 916 shipping, 921 posting change, 999 differences) are interim. You can enter your own interim types on the selection screen.","q":"Which storage types count as interim storage?"},{"a":"They usually occur when goods issue is posted before the transfer order is confirmed, or after a transfer order was cancelled. The report tries to find the open transfer order or requirement that should clear the quant; if none is found, the row is flagged for manual correction.","q":"Why do negative quants occur?"},{"a":"No, it only reads. Corrections are made in the standard process with LT01 or LT04; if needed, a separate clean-up program can be built on the same logic.","q":"Does the report post corrections?"}],"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 a transfer requirement opens LB03; double-clicking a transfer order opens LT21."},{"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":"Quants above the threshold can be sent to the warehouse owner before month-end."}],"functions":[],"gap":"LX02 and LS24 show quants in interim storage types, but they do not calculate how long a quant has been waiting and do not show the material document, the open transfer requirement or the unconfirmed transfer order that created it on the same line. The cause of negative quants is usually searched one by one across LB10, LT22 and MB51.","id":"wm-interim-storage-stuck-negative-stock","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. LQUA is read for the selected interim storage types (for example 902, 916, 921, 999). In interim storage the bin number usually carries the reference document (LGPLA).\n2. Days waiting = key date − goods receipt date (WDATU). Quants newer than the threshold are dropped unless \"Negative only\" is selected.\n3. Negative quants (GESME \u003c 0) are flagged separately.\n4. For the material and plant, open transfer requirements with remaining quantity (MENGE − TAMEN) greater than zero are found in LTBP; the material document (MBLNR) and movement type are added from LTBK.\n5. LTAP is searched for unconfirmed items that carry this interim bin as source or destination. Explanation: open TR exists, open TO exists or \"no source found\" (needs manual correction).","module":"WM","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Storage type","source_field":"LGTYP","source_table":"LQUA"},{"calculated":false,"formula":"","label":"Interim bin","source_field":"LGPLA","source_table":"LQUA"},{"calculated":false,"formula":"","label":"Material","source_field":"MATNR","source_table":"LQUA"},{"calculated":false,"formula":"","label":"Description","source_field":"MAKTX","source_table":"MAKT"},{"calculated":false,"formula":"","label":"Batch","source_field":"CHARG","source_table":"LQUA"},{"calculated":false,"formula":"","label":"Stock category","source_field":"BESTQ","source_table":"LQUA"},{"calculated":false,"formula":"","label":"Total qty","source_field":"GESME","source_table":"LQUA"},{"calculated":false,"formula":"","label":"Unit","source_field":"MEINS","source_table":"LQUA"},{"calculated":false,"formula":"","label":"GR date","source_field":"WDATU","source_table":"LQUA"},{"calculated":true,"formula":"Key date − LQUA-WDATU","label":"Days waiting","source_field":null,"source_table":null},{"calculated":true,"formula":"X if LQUA-GESME \u003c 0","label":"Negative","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Transfer req.","source_field":"TBNUM","source_table":"LTBP"},{"calculated":true,"formula":"LTBP-MENGE − LTBP-TAMEN","label":"TR open qty","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Material doc.","source_field":"MBLNR","source_table":"LTBK"},{"calculated":false,"formula":"","label":"Open TO","source_field":"TANUM","source_table":"LTAP"},{"calculated":true,"formula":"Open TR, open TO or no source found","label":"Explanation","source_field":null,"source_table":null}],"parameters":[{"example":"100","kind":"select_option","label":"Warehouse number","name":"S_LGNUM","ref_field":"LQUA-LGNUM","required":true},{"example":"902, 916, 921, 999","kind":"select_option","label":"Interim storage types","name":"S_LGTYP","ref_field":"LQUA-LGTYP","required":true},{"example":"1000","kind":"select_option","label":"Plant","name":"S_WERKS","ref_field":"LQUA-WERKS","required":false},{"example":"RM-1002","kind":"select_option","label":"Material","name":"S_MATNR","ref_field":"LQUA-MATNR","required":false},{"example":"17.11.2026","kind":"parameter","label":"Key date","name":"P_KEYDT","ref_field":"SY-DATUM","required":true},{"example":"1","kind":"parameter","label":"Minimum days waiting","name":"P_DAYS","ref_field":"","required":false},{"example":"","kind":"checkbox","label":"Negative quants only","name":"P_NEG","ref_field":"","required":false}],"part_of":["wm-warehouse-operations-pack"],"performance":"Read LQUA by warehouse number and interim storage types; the number of quants in interim storage is usually small. Run the LTBP and LTAP lookups once for the materials found, using FOR ALL ENTRIES.","process":"INV","quote_url":"https://nekuhub.com/en/request-a-quote/?report=wm-interim-storage-stuck-negative-stock","related":["wm-gr-interim-putaway-job","wm-im-stock-comparison"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Shows quants per material; gives neither the waiting time nor the open document that should clear the quant.","tcode":"LS24"},{"note":"Gives a stock list by storage type; does not trace the source of negative quants.","tcode":"LX02"}],"summary":"A custom ALV report that lists quants in goods receipt, shipping, posting change and difference interim storage types that have been waiting longer than a set time or have gone negative, together with the open transfer requirement and transfer order that should clear them. Warehouse teams clean up interim storage before month-end.","tables":[{"access":"read","join_on":"","role":"Quants in interim storage types: quantity, goods receipt date, stock category (driving table)","table":"LQUA","variant":"both"},{"access":"read","join_on":"LTBP-LGNUM = LQUA-LGNUM AND LTBP-MATNR = LQUA-MATNR AND LTBP-WERKS = LQUA-WERKS","role":"Open transfer requirement items: requested quantity and quantity already in transfer orders","table":"LTBP","variant":"both"},{"access":"read","join_on":"LTBK-LGNUM = LTBP-LGNUM AND LTBK-TBNUM = LTBP-TBNUM","role":"Transfer requirement header: material document, movement type, status","table":"LTBK","variant":"both"},{"access":"read","join_on":"LTAP-LGNUM = LQUA-LGNUM AND LTAP-MATNR = LQUA-MATNR AND (LTAP-VLPLA = LQUA-LGPLA OR LTAP-NLPLA = LQUA-LGPLA)","role":"Unconfirmed items that carry the interim bin as source or destination","table":"LTAP","variant":"both"},{"access":"read","join_on":"MAKT-MATNR = LQUA-MATNR AND MAKT-SPRAS = SY-LANGU","role":"Material description","table":"MAKT","variant":"both"}],"title":"Interim Storage Stuck and Negative Stock Report","url":"https://nekuhub.com/en/reports/interim-storage-stuck-and-negative-stock-report/","vendor_id":"nekudos"}