[go: up one dir, main page]

0% found this document useful (0 votes)
935 views1 page

SAP - ABAP - How To Debug An Event

To debug events in ABAP, put a breakpoint in the "process" method of the cl_swf_evt_strategy_bor_fb class. Triggering the event will execute this method, where the "me->process_mode" field must be set to "D" to activate debugging and allow reaching the custom code registered as the receiver function module in SWE2.

Uploaded by

pearl
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
935 views1 page

SAP - ABAP - How To Debug An Event

To debug events in ABAP, put a breakpoint in the "process" method of the cl_swf_evt_strategy_bor_fb class. Triggering the event will execute this method, where the "me->process_mode" field must be set to "D" to activate debugging and allow reaching the custom code registered as the receiver function module in SWE2.

Uploaded by

pearl
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

debugging event in abap

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

You might also like