‎2007 Feb 26 5:33 PM
‎2007 Feb 26 5:34 PM
Hi,
GO to SE71.
In the menu..ULITITIES -> ACTIVATE DEBUGGER.
Now execute the transaction that prints..
The debugging mode will be enabled..
Thanks,
Naren
‎2007 Feb 26 5:35 PM
Hi
Run trx SE71: Utilities->Activate debugger
After activing debugger run your print.
Max
‎2007 Feb 26 5:37 PM
Hi Rakesh
For Debugging SAP Scripts & Smartforms as follows
SAP Script:
YOu Can debug a SAP Script by activating debugger in two ways 1.In SE71->Menu->Utilities->Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.
2. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.
Smartform: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
Naresh
‎2007 Feb 26 5:57 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