Application Development 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: 

Debugging Scripts

Former Member
0 Kudos
58

Hi,

Is it possible to put Breakpoints or watchpoints for the commands in script program.

Thanks,

Ramu N.

Message was edited by: Ramu Nemurgommula

3 REPLIES 3

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
34

Not sure if you can specify breakpoints, but you can definitly step thru the sapscript code. Go to SE71, click Utitilites, Activate debugger. Now when you run the print program, the debugger will step thru the sapscript. You might be able to set breakpoints/watchpoints from there.

Regards,

Rich Heilman

Former Member
0 Kudos
34

Hi Ramu,

Its not possible to put a break point in the commands in the script.You can only debug the script by Rich's way.

You can put break point in the driver program.

0 Kudos
34

After you activate the debugger, then run your print program, a dialog will appear called "Sapscript Form Degbugger: Breakpoints", it appears that you can tell it to stop at COMMANDS. Check out this dialog and see if it will work for you.

Please remember to award points for helpful answer and mark you post as solved when solved completely. Thanks.

Regards,

Rich Heilman