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

ABAP Trace, Background

Former Member
0 Likes
611

Does the ABAP trace show programs that are processed in the background?

If I find a function / program that is processed via the abap trace but it is in the background, then how can I force the system to stop at my breakpoint there?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
566

Hi,

You can't set a breakpoint in a program, run it in the background, and then have it stop at the breakpoint. However, you can stop a background work process and debug it from the process overview. You can trace programs that are running in the background, starting at any point during the execution.

Reward if helpfull...

Cheers,

Shashikanth.

3 REPLIES 3
Read only

Former Member
0 Likes
566

you can run an sql trace when the program runs in background to see which tables it goes to and the time taken, but i dont think you can force the program to stop at a brreakpoint in background

Read only

Former Member
0 Likes
566

hi check this..

after any statement use sy-batch in the program then you will catch the data in the back ground mode also in the sm37....

if sy-batch = 0.

message e000 with ' the data selected successfylly'.

endif.

regards,

venkat .

Read only

Former Member
0 Likes
567

Hi,

You can't set a breakpoint in a program, run it in the background, and then have it stop at the breakpoint. However, you can stop a background work process and debug it from the process overview. You can trace programs that are running in the background, starting at any point during the execution.

Reward if helpfull...

Cheers,

Shashikanth.