Application Development and Automation 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: 
Read only

debugging Background job

Former Member
0 Likes
3,725

Guy's

is it possible to debug background job.job

that u schedule in background

8 REPLIES 8
Read only

Former Member
0 Likes
1,029

It is possible.

Take a look at this thread.

Regards,

Ravi

Read only

Former Member
0 Likes
1,029

Hi,

Yes u can, here more

Regards,

Read only

Former Member
0 Likes
1,029

Hi Sanju,

try this...

Go to SM50 transaction , choose your Program in the list and then go to menu Program/Mode ->Program ->Debugging

say yes. and see.

Regards

vijay

Read only

Former Member
0 Likes
1,029

Go to SM50

Check your user name and the work process on which the back ground job is running(TY BGD). select ot go to Program/Mode in the menu and Program-debugging.

This is possible only for long running jobs. i.e you should have time to do this.

Thanks,

Vinay

Read only

0 Likes
1,029

Hi Guy's

i schedule the job in the background,but when i go

to sm50,there are so many process running,i schedule

my job to run after 1 hour,now how to find it,which

PID my program belong's to

Read only

0 Likes
1,029

Hi,

you can find like this..

1. using the BGD option

2. and using the USER NAME

3. using the Program name

you can choose the correct PID and follow the instructions to Debug it.

Regards

vijay

Read only

1,029

You can also try this..

Once the job is completed, get into SM37, place the cursor on your Job and enter 'JDBG' in the command field (where you normally enter the Tcodes). This will take you into debug mode & will replicate the runtime of the Job that is completed.Once in debug mode, you will have to single step through a few times to get into the actual ABAP Program.

Regards,

Suresh Datti

Read only

Former Member
0 Likes
1,029

hi sanju,

yes it is possible.

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.

do award if helpful.

regards,

keerthi.