on 05-15-2007 7:39 AM
Hi friends,
please let me know...how to debugg a script????In which scenarion it is required?Do we need to press the function keys(F5,F6,F7,F8),once the debugger is on???If yes then how???what will be the result???
Hi Reema Mishra,
Check this info.
First check if the script is being called. To do this do the following
Before executing the program go SE71 transaction , In the menu you will find Utilities --> Activate Debugging.
Press Activate Debugging , this will activate SAP Script debugging.
Now try executing your program, if your program calls the script then the control will come to the script and then you can Press F5 to execute it step by step.
OR
Now when you execute the program, in the selections screen, top left you will have the command window, type /h and press enter, this activates debugging for the program, now execute the program and press F5 to see step by step execution.
When the function OPEN_FORM is called, press F6 and after execution see the value of SY-SUBRC.
Hope this resolves your query.
<b>Reward all the helpful answers.</b>
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Reema,
Go to SE71 give layout set name , go to utilities select debugger mode on.
Se71->utilities->activate debugger. This may be a time-consuming process. Instead, open a session and execute the program RSTXDBUG. Even if you follow the above menu path to activate the script, it will internally execute the program RSTXDBUG. So you are saving some time in going through all of the above processes.
Pl.refer following links for more details on debugging scripts.
Debugging Document.
http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm
http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
Reward, if useful.
Thanks,
USR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Run trx SE71: Utilities->Activate debugger
After activing debugger run your print
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Go to SE71 give lay set name , go to utilities select debugger mode on.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
to debug the script run the program
RSTXDBUG..
Else put a break point where you notice the error and run the program..
the program will stop near the beark poiont.
now press F5 to step by step debug..
regrards,
nazeer
Message was edited by:
nazeer shaik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.