{"audience":"Logistics and shipping teams, companies working with a third-party logistics (3PL) provider and SD consultants.","authorization_objects":[{"note":"Delivery authorization by shipping point","object":"V_LIKP_VST"},{"note":"Goods movement authorization by movement type","object":"M_MSEG_BWA"}],"components":[],"countries":[],"effort_days_max":6,"effort_days_min":4,"effort_size":"M","faq":[{"a":"The delivery quantity is reduced to the picked quantity and goods issue is posted with it. The remaining quantity stays open on the sales order and can be delivered again in the next delivery creation run.","q":"What happens if the external warehouse picks less?"},{"a":"For deliveries linked to warehouse management, picking is done by confirming the transfer order or warehouse task; this program does not skip that step. It is designed for deliveries whose stock is kept only at inventory management level or managed in an external warehouse.","q":"Is it suitable for deliveries managed by WM or EWM?"},{"a":"Yes. The functions used exist on S/4HANA as well; only the goods issue status is read from LIKP instead of VBUK, and the material document is written to MATDOC.","q":"Does it work on S/4HANA?"}],"features":[{"code":"test_run","label":"Test mode (check without posting)","note":""},{"code":"log","label":"Line-by-line result and error log","note":""},{"code":"error_file","label":"Download failed lines as a separate file","note":"Failed rows can be corrected and uploaded again with the same template."},{"code":"background","label":"Runs as a background job","note":"The folder where the external warehouse drops its file can be processed at fixed intervals during the day."},{"code":"excel","label":"Export to Excel","note":""}],"functions":[{"name":"WS_DELIVERY_UPDATE","role":"Writes the picked quantity and batch to the delivery and posts goods issue"},{"name":"BAPI_OUTB_DELIVERY_CONFIRM_DEC","role":"Alternative for the delivery confirmation in a decentralized warehouse scenario"},{"name":"BAPI_TRANSACTION_COMMIT","role":"Saves successful deliveries permanently"}],"gap":"VL06G posts goods issue collectively but expects the deliveries to be picked in the system already and the user to select them from a list; it does not read the file from the external warehouse and does not write the picked quantity and batch to the delivery. VL02N processes one delivery at a time. An external warehouse that sends hundreds of delivery confirmations a day needs a program that reads the file, checks it and posts goods issue.","id":"sd-goods-issue-from-warehouse-file","industries":[],"input_columns":[{"derived":false,"label":"Delivery","required":true,"rule":"","target_field":"VBELN","target_table":"LIKP"},{"derived":false,"label":"Item","required":true,"rule":"","target_field":"POSNR","target_table":"LIPS"},{"derived":false,"label":"Material","required":true,"rule":"","target_field":"MATNR","target_table":"LIPS"},{"derived":false,"label":"Batch","required":false,"rule":"","target_field":"CHARG","target_table":"LIPS"},{"derived":false,"label":"Picked quantity","required":true,"rule":"","target_field":"LFIMG","target_table":"LIPS"},{"derived":false,"label":"Unit","required":false,"rule":"","target_field":"VRKME","target_table":"LIPS"},{"derived":false,"label":"Storage location","required":false,"rule":"","target_field":"LGORT","target_table":"LIPS"},{"derived":false,"label":"Actual goods issue date","required":false,"rule":"","target_field":"WADAT_IST","target_table":"LIKP"}],"kind":"program","language":"en","lastmod":"2026-11-17","logic":"1. The file (CSV or XLSX) is read from the user's PC or, in a background job, from the inbound folder on the application server.\n2. Every row is checked: the delivery (LIKP) must exist and must not be goods-issued yet (VBUK-WBSTK in ECC, LIKP-WBSTK in S/4HANA), the item and material must match the delivery item (LIPS), the picked quantity must not exceed the delivery quantity, and a batch must be given for batch-managed materials.\n3. Rows are grouped per delivery; the picked quantity and batch are written to the delivery with WS_DELIVERY_UPDATE (or BAPI_OUTB_DELIVERY_CONFIRM_DEC), and the delivery quantity is adjusted to the picked quantity.\n4. In the same call goods issue is posted with the actual goods issue date from the file (or the date in the parameter when empty). In test mode the update is not called; only the checks run.\n5. The material document created is read from VBFA (VBTYP_N = R); results and messages are listed per row, failed rows are written to a separate file and the processed file is moved to an archive folder.","module":"SD","object_type":"upload","output_columns":[{"calculated":true,"formula":"Row number in the file","label":"Row","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Delivery","source_field":"VBELN","source_table":"LIKP"},{"calculated":false,"formula":"","label":"Item","source_field":"POSNR","source_table":"LIPS"},{"calculated":false,"formula":"","label":"Material","source_field":"MATNR","source_table":"LIPS"},{"calculated":false,"formula":"","label":"Posted quantity","source_field":"LFIMG","source_table":"LIPS"},{"calculated":false,"formula":"","label":"Material document","source_field":"MBLNR","source_table":"MKPF"},{"calculated":true,"formula":"From the checks and the update: goods issued, test OK or error","label":"Status","source_field":null,"source_table":null},{"calculated":true,"formula":"First error message or the success message","label":"Message","source_field":null,"source_table":null}],"parameters":[{"example":"/interface/3pl/in/onay_20261117.csv","kind":"parameter","label":"Confirmation file (CSV or XLSX)","name":"P_FILE","ref_field":"","required":true},{"example":"X","kind":"checkbox","label":"Read the file from the application server","name":"P_SERVER","ref_field":"","required":false},{"example":"1000","kind":"select_option","label":"Shipping point (allowed values)","name":"S_VSTEL","ref_field":"LIKP-VSTEL","required":false},{"example":"17.11.2026","kind":"parameter","label":"Goods issue date when the file has none","name":"P_GIDATE","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Test mode (check without posting)","name":"P_TEST","ref_field":"","required":false}],"part_of":[],"performance":"Run daily files as a background job. Make one update call and commit per delivery; the goods issue status is re-read right before each call in case the same delivery arrives in more than one file.","process":"O2C","quote_url":"https://nekuhub.com/en/request-a-quote/?report=sd-goods-issue-from-warehouse-file","related":["sd-picked-not-goods-issued","sd-scheduled-billing-with-checks"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Posts goods issue collectively; does not read a file or write the picked quantity and batch to the delivery.","tcode":"VL06G"},{"note":"Changes and posts goods issue for one delivery at a time.","tcode":"VL02N"}],"summary":"A custom program that reads the picking confirmation file from an external warehouse or warehouse system, writes the picked quantity and batch to the deliveries and then posts goods issue. It checks everything in test mode first, then lists the material document and error message for every delivery.","tables":[{"access":"write","join_on":"","role":"Delivery header; the actual goods issue date is written","table":"LIKP","variant":"both"},{"access":"write","join_on":"","role":"Delivery item; the picked quantity and batch are written","table":"LIPS","variant":"both"},{"access":"write","join_on":"","role":"Material document header of the goods issue","table":"MKPF","variant":"both"},{"access":"write","join_on":"","role":"Material document items of the goods issue","table":"MSEG","variant":"both"},{"access":"read","join_on":"VBFA-VBELV = LIKP-VBELN (VBTYP_N = R)","role":"Document flow from the delivery to the material document","table":"VBFA","variant":"both"},{"access":"read","join_on":"VBUK-VBELN = LIKP-VBELN","role":"Goods issue status check in ECC","table":"VBUK","variant":"ecc"}],"title":"Mass Post Goods Issue from a Warehouse Confirmation File Program","url":"https://nekuhub.com/en/programs/mass-post-goods-issue-from-warehouse-confirmation-file/","vendor_id":"nekudos"}