Skip to Content

Any one please help me to find how to debug the substitution exit through F111.

Feb 22, 2017 at 08:55 AM


avatar image
Former Member

I need to get to the point at user exit in substitution. I am using F111 and scheduling a job for next day . this job I am debugging through sm37 . but still its not triggering the substitution.

Please let me know if any exact steps i should follow.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

David Antonio Arroyo León Feb 23, 2017 at 03:39 PM

Hi Madhuri,

you will have to do this in 2 steps:

Fisrt, Inside your exit you will have to put this code:

data lv_i type i

clear lv_i.

while i = 0.


This code Will cause an infinite loop.

Run F111 with your paameters.

Second, go to SM50 tcode and you will find the job running, mark the corresponding line of job and go to Menu Administration --> Program --> Debugging (check image attached)

And debug will stop in "While i = 0.", for continue doing debugging, only change the value of variable: i = 1 and you can continue with debug.



sm50-debug.png (53.9 kB)
10 |10000 characters needed characters left characters exceeded