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

debuug in background

Former Member
0 Likes
652

I have made some chnages in user exist for VL06I and I am creating a TO in background.

I want to debugg the program but it does not stop at breakpoint.

Please suggest.

Thnaks.

I have made some chnages in user exist for VL06I and I am creating a TO in background.

I want to debugg the program but it does not stop at breakpoint.

Please suggest.

Thnaks.

4 REPLIES 4
Read only

Former Member
0 Likes
610

goto any SAP mode.

type /h in your ok-code field and press enter.

once in debugger, goto menu and click Debugging -> System debugging and then Debugging -> background debugging.

now you switched on Background debugging and System debugging. NOW it definiteley should stop at your braekpoint.

Read only

0 Likes
610

Hi,

There is nothing like background debugging..

Read only

0 Likes
610

The 'dirty' way would be to create an endless loop in your user exit. Create TO and go to SM50. Now select the process you want to debug and via the menu (don't know the exact menu name) you can debug the process.

Endless loop.

DATA: lv_exit type c.

DO.

IF lv_exit IS NOT INITIAL.

EXIT.

ENDIF.

ENDDO.

While debugging, set lv_exit to 'X' and you will exit the loop and can debug your coding.

DO NOT FORGET TO DELETE THE ENDLESS LOOP AFTER TESTING!!!!!

You can also put this loop inside a condition with your user name, or the name from background user if applicable in this case.

Read only

Pawan_Kesari
Active Contributor
0 Likes
610

is there any background job which you schedule for creating TO?