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 the backgroung program

Former Member
0 Likes
592

Hi,

I have made one program. Inside this report I am using 'submit' which is used to call a program to display invoice list. when I executed this report in foreground it gives the output but when I run this report in background(using F9) it dose not contains any output. Please advice me what is the actual problem and how to debug the background job,

Please help me it is very very urgent.

Thanks in advance.

Abhishek prakash

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
567

Hi Abhishek,

you can debug the background job either two way..

1 if the job is finished then goto se37 select the line which u want to debug type JDBG on t-code bar then enter u will go into debugger..

2. if the job is running state then goto SM50 then select your job then goto program and debugging u will go into debugging mode...

please reward if problem solved..

Thanks Amit.

4 REPLIES 4
Read only

vinod_vemuru2
Active Contributor
0 Likes
567

Hi,

When u execute the report in back ground mode ur output will be stored in the spool.

Go to SM37 and check the spool there. You can find your output there. If you want to debug the program then first put a break point in your program after finishing of the execution of the job, then select the job in SM37 and enter JDBG in command prompt and press enter. It will go to debug mode. It is equivivalent to /H which we will enter while debugging in forground.

Thanks,

Vinod.

Read only

Former Member
0 Likes
568

Hi Abhishek,

you can debug the background job either two way..

1 if the job is finished then goto se37 select the line which u want to debug type JDBG on t-code bar then enter u will go into debugger..

2. if the job is running state then goto SM50 then select your job then goto program and debugging u will go into debugging mode...

please reward if problem solved..

Thanks Amit.

Read only

0 Likes
567

Hi ,

I have a Doc regarding Debugger,if you want send across email id.

Cheers,

Ahsan

Read only

0 Likes
567

hi,

my ID is abhishek.prakash.vit

in gmail .please construct the email ID and send me me.

Thanks

abhishek