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

Debugging background processes

I am testing a functionality in which data gets transferred from the CRM system to the ECC system. I suspect that this transfer is happening through a function module in a background process. Since it is a background process, I am unable to stop control at the function module through normal debugging.

Can anyone tell me how can I debug in such a situation. It's a kind request to please tell the steps in detail.

Thank you.

(Helpful answers will be rewarded!)

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 17, 2008 at 04:05 AM

    Hi ,

    To debugg a background job , you need to go to transaction SM50 which shows the list of processes running the the system and from there select your process and debugg it.

    Regards

    Arun

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 17, 2008 at 04:10 AM

    if you are in ECC 5.0 or high you have an option of external break points.. you can use that at the FM and debug...

    to debug background job use SM50

    -


    to know that its your job,, ur user name will be displayed at the process..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 17, 2008 at 04:08 AM

    Hi,

    There a no. of ways to debug the background job as mentioned in above posts. 1 more way is to go to SM50 Txn and find your background job of Type 'BGD'. Check that process and go to Program/Session ->Program -> Debugging.

    You can not debug a program which is running in background but once the job is completed in sm37 select the job and type JDBG at command box, the job will go in debug mode and show you how it was executed.

    BACKGROND PROGRAMS:you can debug the background jobs, use the command BDUG

    One way of debuging programs which are already running in background is via transaction SM50. This displays a

    list of process running in the server. In order to debug the program go to Menu option:

    Program/Mode >Program >Debugging.

    You can check this link as well for more details :

    debugging-report-which-is-scheduled-in-background

    Hope this helps.

    Regards,

    Lalit

    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.