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

background job

Hi all,

I have a program where in if i run in foreground, the values are correct and when i execute the same program with the same variant in background, teh values arenot correct....Is there any way to check the program in debugging mode while running in background??

or can we analyse in any other way?

Rgds

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2007 at 03:48 PM

    Look at this link. this describes how to debug programs running in batch mode.

    http://www.sapdevelopment.co.uk/tips/debug/debug_backjob.htm

    OR

    go to SM50 select the job running in background mode.

    go to program/mode -> program and select debugging.

    cheers

    A

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2007 at 03:58 PM

    Hi,

    To debug the program go to Menu option:

    Program/Mode >Program >Debugging

    Check the below threads.

    how do we debug jobs in background when the peogram is running

    Regards,

    Maha

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2007 at 04:00 PM

    Hi ,

    For already finished job,Select the job in SM37 and in the Command field write JDBG and press Enter.

    Debugging will start and then you after few standard SAP FM calls you will come to your program.

    For a background job already running you can go to SM0 and then SLECT THE JOB and from PROGRAM Select DEBUGGING.

    Regards

    <b>Reward points if useful</b>

    Saket Sharma

    Add a comment
    10|10000 characters needed characters exceeded

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.