Start of Content Area

Procedure documentation Mass Processing: Logging Messages Locate the document in its SAP Library structure

Use

You can add your own messages to the mass processing log.

Prerequisites

You are using your own methods for the interface IF_EX_WTY_MASS_PROCESSING.

Procedure

       1.      Add interface IF_MP_LOGGED_OBJECT to your class.

       2.      Declare local variable lv_dummy of type C(1) within the method.

       3.      Add the command MESSAGE ........ INTO lv_dummy

       4.      Add the command RAISE EVENT if_mp_logged_object~log_message.

Example

DATA lv_dummy.

MESSAGE E10(WTYMP) INTO lv_dummy.

RAISE EVENT if_mp_logged_object~log_message.

Result

You can use the transaction code WTYMP and then the function Display Logs to display your logged messages.

 

 

End of Content Area