02-22-2017 8:55 AM
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.
02-23-2017 3: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.
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,