‎2007 Jul 17 3:57 AM
I want to debug the standard script.for that I've copied the script to a my zname .
I've activated the debugger.I want to debug the script by using ME9F transacton.How to do it? How to place the P.O document no into ME9F?
Regards
Srikanth.
‎2007 Jul 17 10:56 PM
Hi Srikanth,
They are two ways to debug the <b>SAPScript</b>.
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.
<b>Smartform:</b>I am afraid , we dont have any direct commands or direct procedure to debug a script. But in indirect ways we can do it.
1.Put a command line before where you want check the value of smartform and write the code "BREAK-POINT"->hardcoded debugging.
2.You can debug the function module which generates the smartform.
Regards,
Ramesh.