{"audience":"Warehouse shift supervisors, replenishment planners and LE-WM key users.","authorization_objects":[{"note":"Authorization to create transfer orders by warehouse number and storage type","object":"L_LGNUM"},{"note":"Authorization for the replenishment movement type","object":"L_BWLVS"}],"components":[],"countries":[],"effort_days_max":6,"effort_days_min":4,"effort_size":"M","faq":[{"a":"The WM movement type set up for replenishment in the warehouse (319 in many systems, or a customer-specific type) is set in the selection-screen variant. Source and destination storage types must match the settings of this movement type.","q":"Which movement type is used for replenishment?"},{"a":"No. If an open (unconfirmed) replenishment transfer order to the fixed bin exists, the quantity on its way is added to stock and a new one is created only if a shortfall remains.","q":"Can two replenishments be created for the same bin?"},{"a":"It runs for LE-WM and stock room management on S/4HANA. In EWM replenishment is more complete in the standard and this job is not needed.","q":"Does it run on S/4HANA?"}],"features":[{"code":"background","label":"Runs as a background job","note":""},{"code":"test_run","label":"Test mode (check without posting)","note":""},{"code":"log","label":"Line-by-line result and error log","note":""},{"code":"email","label":"Send the result by email","note":"'No stock' lines can be sent to the shift supervisor."}],"functions":[{"name":"L_TO_CREATE_SINGLE","role":"Creates a replenishment transfer order from reserve storage to the fixed bin"}],"gap":"LP21 creates transfer requirements for fixed bin replenishment, but it only compares today's stock with the minimum quantity; it ignores the not-yet-picked demand of open deliveries and does not turn the replenishment quantity into a transfer order using a rounding rule. The requirements must then be processed separately in LT04, and during heavy waves bins run empty in the middle of the day.","id":"wm-fixed-bin-replenishment-job","industries":[],"input_columns":[],"kind":"program","language":"en","lastmod":"2026-11-17","logic":"1. For the selected warehouse number and picking storage types, materials with a fixed bin and their minimum (LPMIN), maximum (LPMAX) and replenishment quantity (NSMNG) are read from MLGT.\n2. Stock in the fixed bin is summed from LQUA (GESME); picking items from the same bin not yet confirmed (LTAP, PQUIT blank) are deducted as open issues.\n3. With 'include delivery demand' selected, the quantity of delivery items (LIKP/LIPS) up to the selected loading date for this warehouse number and material that has no transfer order yet is also deducted.\n4. If the remaining stock is below the minimum, replenishment quantity = maximum − remaining stock, rounded to multiples of the replenishment quantity. If no available quant exists in the reserve storage types, the line is logged as 'no stock'.\n5. In test mode only the calculation is listed. In a real run L_TO_CREATE_SINGLE creates a transfer order from reserve storage to the fixed bin for each material; the source quant is chosen by the storage type's removal strategy (e.g. FIFO). The result is written to the job log.","module":"WM","object_type":"batch_job","output_columns":[{"calculated":false,"formula":"","label":"Material","source_field":"MATNR","source_table":"MLGT"},{"calculated":false,"formula":"","label":"Fixed bin","source_field":"LGPLA","source_table":"MLGT"},{"calculated":false,"formula":"","label":"Minimum qty","source_field":"LPMIN","source_table":"MLGT"},{"calculated":false,"formula":"","label":"Maximum qty","source_field":"LPMAX","source_table":"MLGT"},{"calculated":true,"formula":"Sum of LQUA-GESME in the fixed bin","label":"Bin stock","source_field":null,"source_table":null},{"calculated":true,"formula":"Unconfirmed picking items (LTAP-VSOLM) + delivery quantity without transfer order (LIPS-LFIMG)","label":"Open demand","source_field":null,"source_table":null},{"calculated":true,"formula":"If remaining stock \u003c LPMIN: LPMAX − remaining stock, rounded to multiples of MLGT-NSMNG","label":"Replenishment qty","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Source bin","source_field":"VLPLA","source_table":"LTAP"},{"calculated":false,"formula":"","label":"Transfer order","source_field":"TANUM","source_table":"LTAK"},{"calculated":true,"formula":"Created, no replenishment needed, no stock or error","label":"Status","source_field":null,"source_table":null},{"calculated":true,"formula":"Message returned by the function","label":"Message","source_field":null,"source_table":null}],"parameters":[{"example":"100","kind":"select_option","label":"Warehouse number","name":"S_LGNUM","ref_field":"MLGT-LGNUM","required":true},{"example":"010","kind":"select_option","label":"Picking (fixed bin) storage type","name":"S_LGTYP","ref_field":"MLGT-LGTYP","required":true},{"example":"FG-5003","kind":"select_option","label":"Material","name":"S_MATNR","ref_field":"MLGT-MATNR","required":false},{"example":"001","kind":"select_option","label":"Reserve (source) storage types","name":"S_SRCTYP","ref_field":"LQUA-LGTYP","required":true},{"example":"18.11.2026","kind":"parameter","label":"Loading date limit for delivery demand","name":"P_LDDAT","ref_field":"LIKP-LDDAT","required":false},{"example":"X","kind":"checkbox","label":"Include delivery demand","name":"P_DLVDEM","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Test mode (list without creating transfer orders)","name":"P_TEST","ref_field":"","required":false}],"part_of":[],"performance":"Schedule the job with a separate variant per warehouse number every 30–60 minutes; do not run it in parallel for the same warehouse. Restrict LIPS by loading date and warehouse number.","process":"INV","quote_url":"https://nekuhub.com/en/request-a-quote/?report=wm-fixed-bin-replenishment-job","related":["wm-abc-slotting-pick-frequency","wm-gr-interim-putaway-job","wm-unconfirmed-transfer-orders-aging"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Creates transfer requirements for fixed bin replenishment; ignores open delivery demand.","tcode":"LP21"},{"note":"Used for manual stock transfers; does not calculate the replenishment need.","tcode":"LT10"}],"summary":"A custom background job that evaluates stock in fixed picking bins together with the pending pick demand of open deliveries, and automatically creates replenishment transfer orders from reserve storage for bins that will fall below their minimum quantity. The bin is refilled before a picker reaches an empty slot.","tables":[{"access":"read","join_on":"","role":"Fixed bin, minimum/maximum bin quantity and replenishment quantity (driving table)","table":"MLGT","variant":"both"},{"access":"read","join_on":"LQUA-LGNUM = MLGT-LGNUM AND LQUA-MATNR = MLGT-MATNR","role":"Stock in the fixed bin and source quants in reserve storage","table":"LQUA","variant":"both"},{"access":"read","join_on":"LIPS-LGNUM = MLGT-LGNUM AND LIPS-MATNR = MLGT-MATNR","role":"Delivery demand without a transfer order yet","table":"LIPS","variant":"both"},{"access":"read","join_on":"LIKP-VBELN = LIPS-VBELN","role":"Loading and goods issue date of the delivery","table":"LIKP","variant":"both"},{"access":"write","join_on":"","role":"Header of the created replenishment transfer order","table":"LTAK","variant":"both"},{"access":"read_write","join_on":"LTAP-LGNUM = MLGT-LGNUM AND LTAP-VLTYP = MLGT-LGTYP AND LTAP-VLPLA = MLGT-LGPLA","role":"Open picking items from the fixed bin (read) and the created replenishment item (write)","table":"LTAP","variant":"both"}],"title":"Automatic Replenishment Transfer Order Job for Fixed Picking Bins","url":"https://nekuhub.com/en/programs/automatic-fixed-bin-replenishment-transfer-order-job/","vendor_id":"nekudos"}