WM BAPI RFC Used the same way in S/4HANA

BAPI_WHSE_TO_GET_LIST Get Transfer Order List

Returns the keys of transfer orders in a warehouse number, filtered by material, source storage type, source bins and confirmation status. It is used as the selection step in RF and interface programs before reading details. Limit the hits with MAXROWS and the filters, because busy warehouses hold many transfer orders.

Function group
L2018
Remote-enabled (RFC)
Yes
Type
BAPI

Importing parameters

ParameterTypeDescriptionRequired
WAREHOUSENUMBERBAPI2018B-WHSENUMBERWarehouse numberYes
MATERIALBAPI2018B-MATERIALMaterial number—
SRCSTORAGETYPEBAPI2018B-SOURCE_TYPESource storage type—
CONFIRMINDBAPI2018B-CONFIRM_INDConfirmation status—
MAXROWSBAPIF4A-MAX_ROWSMaximum number of hits—

Tables parameters

ParameterTypeDescriptionRequired
TRANSORDERKEYBAPITRANSORDERKEYKeys of selected transfer ordersYes
SOURCEBINSELECTBAPI2018FSource storage bin selection—
RETURNBAPIRET2Return messagesYes

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_LIST'
  EXPORTING
    warehousenumber = lv_warehousenumber
  TABLES
    transorderkey = lt_transorderkey
    sourcebinselect = lt_sourcebinselect
    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.

Request a custom report