2006 Jan 18 5:58 PM
2006 Jan 18 6:05 PM
You can debug very easily if your program that you want to debug is a custom program. You can put an endless loop in the code somewhere.
WHILE SY-SUBRC = 0.
CHECK SY-SUBRC = 0.
ENDWHILE.
Now go to SM50, select the work process that is running the program. Click Program/Session->Program->Debugging, it will then open the debugger and you will be looping at your endless loop. Change the value of SY-SUBRC to get out of the loop and debug as normal.
Regards,
Rich HEilman
2006 Jan 18 6:03 PM
2006 Jan 18 6:05 PM
You can debug very easily if your program that you want to debug is a custom program. You can put an endless loop in the code somewhere.
WHILE SY-SUBRC = 0.
CHECK SY-SUBRC = 0.
ENDWHILE.
Now go to SM50, select the work process that is running the program. Click Program/Session->Program->Debugging, it will then open the debugger and you will be looping at your endless loop. Change the value of SY-SUBRC to get out of the loop and debug as normal.
Regards,
Rich HEilman