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

Debug in Background

Former Member
0 Likes
546

Hi people,

I have a little problem.

I put 1 break-point in my abap program, but I need debug this program when it is running in background and I need that Stop in this break-point. It's possible ?

Another question is: Is possible occurs Time Out in a program running in background ?

tks,

Flavio Ferreira

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
479

There a no. of ways to debug the background job as mentioned in above posts. 1 more way is to go to SM50 Txn and find your background job of Type 'BGD'. Check that process and go to Program/Session ->Program -> Debugging.

You can not debug a program which is running in background but once the job is completed in sm37 select the job and type JDBG at command box, the job will go in debug mode and show you how it was executed.

BACKGROND PROGRAMS:you can debug the background jobs, use the command BDUG

One way of debuging programs which are already running in background is via transaction SM50. This displays a

list of process running in the server. In order to debug the program go to Menu option:

Program/Mode>Program>Debugging.

3 REPLIES 3
Read only

Former Member
0 Likes
479

Hi,

Debug background Job.

, Transaction – JDBG

Debug Program scheduled Background

<b>Reward points if this helps.

Manish</b>

Read only

Former Member
0 Likes
479

Hi!

You might try out SM50 transaction to stop the scheduled program's run.

Time-out can not occur during background. But there could be exceptions, short dumps, which could break your program's run.

Regards

Tamá

Read only

Former Member
0 Likes
480

There a no. of ways to debug the background job as mentioned in above posts. 1 more way is to go to SM50 Txn and find your background job of Type 'BGD'. Check that process and go to Program/Session ->Program -> Debugging.

You can not debug a program which is running in background but once the job is completed in sm37 select the job and type JDBG at command box, the job will go in debug mode and show you how it was executed.

BACKGROND PROGRAMS:you can debug the background jobs, use the command BDUG

One way of debuging programs which are already running in background is via transaction SM50. This displays a

list of process running in the server. In order to debug the program go to Menu option:

Program/Mode>Program>Debugging.