2007 Jan 23 5:27 PM
how do we debug scripts..anybody plz give me the detailed step wise process ...helpful answers will be given points.
2007 Jan 23 5:29 PM
Hi,
Go to SE71
GIve the sapscript name..
In the menu..choose..UTILITIES -> ACTIVATE DEBUGGER.
Execute the program that is printing this form..
You will get a popup for sapscript debugging..
Press Enter button..
It will go through your texts in the sapscript..
Thanks,
Naren
2007 Jan 23 5:29 PM
Hi,
Execute the program RSTXDUBG or in SE71, in the initial screen Utilities --> Activate debugger. then execute your transaction or the Script, a popup will come press ok there, then it will go SAPSCRIP debug mode.
See my Blog below for more details about the debugging ...
/people/sudheer.junnuthula2/blog/2007/01/09/script-debugging
Regards
Sudheer
2007 Jan 23 5:39 PM
Hi,
They are two ways to debug the SAPScript.
1). Use Tools - Word Processing - Layout Set (SE71). Enter name of layout set and then Utilities - Activate Debugger.
It is of no consequence which layoutset you enter when selecting the SAPscript debugger. (Menu path: Tools-Wordprocessing - Forms, Utilities - Activate Debugger) The next layoutset called will invoke the debugger.
2). Another way to set the SAPScript debugger is to run program RSTXDBUG.
When you debug Print program it is same as you debug any other ABAP program.
While when you debug SAPScript, you actually debug the code ( scripting) you have written SAPScript Form.
Regards,
Ferry Lianto
2007 Jan 23 6:49 PM
Hi,
Errors in the print program or the form that occur when printing in dialog mode (not when printing in background mode or in the update task) can often be identified quite easily by using the SAPscript form debugger.
Activate the debugger by choosing Utilities ® Activate debugger in the Form: Request screen. You can then generate printer output in dialog.
A dialog box containing the default breakpoints appears.
Track each call of a SAPscript function module, each INCLUDE call, and each warning in the debugger.
To switch off the debugger, choose Debugger -> Exit in the debugger window.
For more information on the debugger, see Note 19104.
Regards,
Vara