Fonction SAP BAPI_OUTB_DELIVERY_SAVEREPLICA - BAPI Function Module for Replication of Outbound Deliveries

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
HEADER_DATA BAPIOBDLVHDR u 242 Header Data
HEADER_DATA_SPL /SPE/BAPIOBDLVHDR u 129 X Outbound Delivery Header Fields/Service Parts Logistics
HEADER_ORG BAPIOBDLVHDRORG u 61 Organizational Data Header
SENDER_SYSTEM TBDLS-LOGSYS C 10 Sender System
TECHN_CONTROL BAPIDLVCONTROL u 20 X Technical Control Data

Paramètre Reférence Type Long. Description
DELIVERY LIKP-VBELN C 10 Outbound Delivery Number

Paramètre Reférence Long. Facultatif Description
BATCH_ATTRIBUTES BAPI3060_ALLOCATION 224 X Classification: Object Description and Assignment
BATCH_VALUES_CHAR BAPI3060_VALUATION_CHAR 245 X Classification: Object Description and CHAR/BOOL Values
BATCH_VALUES_CURR BAPI3060_VALUATION_CURR 232 X Classification: Object Description and CURR Values
BATCH_VALUES_NUM BAPI3060_VALUATION_NUM 224 X Classification: Object Description and NUM Values
EXTENSION1 BAPIEXTC 1000 X Data Container (Unstructured)
EXTENSION2 BAPIEXT 332 X Data Container (Structured)
HANDLING_UNIT_HEADER BAPIDLVHDUNHDR 457 X Handling Unit Header Data
HANDLING_UNIT_ITEM BAPIDLVHDUNITM 235 X Handling Unit Item Data
HANDLING_UNIT_SERNO BAPIDLVHDUNSERNO 126 X Handling Unit Serial Numbers
HEADER_DEADLINES BAPIDLVDEADLN 34 Header Deadlines
HEADER_PARTNER BAPIDLVPARTNER 80 Header Partners
HEADER_PARTNER_ADDR BAPIADDR1 1574 X Header Partner Addresses
ITEM_CODING_BLOCK BAPIDLVCOBLITEM 234 X Account Assignment Data Item
ITEM_DATA BAPIOBDLVITEM 688 Item Data
ITEM_DATA_SPL /SPE/BAPIOBDLVITM 294 X Outbound Delivery Item Fields/Service Parts Logisitics
ITEM_ORG BAPIOBDLVITEMORG 35 Organizational Data Item
ITEM_REFERENCE_ORDER BAPIOBDLVITEMRFO 359 X Order Reference Data Item
ITEM_REFERENCE_WMD BAPIOBDLVITEMWMD 44 X Reference of Delivery Item to Inbound Purchase Order Item
ITEM_REF_PURCHASE_ORDER BAPIDLVITEMRPO 219 X Purchase Order Reference Data Item
ITEM_SERIAL_NO BAPIDLVITMSERNO 106 X BAPI Delivery Serial Numbers Item
ITEM_STOCK_TRANS BAPIDLVITEMSTTR 220 X Stock Transfer Data - Item
RETURN BAPIRET2 548 Return Parameter(s)
TEXT_HEADER BAPIDLVTXTHDR 143 X Text Header Data
TEXT_LINES BAPIDLVTXTITEM 160 X Text Lines
TOKENREFERENCE BAPITOKENREFERENCE 255 X Reference for CSL Token (CSL_TR_EXS)

Functionality
You can use this method to distribute outbound deliveries from an ERPsystem to a WM system.
The following parameters must be passed on:
- HEADER_DATA
- SENDER_SYSTEM
- HEADER_PARTNER
- HEADER_DEADLINES
- ITEM_DATA

Notes
Required fields:
Import parameter HEADER_DATA
- DELIV_NUMB
- DLV_TYPE
Import parameter HEADER_DATA_ORG
- SHIP_POINT
- SALESORG
Import parameter SENDER_SYSTEM
- SENDERSYSTEM
Table parameter HEADER_PARTNER
- PARTN_ROLE = 'WE' Ship-to party is required partner
- PARTNER_NO
Table parameter HEADER_DEADLINES
- TIMETYPE = 'WSHDRLFDAT' Delivery date
- TIMETYPE = 'WSHDRWADAT' Goods issue date
Table parameter ITEM_DATA
- OUTB_DELVRY_NO
- ITM_NUMBER
- MATERIAL
- DLV_QTY
- SALES_UNIT_ISO or SALES_UNIT
Table parameter ITEM_DATA_ORG
- DIVISION
- DISTR_CHAN
- PLANT

Further information
This part of the text similar to function module BAPI_INB_DELIVERY_
SAVEREPLICA
HEADER_PARTNER
Since the partners in the delivery are not managed on an item basis,the ITM_NUMBER field in the BAPIDLVPARTNER segment is left blank andnot analyzed.
HANDLING_UNIT_ITEM
If the BAPI is used as an external interface for an external system,the packing hierarchy should be described as usual by using externalidentification numbers for shipping materials(HDL_UNIT_EXID_INTO/HDL_UNIT_EXID).

Description
This parameter returns the delivery number generated in the receivingsystem.

Description
In this structure, the general header data of the outbound delivery ispassed on.

Description
In this structure, the additional header data for the outbound deliveryare transferred for the service parts logistics.

Description
This structure contains the organisation data for the outbound deliveryheader data.

Description
When outbound deliveries are replicated, the receiving system needs thelogical system description of the sending system to determine that itis a distributed outbound delivery.

Description
Using this parameter, you can cause a termination in the receivingsystem by setting field DEBUG_FLG to 'X'. After the termination, youcan then re-import the IDoc with the corresponding BREAK-POINTs in thereceiving system.

Description
Customer enhancement segment
Unstructured data container that can be used as required.

Value range
Structure BAPIEXTC
Field1 CHAR(250)
Field2 CHAR(250)
Field3 CHAR(250)
Field4 CHAR(250)

Description
Customer enhancement segment
Structured data container that can be used as required.

Value range
Structure BAPIEXT
PARAMETER CHAR(30)
ROW INT (8)
FIELD CHAR(30)
VALUE CHAR(250)
TYPE CHAR(5)
LENGTH INT(4)

Description
The header data of the handling units is passed on to this table.

Description
In this table, the item data of the handling units is passed on.

Description
Enter the serial numbers for a handling unit item.
For materials with a serial number requirement, you can enter theserial numbers of the HU here.

Description
In this table, the header dates are passed on in time stamp format(YYYYMMDDHHMMSS). In field BAPIDLVDEADLN-TIMETYPE the individual datefields are qualified as follows:
- WSHDRLFDAT Delivery date
- WSHDRWADAT Goods issue date (planned)
- WSHDRLDDAT Loading date
- WSHDRTDDAT Transportation planning date
- WSHDRKODAT Picking date

Description
This table parameter contains the header partner data of the outbounddelivery.

Description
If for the header partners in the outbound delivery different addressdata has been maintained in the master data, this address data isprovided in this parameter table.

Description
In this table, the account assignment data is passed on for each item.

Description
The general item data is passed on here.

Description
In this table, the additional data for the delivery items is transferredfor service parts logistics.

Description
This structure contains the organisation data for the outbound deliveryitem data.

Description
The order data to which the outbound delivery refers is not availablein the receiving system, since the orders are not distributed. You canthus pass on selected order data to the receiving system. There it isstored in a special enhancement table for the item (LIPSRF).

Description
In this table, the references are transferred from the delivery item tothe inbound purchase order item.

Description
The purchase order data to which the outbound delivery refers is notavailable in the receiving system since the purchase orders are notdistributed.
You can thus pass on selected purchase order data to the receivingsystem. There it is stored in a special enhancement table for the item(LIPSPO).

Description
Enter the serial numbers for a delivery item.
For materials with a serial number requirement, you can enter theserial numbers.

Description
This parameter is used to pass on stock transfer data for deliveriesresulting from inventory postings. These fields are not used fordeliveries that are based on a stock transfer order.

Description
Messages are accumulated and returned to the calling program.

Description
This table contains the header information for the texts.

Description
This table contains the text lines for all delivery texts.