The most used SAP WM BAPI, Function Modules and User-Exits

SAP WM Tables SAP WM BAPI SAP WM Tcodes

In this article, we will list the 4 main SAP WM BAPI for Warehouse TraIf you are looking for the full list of SAP WM BAPI, check the following article aboutnsfer and Stock Data.

The 2 first BAPI let you retrieve the list and the detail of Warehouse Transfer Order Data. The next 2 BAPI can be used to read Stock List and Stock Data. 

SAP Transfer Requirements in SAP WM

Transfer Requirement Functions in SAP WM

The list of the most important SAP Function modules for WM Transfer Requirement are:

  • L_TR_CREATE_CHECK: Plausibility checks
  • L_TR_CREATE_UPDATE : Database updates according to plausibility checks
  • L_TR_CREATE : Plausibility checks and database updates Function Module Description
  • L_TR_CANCEL : Cancel plausibility checks and database updates

User-exit for SAP WM Transfer Requirement

MWMTOAU1: SAP WM Transfer Requirement User-Exit

This custom exit MWMTOAU1 allows to influence the selection of transfer requirements for the automatic creation of transfer orders.

MWMTOAU2: Transfer Requirement User-Exit

This SAP WM exit MWMTOAU2 allows you to influence the selection of transfer requirements for the automatic creation of multiple transfer orders using groups.

SAP Transfer Order BAPI, Function modules and Exit

WM Transfer Order Function Modules

In order to handle Transfer Order in SAP Warehouse Management, you can use of the following functions modules:

  • L_TO_CREATE_SINGLE Create a transfer order with one item
  • L_TO_CREATE_MULTIPLE Create a transfer order with two or more items
  • L_TO_CREATE_MOVE_SU Create a transfer order to move a storage unit
  • L_TO_CREATE_MOVE_LSR Initiate a stock transfer of storage units from an external system
  • L_TO_CREATE_TR Create a transfer order for a transfer requirement
  • L_TO_CREATE_DN Create a transfer order for a delivery
  • L_TO_CONFIRM Confirm a transfer order
  • L_TO_CONFIRM_SU Confirm a transfer order for a storage unit
  • L_TO_CANCEL Cancel a transfer order
  • L_TO_CANCEL_SU Cancel a transfer order for a storage unit
  • L_REF_CREATE Create transfer orders using multiple processing
  • L_TO_CREATE_2_STEP_PICKING Create transfer orders for 2-step picking
  • L_TO_CREATE_POSTING_CHANGE Create transfer orders for posting changes

SAP User-Exit for Transfer Order in WM

If you want to custom the standard processing of Transfer Order in SAP warehouse management, check these SAP transfer Order User-exits:

  • MWMTO001 Update own data after creating transfer orders
  • MWMTO002 Update own data after confirming transfer orders Customer exit Description
  • MWMTO003 Customer-defined putaway strategy. This task allows you to create and implement your own putaway strategy.
  • MWMTO004 Customer-defined picking strategy
  • MWMTO005 TO-related underdelivery (shortage)
  • MWMTO006 Storage-bin-related overdelivery
  • MWMTO007 Palletization and storage type search for putaway
  • MWMTO008 Storage type search for picking
  • MWMTO009 Prevents deletion of TO items

SAP WM Transfor Order BAPI

BAPI_WHSE_TO_GET_LIST

  • Function module name: Warehouse Transfer Order
  • Object Type : BUS2018
  • Object Name: WarehouseTransOrder
  • Methode Name: GetList

Here the signature of BAPI_WHSE_TO_GET_LIST for BAPI for Transfer Order List

SAP WM BAPI : BAPI_WHSE_TO_GET_DETAIL

  • Function module name: Read Header and Item Data per Transfer Order
  • Object Type : BUS2018
  • Object Name: WarehouseTransOrder
  • Methode Name: GetDetail

Here the signature of BAPI_WHSE_TO_GET_DETAIL – BAPI for Header and Item Data per Transfer Order

If you are looking for the full list of SAP WM BAPI, check the following article about SAP WMS BAPI and Exits. 

SAP WM BAPI : BAPI_WHSE_STOCK_GET_LIST

  • Function module name: Stock List
  • Object Type : BUS3016
  • Object Name: WarehouseStock
  • Methode Name: GetList

The signature of BAPI_WHSE_STOCK_GET_LIST : BAPI for Details of Stock per Material is

BAPI_WHSE_STOCK_GET_DETAIL

  • Function module name: Read Stock Data per Quant
  • Object Type : BUS3016
  • Object Name: WarehouseStock
  • Methode Name: GetDetail

Sources & Reference 

Related SAP Tutorials