Professional Documents
Culture Documents
SAP - ABAP - How To Debug An Event
SAP - ABAP - How To Debug An Event
In order to debug events in ABAP , you should put a break-point in a specific method of
a class. Most probably you have registered a receiver function module for your event in
SWE2.
If your program is triggering this event somehow your flow will execute process method
of cl_swf_evt_strategy_bor_fb class. Beside you can use SWUE transaction code for
triggering any event with your object key. When it comes to process method , you
should change me->process_mode field to D in order to activate debugging. After that
you are going to reach your Z function that you already registered in SWE2. Now you
have the control in your custom code.
summary :
class : cl_swf_evt_strategy_bor_fb
method : process
me->process_mode must be set to D