Skip to Content
author's profile photo Former Member
Former Member

Job schedule

Hi all,

I have a job which has already been completed. Is there anyway to re-execute that job in debugging mode ? I need to see how the program has been executed step by step for a particular job. Is it possible ? Its urgent

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Dec 21, 2004 at 07:35 AM

    Select the job, go in menu job -> repeat scheduling

    (choose to start the job in few minutes)

    Go in SM50 / SM51 and select the job when it start and in the menu Program -> Program -> debugging

    Frédéric.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 21, 2004 at 09:14 AM

    Hi Veena,

    Why can't you debug the job in the online mode? Whether the program executes in background or online, it doesn't make any difference. If you want to debug it, I would recommend that you use online mode of execution.

    If this cannot be adopted in your case, please let us know why.

    Regards,

    Anand Mandalika.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 21, 2004 at 01:57 PM

    Hi Veena,

    If you just want to simulate and check in debug mode what how the job got executed then :

    1. set a break-point in your program

    2. execute t-code SM37 select the job u want to debug

    3. enter the function code JDBG in the command field (where t-codes are entered)

    4. now u will be in debug mode and u can press F8 to get to your break-point or just keep pressing F7 till the control is in your program.

    Hope this helps u.

    Thanks & regards,

    Satyadev Dutta

    Add a comment
    10|10000 characters needed characters exceeded

    • Concerning the previous post I would like to add that the word simulating in this context might be confusing.

      As a matter of fact the job, although in debug mode, runs as if it was scheduled normaly. So it will select the same (huge) amount of data, will perform updates on so on.

      The only thing that is simulated is that you are online in debug mode but the program acts as if it was in batch. I wonder if the same could be reached by replacing the variable sy-batch to 'X'.

      Christian

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.