‎2006 May 31 8:51 AM
Guy's
is it possible to debug background job.job
that u schedule in background
‎2006 May 31 8:57 AM
‎2006 May 31 8:59 AM
‎2006 May 31 9:12 AM
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
‎2006 May 31 9:13 AM
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
‎2006 May 31 10:20 AM
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
‎2006 May 31 10:27 AM
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
‎2006 May 31 11:55 AM
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
‎2006 May 31 12:05 PM
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.