cancel
Showing results for 
Search instead for 
Did you mean: 

Script debugging issue

Former Member
0 Kudos

Hi,

I'm new to scripts.I'm familiar with one way of debugging of a script .By going to Utilities-> active debugger.

Could anyone tell about any other possible ways of debugging of a script and various advantages of invidividual ways of debugging.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

As far as i know

1. Utilities -> Activate debugger (Option of either Interactive or Trace)

See this Note 19104 - Information on the SAPscript layout set debugger

2. Placing breakpoints in the control program

Note 143334 - How to debug a SAPSCRIPT control program

Regards

Answers (6)

Answers (6)

Former Member
0 Kudos

well, then you know ALL possibilities to debug a sap-script.

All you can do is activate script debugging, either like you mentioned or by "RSTXDEBUG".

There is no difference.

you can not set break points in your form or such if you were looking for that.

if you need to debug something on page 27 you aint got any other chance than debugging 26 pages first.

Former Member
0 Kudos

Hi....

The Procedure for debugging SAP script is:

1) Go to SE71 and enter script name. Go to Utilities-> click on activate debugger option.

Now go to se38 and enter your print program and execute the program.

Another way to debug script is:

Run the Standard program RSTXDBUG.

Regards,

Venu

Former Member
0 Kudos

Hi

You can debug the script by ging to SE71->Utilities->activate debugger. and Go to se38 run the program RSTXDBUG So that u will get a status messsage that SAP script form debugger is activated.

Regards.

Former Member
0 Kudos

Hi.

below are the ways to debug a script form(SE71)

1) Give your form name.

2) Goto form Utilities->debugger and click on activate debugger option.

Run your print program then you can see your form in debugmode (you can debug page and window wise).

We have standard report for debugging SAP script i.e is RSTXDBUG.

Regards,

Raj.

Former Member
0 Kudos

Hi,

open a session and execute the program RSTXDBUG . After that you need to go to your transaction like vf02/VF03 for Billing Documents and choose Billing Document->Issue->select the output type and

choose Print preview ,it auomatically takes to you to debugging mode.

Another advantage of using this program: when a developer works in the support environment and the client requests to makes some changes to a form, but doesn't know which form, he can just show the form output and request for changes.

Example: Transaction Code HRBEN0001. This contains a confirmation form, benefits form and others.

In this scenario, just open the other session and run the program RSTXDBUG program, click a push button on the transaction code and if a form is associated with that button it is automatically opened in debug mode. Once the form is in debug mode you can find the form name then open one more session and make the changes to the form while debugging it.

Former Member
0 Kudos

Hi....

here is some ways to debug a script.

In the form Utilities->debugger / RSTXDBUG FM for debugging script

The Procedure for debugging SAP script is:

Generally SAP script contains the Layout and corresponding print program.

First go to SE71 and enter ur script name. In the same screen go to Utilities->click on activate debugger option.

Now go to SE 38 and enter ur Print Program name and execute the program.

Now you can debug the script Page wise and window wise.

We have standard report for debugging SAP script i.e is RSTXDBUG.

Regards,

KP.