Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Script

Former Member
0 Likes
517

Dear All

how to debug Sap Script form step bystep

Thanks and Regards

Suresh

5 REPLIES 5
Read only

Former Member
0 Likes
490

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.

Read only

Former Member
0 Likes
490

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.

Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
490

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.

Read only

Former Member
0 Likes
490

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.

Read only

Former Member
0 Likes
490

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.