‎2008 Jun 11 12:07 PM
hi
i have problem with debugging sap script...........
plz sugest me with solution.
regards.
‎2008 Jun 11 12:10 PM
hello dear,
what is the problem you are getting ? kindly explain your problem?
Regards
Jase
‎2008 Jun 11 12:09 PM
hi,
u can debug script by going to utilities - activate debugger
or use standard program RSTXDBUG.
reward points if hlpful.
‎2008 Jun 11 12:10 PM
hi
there are 2 separate kinds of debugging available when you try to debug scripts.
1. Debugging the print program : This is the normal debugging we do for our report programs.
2. Debugging the script itself : You Can debug a SAP Script by activating debugger in two ways:
a .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.
b. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.
refer to the link below
http://www.howforge.com/how-to-debugging-sapscript-form
Look at the BLOG here, it is well explained
/people/sudheer.junnuthula2/blog/2007/01/09/script-debugging
Reward points if Useful
‎2008 Jun 11 12:10 PM
hello dear,
what is the problem you are getting ? kindly explain your problem?
Regards
Jase
‎2008 Jun 11 12:10 PM
Hi,
in SE71 use menu Utlities -> activate debugging.
Regards
Walter Habich
‎2008 Jun 11 12:11 PM
Hi,
You need to put a break point and Test the way you are asked to( I mean the steps mentioned in your test case ). If that statement is accessed during the course of execution the debugger will definitely stop there. Please let me know if you need further details.
Regards,
Sai
‎2008 Jun 11 12:11 PM
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.
‎2008 Jun 11 12:12 PM
hi
Goto se38-> RSTXDBUG
Assigning points means saying thanx
‎2008 Jun 11 12:16 PM