Application Development 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: 

How to debaug SAP Script?

former_member502730
Participant
8 REPLIES 8

manuel_bassani
Contributor
0 Kudos

Hi,

run se71, then choose Utilities -> Activate Debugger

Regards, Manuel

Former Member
0 Kudos

Hi

Run trx SE71 and here go to: Utilities-> Activate Debugger

After run the print.

Max

Former Member
0 Kudos

Hi,

Script:In SE71 give your form name and in Utilities-->Active debugger.

Then put a break point in your print prog where ever you want to stop it.

After that you need to go to your transaction like VF03/../..etc for Invoice you need to execute it by giving Outtype.

Then your print prog and form will debugg step by step.

Thanks.

If this helps you reward with points.

Former Member
0 Kudos

Dear,

In se71 use Utilities-> Activate Debugger

Regards,

Vikas

former_member188685
Active Contributor
0 Kudos

hi,

you can run this program <b>RSTXDBUG</b> and also you can able to activate the debugger.

regards

vijay

Former Member

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

They are two ways to debug the SAPScript.

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.

Kindly reward points by clicking the star on the left of reply,if it helps.

Former Member
0 Kudos

To debug SAP Script program,the easy way of the doing it is as follows.

1.Go to script program and put a breakpoint where you want to stop the debugger.

2.Go the transaction or layout and put it in the debugging mode by either entering /h in command area and after that give the output type and try to execute the layout.

Now,the debugger will stop at the intended place and you will be able to execute the program.

Most important thing to note is in case of SAP Script , both the script layout and the program should be in debugging mode.

Please do reward me if it helps to understand and solve your problem.

Regards,

Vishwakarma.