{"audience":"Warehouse managers, quality assurance teams in food, pharma and chemical warehouses, warehouse process owners and internal audit.","authorization_objects":[{"note":"Display authorization by warehouse number and storage type","object":"L_LGNUM"},{"note":"Authorization by WM movement type","object":"L_BWLVS"}],"components":[],"countries":[],"effort_days_max":8,"effort_days_min":5,"effort_size":"M","faq":[{"a":"If the skipped quant is still in the storage type today and its goods receipt date is older than the picked quant's, it was also there at the time of the pick. Older quants removed after the pick are not visible this way, so the report should run regularly over short date ranges.","q":"How does the report know the stock situation in the past?"},{"a":"No. Quants in bins with a removal block and quants in a different stock category (quality, blocked) are not compared; only stock that could have been picked creates a violation.","q":"Do blocked or quality stock count as violations?"},{"a":"The same check can be built in EWM on warehouse tasks (/SCWM/ORDIM_C) and quants (/SCWM/AQUA). The logic and selection screen stay, the tables read change; this is planned as a separate effort item.","q":"What happens after moving to S/4HANA or EWM?"}],"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 transfer order displays it in LT21; double-clicking the skipped bin opens LS03N."},{"code":"excel","label":"Export to Excel","note":""},{"code":"background","label":"Runs as a background job","note":"Can run every morning for the previous day's picks."},{"code":"email","label":"Send the result by email","note":"The violation list can be emailed to the shift supervisor."}],"functions":[],"gap":"LX27 lists quants by shelf-life expiration date and LT23 shows transfer orders by number; neither compares a completed pick with older stock that was waiting in the storage type at that time. When manual transfer orders or manually changed source bins bypass the removal strategy, it is noticed only when expired stock or count differences turn up.","id":"wm-fifo-picking-violations","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. Transfer order headers are read from LTAK for the warehouse number, WM movement types and date range on the selection screen.\n2. Confirmed items (PQUIT = X) are taken from LTAP: source storage type and bin (VLTYP, VLPLA), source quant (VLQNR), material, batch, stock category, goods receipt date (WDATU) and shelf-life expiration date (VFDAT) of the picked quant, confirming user and confirmation date.\n3. The removal strategy of the source storage type is read from T331-STAUS; with \"Only FIFO/FEFO storage types\" selected, other types are skipped.\n4. For each item, LQUA is searched for quants with the same warehouse number, storage type, material, plant, stock category and special stock, available quantity (VERME) above zero and no removal block (LQUA-SKZUA and LAGP-SKZUA blank).\n5. In FIFO mode the oldest quant whose goods receipt date is older than the picked quant's date by more than the tolerance is matched as a violation; in FEFO mode a quant with an earlier expiration date is matched.\n6. The material description is added from MAKT; the number of days skipped and the violation type are calculated.","module":"WM","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Storage type","source_field":"VLTYP","source_table":"LTAP"},{"calculated":false,"formula":"","label":"Removal strategy","source_field":"STAUS","source_table":"T331"},{"calculated":false,"formula":"","label":"Transfer order","source_field":"TANUM","source_table":"LTAP"},{"calculated":false,"formula":"","label":"Item","source_field":"TAPOS","source_table":"LTAP"},{"calculated":false,"formula":"","label":"Material","source_field":"MATNR","source_table":"LTAP"},{"calculated":false,"formula":"","label":"Description","source_field":"MAKTX","source_table":"MAKT"},{"calculated":false,"formula":"","label":"Picked bin","source_field":"VLPLA","source_table":"LTAP"},{"calculated":false,"formula":"","label":"Picked quant GR date","source_field":"WDATU","source_table":"LTAP"},{"calculated":false,"formula":"","label":"Picked qty","source_field":"VISTA","source_table":"LTAP"},{"calculated":false,"formula":"","label":"Skipped bin","source_field":"LGPLA","source_table":"LQUA"},{"calculated":false,"formula":"","label":"Skipped quant GR date","source_field":"WDATU","source_table":"LQUA"},{"calculated":false,"formula":"","label":"Skipped quant qty","source_field":"VERME","source_table":"LQUA"},{"calculated":true,"formula":"LTAP-WDATU − LQUA-WDATU (in FEFO mode LTAP-VFDAT − LQUA-VFDAT)","label":"Days older","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Confirmed by","source_field":"QNAME","source_table":"LTAP"},{"calculated":false,"formula":"","label":"Confirmed on","source_field":"QDATU","source_table":"LTAP"}],"parameters":[{"example":"100","kind":"select_option","label":"Warehouse number","name":"S_LGNUM","ref_field":"LTAK-LGNUM","required":true},{"example":"001","kind":"select_option","label":"Source storage type","name":"S_LGTYP","ref_field":"LTAP-VLTYP","required":false},{"example":"601","kind":"select_option","label":"WM movement type","name":"S_BWLVS","ref_field":"LTAK-BWLVS","required":false},{"example":"01.11.2026 – 16.11.2026","kind":"select_option","label":"Confirmation date","name":"S_QDATU","ref_field":"LTAP-QDATU","required":true},{"example":"FG-5001","kind":"select_option","label":"Material","name":"S_MATNR","ref_field":"LTAP-MATNR","required":false},{"example":"2","kind":"parameter","label":"Tolerance (days)","name":"P_TOLD","ref_field":"","required":false},{"example":"X","kind":"radio","label":"By goods receipt date (FIFO)","name":"R_FIFO","ref_field":"","required":false},{"example":"","kind":"radio","label":"By shelf-life expiration date (FEFO)","name":"R_FEFO","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Only FIFO/FEFO storage types","name":"P_STRAT","ref_field":"","required":false}],"part_of":["wm-storage-discipline-slotting-pack"],"performance":"Do not search LQUA item by item: read all quants of the materials involved for the selected storage types in one query and keep them in a sorted internal table keyed by material + storage type. Keep the date range on LTAK mandatory; in busy warehouses run the report as a daily background job.","process":"INV","quote_url":"https://nekuhub.com/en/request-a-quote/?report=wm-fifo-picking-violations","related":["wm-transfer-order-confirmation-differences","wm-warehouse-picker-productivity"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Lists quants by expiration date; does not compare completed picks with older stock.","tcode":"LX27"},{"note":"Shows transfer orders and source bins; does not show the older quant in the same storage type.","tcode":"LT23"}],"summary":"A custom ALV report that lists confirmed picking transfer order items taken from a newer quant while an available quant with an older goods receipt date (or an earlier shelf-life expiration date) was still in the same storage type. The skipped quant's bin, date and how many days older it is are shown together with the user who confirmed the pick.","tables":[{"access":"read","join_on":"","role":"Confirmed picking items, source quant, goods receipt and expiration date (driving table)","table":"LTAP","variant":"both"},{"access":"read","join_on":"LTAK-LGNUM = LTAP-LGNUM AND LTAK-TANUM = LTAP-TANUM","role":"Transfer order header: WM movement type and creation date","table":"LTAK","variant":"both"},{"access":"read","join_on":"LQUA-LGNUM = LTAP-LGNUM AND LQUA-LGTYP = LTAP-VLTYP AND LQUA-MATNR = LTAP-MATNR AND LQUA-WERKS = LTAP-WERKS AND LQUA-BESTQ = LTAP-BESTQ","role":"Older quants still sitting in the same storage type","table":"LQUA","variant":"both"},{"access":"read","join_on":"LAGP-LGNUM = LQUA-LGNUM AND LAGP-LGTYP = LQUA-LGTYP AND LAGP-LGPLA = LQUA-LGPLA","role":"Removal block on the bin of the older quant","table":"LAGP","variant":"both"},{"access":"read","join_on":"T331-LGNUM = LTAP-LGNUM AND T331-LGTYP = LTAP-VLTYP","role":"Removal strategy of the storage type","table":"T331","variant":"both"},{"access":"read","join_on":"MAKT-MATNR = LTAP-MATNR AND MAKT-SPRAS = SY-LANGU","role":"Material description in the logon language","table":"MAKT","variant":"both"}],"title":"FIFO and FEFO Picking Violations Report (Picks That Skipped Older Stock)","url":"https://nekuhub.com/en/reports/wm-fifo-picking-violation-report/","vendor_id":"nekudos"}