SAP WMS BAPI and User-Exits

Business Application Programming Interface (BAPI) is used in SAP to achievebusiness related functionalities. It is a remote-enabled function module which is provided by SAP.

A User-Exit is a handle that SAP put into their code, allowing a customer to add their own routines.

SAP WMS BAPI for Transfer Requirements

Transfer requirements are used to pass on information on goods movements that are posted inInventory Management (MM-IM) to the Warehouse Management System (WMS). You can, however, also use transfer requirements for the following purposes:

  • To initiate goods movements in WMS
  • To initiate material replenishment for production storage bins in the production supply areas using the Production Planning (PP) component
  • To call up transfer requirement reports in order to get an overview of all pending goods movements

Function module for Transfer Requirements

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

User-Exit for Transfer Requirements

User-Exit Description
MWMTOAU1 This custom exit allows to influence the selection of transfer requirements for the automatic creation of transfer orders.
MWMTOAU2 This SAP WM exit allows you to influence the selection of transfer requirements for the automatic creation of multiple transfer orders using groups.

 

SAP WMS BAPI for Transfer Order

The transfer of stock using a stock transport order has the following advantages over the transfer of stock without a stock transport order:

  • A goods receipt can be planned in the receiving plant.
  • You can enter a vendor (freight vendor) in the stock transport order.
  • Delivery costs can be entered in the stock transport order.
  • The stock transfer order is part of MRP: Purchase requisitions that were created in MRP can be converted into stock transport orders.
  • The system can run an availability check for the stock transfer.

Function module for Transfer Order

Function Module  Description
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

User-Exit for Transfer Order

Customer exit Description
MWMTO001 Update own data after creating transfer orders
MWMTO002 Update own data after confirming transfer orders
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