SAP Note 424014 - BAPI: Goods receipt for the outbound delivery

Component : BAPIs for Goods Movements -

Solution : https://service.sap.com/sap/support/notes/424014 (SAP Service marketplace login required)

Summary :
When utilizing BAPI_GOODSMVT_CREATE for posting goods receipt against an outbound delivery linked to a stock transport order, specific field values must be correctly populated to ensure proper update of the purchase order and delivery. Fields such as GOODSMVT_ITEM-MOVE_TYPE, which is generally set to '101', and others including DELIV_NUMB, DELIV_ITEM, PLANT, STGE_LOC, ENTRY_QNT, ENTRY_UOM, PO_NUMBER, PO_ITEM, and MVT_IND ('B'), need careful input. Additionally, enhancements from Note 356665 are required to use DELIV_NUMB and DELIV_ITEM fields. For material document header updates in MKPF, REF_DOC_NO should be set to the delivery number if it's unique. Field GOODSMVT_HEADER-REF_DOC_NO should remain blank if delivery numbers vary within the document.

Key words :
generally movement type '101' goodsmvt_item-deliv_numb, blank field goodsmvt_header-ref_doc_no, delivery note number / delivery, field goodsmvt_header-ref_doc_no, field mkpf-xblnr, stock transport order, material document header, movement type, field deliv_numb, delivery number

Related Notes :

833603EDI: Goods receipt for stock transport order
520813FAQ: BAPIs for goods movements