How to debug a Background Job?

Background jobs are scheduled for programs which usually take longer to complete. Many times the background job ends up with some error which can only be generated by a background job, and to find out the root cause debugging background job is necessary.

You can debug background jobs, when they are active, finished or in a cancelled state.

If you want to debug a job which is already completed then it will replicate the same run in debug mode.

To debug a background job you can follow steps below:

■ Goto SM37 and select Job

■ Enter JDBG in ok command box

■ Press Enter

This will trigger the job in debug mode. And will perform the same task it has earlier.

Leave a Reply

Your email address will not be published. Required fields are marked *