on 06-15-2007 12:13 AM
Hi Friends,
1) Can anyone Explain Debuging a Script Clearly.
i want step by step.
2) can i put the break point and watch point in script debugging.
3) the debugging part SAME as report debugging.
plz.. i need step by step.
thanks and regards,
Hi Vijay,
It is very easy to debug a script... As already mentioned by comments above, follow the menu path Utilities --> Activate Debugger on the initial screen of SAP Script i.e. SE71...
The function keys F5, F6 , F7 and F8 serve the same purpose as they do in Report Debugging...
First you need to identify where the cause of your problem lies, if some wrong data is getting printed you need to check the print program and debugging the script will not serve any purpose... On the other hand if you are sure print program has the correct adta and the problem exists just when you are trying to display it using the script, debugging the script will be useful...
When you debug the script, you will see following information being displayed:
1. Page
2. Window
3. Function ( OPEN_FORM, WRITE_FORM, CONTROL_FORM, etc)
4. Event ( If blocks, paragraph & character formats, field values etc)
5. Element ( Elements defined in the windows)
Try and identify which element is giving you the erroneous data and rectify it...
Let me know if you have any further doubts about this issue...
Regards,
Mamata.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay,
Look at the BLOG here, it is well explained
/people/sudheer.junnuthula2/blog/2007/01/09/script-debugging
Regards
Sudheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi vijay,
following are the steps to debugg a script:
1) goto SE71 --> in menu click on utilities --> then Activate debugger.u can also execute the report RSTXDBUG in se38.
2) when u run a particular transaction that script will be getting displayed in debugging mode.
3) the debugging part for script is almost same as that of report.
4) it will give element wise value for fields. for single step use F5
hope this will help u out...
Please reward points in case usefull...
regards,
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay,
There are 2 separate kinds of debugging available when you try to debug scripts.
<b>
1. Debugging the print program</b> : This is the normal debugging we do for our report programs.
<b>
2. Debugging the script itself</b> : 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-> <b>RSTXDBUG</b> ->Execute this same as going thru in se71-> Menu, now debugger will be activated.
Regards
Aneesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes ,you can setup break point and watch point in print program.
Not in the layout
if you want to do debugging layout then Utilities ->activate debugger
Thanks
Seshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay,
Depends on your requirement ,suppose you have data problem at print program ,then you can debug print program first.
suppose if you have problem at Layout -> then use utilities -> activate debugger.
You can not write break point in layout - there no command in form painter.
Requirement for Layout debugging - You get the all data properly in print program but in layout it is coming ( Something you are using &itab-fld,suppose to be like <b>&itab-fld1&</b>
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.