Skip to Content
avatar image
Former Member

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 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.

    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

    Add comment
    10|10000 characters needed characters exceeded