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

How to debug a background job

Former Member
0 Likes
930

Hi,

Is it possible to debug a background job.

My requirement is user submits a invoice printing in back ground, here there is a problem with the data printed. If i print it individually its printing correctly.

Thanks n regards

sree

Hi,

Is it possible to debug a background job.

My requirement is user submits a invoice printing in back ground, here there is a problem with the data printed. If i print it individually its printing correctly.

Thanks n regards

sree

3 REPLIES 3
Read only

Former Member
0 Likes
664

Hello Sree,

You can put an infinite loop in your steering program,

something like this

while x = 0.

do

enddo.

Then go to transaction SM50, you will see your process

go to Program / Mode -> Program -> Debugging.

Change value of X and proceed with debugging.

Regards,

Samir.

Regards,

Samir

Read only

0 Likes
664

Hello,

While running job in background, to debug got SM37 > select Job Schedule Check box and press F8.

Then Choose the job u want to debug and type <b>jdbg</b> in the command and press enter.

Debugger will start.

Regards,

Judith

Read only

Former Member
0 Likes
664

Hi Sree,

Check out this link:

If this doesn't help (you might have to scroll up to get the full thread) then let us know.

Cheers,

Brad

Message was edited by: Brad Williams