‎2008 Mar 24 12:31 PM
can anyone tell me how to debug a standard script
(like medruck/rvorder01)
can u tell the steps
‎2008 Mar 24 12:37 PM
steps:
1. tcode se71
2. write the form name
3. goto utility menu in the same screen
4. click on activate debugger
5. goto me23n(for medruck) and give the print
6. press f5 for variable by variable
7. press f6 for line by line
8. from the menu select to navigate through text elements or windows
start with this later on you will find lot of ways to make your debugging easier
regards,
pankaj
‎2008 Mar 24 12:32 PM
Got SE71 -> utilities-> Active Debugger.
Now execute the program.
Regards,
Amit
‎2008 Mar 24 12:34 PM
Hi,
This can done in two ways:
In the form Utilities->debugger / RSTXDBUG FM for debugging script
The Procedure for debugging SAP script is:
Generally SAP script contains the Layout and corresponding print program.
First go to SE71 and enter ur script name. In the same screen go to Utilities->click on activate debugger option.
Now go to SE 38 and enter ur Print Program name and execute the program.
Now you can debug the script Page wise and window wise.
Regards,
Bhaskar
‎2008 Mar 24 12:34 PM
hi..
utilities -> active debugger.... then go to that particular tranaction and fire printout, which it is attached to particular output type in NACE transaction...
in SE38 transaction run std program RSTXDBUG......
regards,
siva
‎2008 Mar 24 12:37 PM
steps:
1. tcode se71
2. write the form name
3. goto utility menu in the same screen
4. click on activate debugger
5. goto me23n(for medruck) and give the print
6. press f5 for variable by variable
7. press f6 for line by line
8. from the menu select to navigate through text elements or windows
start with this later on you will find lot of ways to make your debugging easier
regards,
pankaj
‎2008 Mar 24 12: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,
venkat.
‎2008 Mar 24 12:41 PM
You can follow this small document also ---
When we want to debug the SAPSCRIPT, we need to first activate the debugger, we have 2 ways to activate the Debugger.
1) Execute the program RSTXDBUG
2) Go to SE71, from the initial screen enter the form name and press Utilities --> Activate Debugger
When we are in the Debug screen,
3.1) F5 will be debug filed by field, that means if a single line is having 5 fields, if we press the F5 this will do field by field,
3.2) F6 will be line by line, that means when we press the F6, it will debug the line and it will go to the next line. F7 also do the same way
3.3) F8 will be very useful when we have any include statement in the SCRIPT, if any include is there and we press the F5 or F6 then this will go that Include (normally SO10 or any transaction text), then if we want line by line debugging then we can press the F5 or F6, or if you want to execute that in a single shot then press the F8, then the debugger will be executed that include and come back to the Script debugging.
Some times in the script, we may right lengthy lines, if we want to debug that whole line, we have an option called Left/Right, this we will find the Debug screen of the script, there is a Push button, we can make use this button to debug.
We can put the breakpoints in the SCRIPT DEBUGGER also, just press the BREAKPOINT Pushbutton from the debugging screen or press EDIT --> Breakpoint
If we want to debug the print program from the SCRIPT DEBUGGER, just press SHIFT+F7 or EDIT --> ABAP Debugging
If we want to see the Windows which are defined in the forms, just press the Go to --> Form --> Windows .if we want to see the pages go to --> Form --> pages. Here we have an option to see the page wise window also go to --> Form --> page Windows
If we want to see the paragraphs which are defined in that script, press go to --> Styles --> paragraphs.
If we want to see the Character formats which are defined in that script, press go to --> Styles --> Character Strings.
If we want to see the Page formats which are defined in that script, press go to --> OTF --> Page.
If we want to see the Elements which are used in the Script, then press go to --> Text Elements --> Form Elements.
If we want to see the commands which are used in the script, press go to --> Commands --> List
Finally, if we want to exit from the SCRIPT DEBUGING, simply press Debugger --> Exit
Regards,
pankaj
‎2008 Mar 24 12:44 PM
Hello Carol,
Please, provide points to all the useful answers, its a way to say thanks to the people who have answered you.
left side you can see stars just click on that .. thats all
pankaj
‎2008 Mar 25 5:48 AM
HI,
we can debug SAP scripts , by executing the program
RSTXDBUG. or
script debugger can be activate by selecting the menu option.
utilites - Activate debug from the inital screen of SE71.