Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> UserExit>MWMBAP01



Index

MWMBAP01

BAPI BO 2018 (WhseTransOrder) User Exit
Through this user exit, you can have additional, customer-specific data added to the data read in the function module BAPI_WHSE_TO_GET_DETAIL.

Calling Point and Important Conditions

The user exit is called in the function module that is the basis for the BAPI WarehouseTransOrder.GetDetail.

All error messages must be returned in the parameter 'Return'. A rollback is executed only for A messages.

Furthermore, no language elements such as COMMIT WORK, ROLLBACK WORK, LEAVE etc. may be used.

Parameters and Options

The user exit in the program is the function module EXIT_SAPLL2018_001. To fill this module with data, you must create the include ZXL2018U01 and activate the enhancement using Transaction CMOD. You can access the TO data and the enhancement structure as parameters.

The imported data is in the following parameters:

  • TO header(table parameter CT_HEADER_DATA)
  • TO item (table parameter CT_ITEM_DATA)
  • Enhancement (Table parameter EXTENSIONOUT)

The user exit passes the results as additional data to the caller via the following parameter:

  • Enhancement (table parameter EXTENSIONOUT)

To return data, you must first enhance the structure BAPI_TE_TOHEAD or BAPITOITEM using APPEND. Make sure that the parameter does not exceed the length of 960 characters. For an exact description of the user exit
Function/Program:

  • EXIT_SAPLL2018_001: User Exit BAPI for BO 2018 (WarehouseTransOrder)

02-Oct-2005