WM
BAPI
RFC
Used the same way in S/4HANA
BAPI_WHSE_TO_GET_DETAIL Get Transfer Order Details
Reads header and item data of a transfer order, optionally for a single item. It is used in RF, label printing and outbound interfaces that report warehouse tasks. Use BAPI_WHSE_TO_GET_LIST first when you need to find the transfer order numbers.
- Function group
- L2018
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| WHSENUMBER | BAPI2018A-WHSENUMBER | Warehouse number | Yes |
| TRANSFERORDERNO | BAPI2018A-TRANSFERORDERNO | Transfer order number | Yes |
| TRANSFERORDERITEM | BAPI2018C-TRANSFERORDERITEM | Transfer order item | — |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| TOHEADERDATA | BAPITOHEAD | Transfer order header data | Yes |
| TOITEMDATA | BAPITOITEM | Transfer order item data | Yes |
| EXTENSIONOUT | BAPIPAREX | Customer extension output | Yes |
| RETURN | BAPIRET2 | Return messages | Yes |
Call template (ABAP)
A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.
CALL FUNCTION 'BAPI_WHSE_TO_GET_DETAIL'
EXPORTING
whsenumber = lv_whsenumber
transferorderno = lv_transferorderno
TABLES
toheaderdata = lt_toheaderdata
toitemdata = lt_toitemdata
extensionout = lt_extensionout
return = lt_return.Related tables
Can't find the report you need?
We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.