‎2007 Jan 03 2:53 PM
‎2007 Jan 03 2:56 PM
Hi Bharat,
1) DEBUG Smartform:
One way to debug smartform is to debug the Function Module of that smartforms. If you want to debug particular smartform node that the solution would be, insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint. So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.
2). DEBUG SAPScript
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.
Hope this will help.
Regards,
Ferry Lianto
‎2007 Jan 03 2:56 PM
Go to se71.
Chose from menu: Utilities->Activate Debugger.
Then, run the transaction which would trigger the script driver program.
Regards,
Ravi
‎2007 Jan 03 2:56 PM
Hi Bharat,
1) DEBUG Smartform:
One way to debug smartform is to debug the Function Module of that smartforms. If you want to debug particular smartform node that the solution would be, insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint. So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.
2). DEBUG SAPScript
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.
Hope this will help.
Regards,
Ferry Lianto
‎2007 Jan 03 2:56 PM
run RSTXDBUG program before executing ur script or activate the debugger
‎2007 Feb 07 10:52 AM
‎2007 Nov 11 10:33 AM
Debugging of Scripts
First Method:
SE71 -- Utilitites -- Activate Debugger
Second Method:
SE38 -- RSTXDBUG --