Debugging a background job

How to debug background jobs? Here's how!

How to debug background jobs? In SM37: Select the job, type JDBG in the OK-code and press enter. This can be used...

for both completed jobs and jobs to be processed (just make sure you have enough time to debug before the job actually starts). Breakpoints set in the job flow works. This method has been successfully used in R/3 4.6C.  

This was last published in October 2003

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

Join the conversation

1 comment

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

I have a report which will create background jobs and which will run only for few seconds say 2-3secs. I am not able to cancel the job as it gets finished very quick. So i need to debug the same using "bgdb". Once job is finished few details like Variants are getting deleted so i can't debug & it breaks in the middle.

So is there any way where I can fail/cancel the job which run very quickly.

Your help would be really greatfull.
Cancel

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close