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

to debug a program executing in background

Former Member
0 Likes
1,919

Dear all,

I have one standard program RM08NAST subroutine ENTRY_ERS in this i kept break-point .

when i excute Tcode MRRL and select print it will trigger this standard program and subroutine and excute the Script.

problem is that it is not taking to debugging mode.

please help me how can i solve this problem.

Regards,

Kiran

9 REPLIES 9
Read only

Former Member
0 Likes
1,171

Hi Kiron,

Can you try with '/H ' in the command field and see if it works ?

Regards,

Hari

Read only

0 Likes
1,171
Read only

0 Likes
1,171

Hi H K,

i did it but i unable to see the subrotine where i kept break point.

Regards,

Kiran Kumar

Read only

Former Member
0 Likes
1,171

Hi,

When the program is running in debugging mode, go to SM50 and set the workprocess in which it is running. From the menu, Program/Mode -> Program -> Debugging

You can try with it.

Regards

Sailaja.

Read only

VikasB
Active Participant
0 Likes
1,171

Hi,

after set the program to execute in background mode go to Tcode SM37.

it'll show you your report status which are set for background execution.

mark the check box of left hand side and write Tcode JDBG. it'll start with the debugger for your report.

regards,

vikas.

plz reward if helpful..

Read only

Nimesh_S_Patel
Explorer
0 Likes
1,171

Hi Kiron,

I guess you know output type for your application.If no then consult your functional guy, he'll let you know.

After your output is issue from MRRL , run the program RSNAST00 . Choose relavant application & output type.

Your break-point will work this time.

Regards

Nimesh S. Patel

Read only

0 Likes
1,171

Dear Nimesh patel,

let me explain req clearly :

i have Tcode MRRL in that if i execute it will give list of items

in that i have to select on and go for print before going to print i kept break-point in the program, after that i used print, print was spooled and able to see sap script default, in SP01,

the issue is that even i kept break-point in that it is not stopping.

subroutinepool program name is RM08NAST,

subroutine ENTRY_ERS, Form: MR_PRINT

please help

Thanks in advance

Kiran Kumar

Read only

0 Likes
1,171

hi nimesh,

put break point at 875 line of rsnast00 and after press f5 ,

you will go to your perform .

rgds

Chalam

Read only

0 Likes
1,171

>

set break-point in print program.

> i have Tcode MRRL in that if i execute it will give list of items

After item list display enter /H in command line.

Debug mode will on.

select line and print.

it'll open in debug mode (not print program)

then follow these steps

Settings ---> Update Debugging

then press F8 this time control will stop at break-point.

> in that i have to select on and go for print before going to print i kept break-point in the program, after that i used print, print was spooled and able to see sap script default, in SP01,

> the issue is that even i kept break-point in that it is not stopping.

> subroutinepool program name is RM08NAST,

> subroutine ENTRY_ERS, Form: MR_PRINT

>

> please help

> Thanks in advance

> Kiran Kumar