Thursday, November 8, 2018

Debug a function module called in background task

The FM is called by using ABAP statement : Call Function <FM name> in Background task and a break-point is not triggered in the foreground during debugging if the break-pint is set inside the FM.

1. Execute TCode SM37 and input the FM.
2. Click Display icon and set up a break point at the Call Function <FM name> in Background task.
3. Inside the debugging screen - Menu - Settings - Change Debugger Profile/Settings - Check the flag for : TRFC (In background Task) Block Sending.


4. Execute SM58, select the tRFC and from menu EDIT -> debug LUW

No comments:

Post a Comment