Ansicht
Dokumentation

BAPI_OUTB_DELIVERY_CONFIRM_DEC - BAPI for Outbound Delivery Confirmation from a Decentralized System

BAPI_OUTB_DELIVERY_CONFIRM_DEC - BAPI for Outbound Delivery Confirmation from a Decentralized System

BAL_S_LOG - Application Log: Log header data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this method to report back outbound deliveries from a WM system to an Enterprise Resource Planning (ERP) system. Essentially, the report consists of:

  • Header data from the delivery,
that must always be reported
  • Delivery items,
whereby you only need to report those items that have changed. Non-reported delivery item data is confirmed without changes.

Example

Two examples of how the BAPI is used are shown below:

  1. Reporting back the delivery without (quantity) changes in the items
  2. Reporting back the delivery with changes in the item data.

The following lists show a selection of example fields for the reported segment types.

  1. The item data of the delivery is reported back unchanged.
DELIVERY - Document number of outbound delivery
  • Field DELIV_NUMB - Delivery number

HEADER_DATA - Header data of outbound delivery
  • Field DELIV_NUMB - Delivery number

HEADER_CONTROL - Header control data
  • Field DELIV_NUMB - Delivery number

  • Field POST_GI_FLG - Indicator: Post Automatic Goods Movement

  1. The items of the delivery are reported back changed.
DELIVERY - Document number of outbound delivery
  • Field DELIV_NUMB - Delivery number

HEADER_DATA - Header data of outbound delivery
  • Field DELIV_NUMB - Delivery number

HEADER_CONTROL - Control data header level
  • Field DELIV_NUMB - Delivery number

  • Field POST_GI_FLG - Indicator: Post Automatic Goods Movement

ITEM_DATA - Item data
  • Field DELIV_NUMB - Delivery number

  • Field DELIV_ITEM - Delivery item

  • Field DLV_QTY - Delivery quantity in sales unit of measure
    or alternatively

  • Field DLV_QTY_IMUNIT - Actual delivery quantity in stockkeeping unit

ITEM_CONTROL - Item control data
  • Field DELIV_NUMB - Delivery number

  • Field DELIV_ITEM - Delivery item

  • Field CHG_DELQTY - Change delivery quantity

Material number, plant, quantities in floating values, volumes, weights and their units are copied from the delivery, if not specified.

Error messages are recorded in BAPI return parameter RETURN with the following message types:

  • E (ERROR)
  • W (WARNING)
  • I (INFORMATION)

Further information

If you use the BAPI as an external interface for an external system, you should describe the packing hierarchy as usual, by using external identification numbers HDL_UNIT_EXID_INTO/HDL_UNIT_EXID of the packaging materials. The fields are contained in the HANDLING_UNIT_ITEM segment. You must copy the handling unit into the HDL_UNIT_EXID_INTO field when reporting back to packing.

If you report back batch splits that were created in the ERP system, the you cannot fill the hierarchy fields HIERARITEM and USEHIERITM.

If you created split items in the decentralized WM system and reported back, you must fill these two hierarchy fields.

If you do not use an ERP system as a decentralized Warehouse Management System, the IDoc structure must be defined carefully when the return message is constructed. In particular, you are not allowed to alter the segment sequence.





Parameters

CWM_HU_ITEM
CWM_ITEM_DATA
DELIVERY
EXTENSION1
EXTENSION2
HANDLING_UNIT_HEADER
HANDLING_UNIT_HEADER_CROSS
HANDLING_UNIT_HEADER_EPC
HANDLING_UNIT_IDENTIFIERS
HANDLING_UNIT_ITEM
HANDLING_UNIT_ITEMS_EPC
HANDLING_UNIT_ITEM_SPL
HANDLING_UNIT_SERNO
HEADER_CONTROL
HEADER_CONTROL_SPL
HEADER_DATA
HEADER_DATA_SPL
HEADER_DEADLINES
HEADER_PARTNER
HEADER_PARTNER_ADDR
ITEM_CODING_BLOCK
ITEM_CONTROL
ITEM_DATA
ITEM_DATA_DOCU_BATCH
ITEM_DATA_SPL
ITEM_SERIAL_NO
ITEM_STATUS_SPL
NEW_ITEM_DATA
NEW_ITEM_DATA_SKU
NEW_ITEM_DATA_SPL
NEW_ITEM_ORG
RETURN
SUPPLIER_CONS_DATA
TECHN_CONTROL
TEXT_HEADER
TEXT_LINES
TOKENREFERENCE

Exceptions

Function Group

V50I

PERFORM Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 7725 Date: 20240523 Time: 183106     sap01-206 ( 66 ms )