Fonction SAP BAPI_WHSE_TO_GET_DETAIL - BAPI for Header and Item Data per Transfer Order

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
TRANSFERORDERITEM BAPI2018C-TRANSFERORDERITEM N 4 X Transfer order item
TRANSFERORDERNO BAPI2018A-TRANSFERORDERNO N 10 Transfer Order Number
WHSENUMBER BAPI2018A-WHSENUMBER C 3 Warehouse number / warehouse complex

Paramètre Reférence Long. Facultatif Description
EXTENSIONOUT BAPIPAREX 990 Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
RETURN BAPIRET2 548 Return parameter
TOHEADERDATA BAPITOHEAD 294 BAPI Export Structure for TO Header / Table LTAK
TOITEMDATA BAPITOITEM 977 BAPI Export Structure for TO Item / Table LTAP

Functionality
This method supplies transfer order header data and transfer order itemdata.
The warehouse number and transfer order number are required parameters.
If a transfer order item is specified as well, only the item data forthe transmitted item, in addition to the transfer order header data, issupplied.
If no transfer order item is transmitted, all the items in the transferorder are returned.

Notes
So that the data can be read successfully, you require theauthorization to display the warehouse master data.

Description
Transfer order number item.
Optional parameter.
By specifying the warehouse number, transfer order number, and transferorder number item, you identify the transfer order at item level.

Description
Transfer order number.
Mandatory parameter.
The transfer order is uniquely identified according to the warehousenumber and the transfer order number.

Description
Warehouse number.
Required parameter.

Description
Parameters for transmitting customer-specific data.
These can either be included in an exit from customer tables or areautomatically copied from the customer-specific enhancements of the SAPtables in the form of "BAPI Table Extensions".

Value range
The following BAPI table extensions exist:
BAPI_TE_TOHEAD for table BAPITOHEAD
BAPI_TE_TOITEM for table BAPITOITEM
Further information is available in the documentation of the structureBAPIPAREX.

Description
The messages are collected here and returned to the caller.

Description
In this table, the transfer order header data details are returned.

Description
In this table, the transfer order item details are returned.