Showing results for 
Search instead for 
Did you mean: 

debugging of script

Former Member
0 Kudos

hii guys,

1. can we debugg form how

2. can we debugg driver program how.



Accepted Solutions (0)

Answers (4)

Answers (4)

Active Participant
0 Kudos

hi Rahul,

<b>They are two ways to debug the SAPScript.</b>

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.

<b>Check this link:</b>


Reward me if useful...........

Harimanjesh AN

Active Contributor
0 Kudos

To activate debugger for SAPscript goto SE71 and from menu, utilities--> activate debugger...

now run the program, automatically debugger gets activated.

to debug a program, type /h in command before you execute your program or set break-point inside your code.

close the thread once your question is answered.



0 Kudos

1) Follow the menu path..

SE71 - Select a Form Name in 'Form'

Utilities -> Activate Debugger

If you set it.. debugger will be activated.

2) You can use soft break point or hard code BREAK-POINT.

Active Contributor
0 Kudos

Yes we can debug both Script and the driver program.

1. Script:

Go to SE71 ... give your script name...

On the main screen itself .. Utilities > Activate Debugger...

2. Driver program

Put break point at the desired location in the code.


Naimesh Patel