‎2007 Dec 26 10:28 AM
Dear All
how to debug Sap Script form step bystep
Thanks and Regards
Suresh
‎2007 Dec 26 10:30 AM
Sap Scripts can be debugged by executing the program RSTXDBUG
OR
The Script debugger can be activated by selecting the menu option
UTILITIES > ACTIVATE DEBUG from the Initial Screen of T.Code. SE71
Reward Points if useful.
‎2007 Dec 26 10:30 AM
To debug the SAPScript follow given steps.
1. Go to SE71 and enter the SAP Script name.
2. Activate Debugger
Utilities > Activate Debugger
3. Execute the Tcode (which calls the required SAPScript)
Do the processing of the TCODE (i.e. give all the required data).
You will get a POP-UP for SAPScript Debugging when SAPScript is
called by the TCODE.
4. Click on OK to debug SAPScript.
5. Once you clock OK you will get SAPScript Debugging window.
6. Press F5 to execute each step in SAPScript.
The debug will proceed as per the calling report. Whenever any window element
is called through WRITE_FORM the debug window will navigate to that
window element. The current window, element and page will be displayed on the
topmost portion of the debug window.
7. With the window details you can easily do the required modification.
8. Unlike Report Debugging in SAPScript Debugging you can not change the field
values. If you want to change the field values you need to debug calling report and
change the values there.
‎2007 Dec 26 10:30 AM
Hi,
If you want to debug script, in SE71, in the menu bar go to 'Utilities' - click on 'Activate Debugger'.
To debug the subroutine you are calling from script, put a breakpoint in the subroutine.
Cheers,
SImha.
‎2007 Dec 26 10:32 AM
go to se71
in the tool bar u can find utilities tab in it you will find activet debugging, after that run your print program.
‎2007 Dec 26 11:00 AM
To debug a SAP Script their 2 ways........
1)Sap Scripts can be debugged by executing the program RSTXDBUG
and
2) The Script debugger can be activated by selecting the menu option
UTILITIES -> ACTIVATE DEBUG from the Initial Screen of
T.Code. SE71
Reward Points if useful.
Regards,
Chaitanya.