Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Background job

former_member697611
Discoverer
1 ACCEPTED SOLUTION

former_member1716
Active Contributor
286

dummi1,

Ensure below Points for debugging the background Job:

1) Ensure the Job is finished.

2) Place the cursor on the Job so that the Job is selected. Single Click on the job should do.

3) Now Type JDBG in the command bar and press enter.

This activity should trigger the debugger, initial few screens are part of SAP Standard you skip those using 'F7'.

You can also refer below blogs for more information:

BLOG1

BlOG2

To Debug Active Jobs

Regards!

4 REPLIES 4

Abinathsiva
Active Contributor
286

Hi, Set a breakpoint in ABAP report and Create background JOB in SM36 transaction, set a future start. got to tcode SM37, put the cursor on the job line, type 'JDBG' in the command line ( no '/' ) and press enter. program will start through debug mode....

former_member1716
Active Contributor
287

dummi1,

Ensure below Points for debugging the background Job:

1) Ensure the Job is finished.

2) Place the cursor on the Job so that the Job is selected. Single Click on the job should do.

3) Now Type JDBG in the command bar and press enter.

This activity should trigger the debugger, initial few screens are part of SAP Standard you skip those using 'F7'.

You can also refer below blogs for more information:

BLOG1

BlOG2

To Debug Active Jobs

Regards!

former_member702687
Discoverer
0 Kudos
286

Create background job in sm36 tcode and set a break points in background job it will be starting now . then go to sm37 tcode put the cursor on job line and press enter . then the program will start in debugging mode.

Thanks.

Yashaswini R

Sandra_Rossi
Active Contributor
0 Kudos
286

Asked and answered many times -> search the Web before posting:

How to debug background job in sap abap? site:sap.com