Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member478603
Participant
0 Kudos

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.

1 REPLY 1

former_member235395
Contributor
0 Kudos

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.

endwhile.

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.

Regards,

sm50-debug.png