2008 May 19 2:30 PM
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.
2008 May 19 2:47 PM
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.
2008 May 19 2:56 PM
2008 May 19 4:53 PM
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.
2008 May 19 4:46 PM
is there any background job which you schedule for creating TO?
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |