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

Debugging of SAP SCRIPTS

Former Member
0 Likes
3,427

Hi ,

Wht r the steps for debugging of sap-scripts, and the wht r the steps (configuration steps ) i need to follow for making changes to an existing script.script is trigred by TC : VA03.

Many thxs

vind.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,903

SAP Script:

YOu Can debug a SAP Script by activating debugger in two ways 1.In SE71->Menu->Utilities->Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.

2. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.

for details refer this link:

http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm

13 REPLIES 13
Read only

Former Member
0 Likes
1,904

SAP Script:

YOu Can debug a SAP Script by activating debugger in two ways 1.In SE71->Menu->Utilities->Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.

2. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.

for details refer this link:

http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm

Read only

Former Member
0 Likes
1,903

Hi vind,

1. goto se71

2. enter the sapscript name

3. follow the menu

4. UTILITIES-----> ACTIVATE DEBUGGER

5. Now run your driver program,

and it will allow to debug.

regards,

amit m.

Read only

Former Member
0 Likes
1,903

hi,

run this program <b>RSTXDBUG</b>. it will automatically activate the debugger.

Regards

vijay

Read only

Former Member
0 Likes
1,903

Hi,

1) goto se71,enter the sapscript name ,UTILITIES----->

ACTIVATE DEBUGGER

2) or Use the Program name <b>RSTXLDMC</b>

Thanks

Sudheer

Read only

Former Member
0 Likes
1,903

Hai Vind

SAP Script:

YOu Can debug a SAP Script by activating debugger in two ways 1.In SE71->Menu->Utilities->Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.

2. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.

Smartform:I am afraid , we dont have any direct commands or direct procedure to debug a script. But in indirect ways we can do it.

1.Put a command line before where you want check the value of smartform and write the code "BREAK-POINT"->hardcoded debugging.

2.You can debug the function module which generates the smartform.

Thansk & regards

Sreeni

Read only

aris_hidalgo
Contributor
0 Likes
1,903

Hi,

You can debug sapscript by going to transaction SE71, then type in the name of your form then click UTILITIES->ACTIVATE DEBUGGER. Now, go to your t-code where you call your sapscript then from there you could debug your sapscript.

Regards!

Read only

Former Member
0 Likes
1,903

Hi,

You can debug sapscript by going to transaction SE71, then type in the name of your form then click UTILITIES->ACTIVATE DEBUGGER.

or

SE38->RSTXDBUG-> Execute(F8).

Debugging will activate.

Then c d print priview it will takes u to debuggung,then use F5,F6 in debugging..

Regards,

Ramesh.

Read only

Former Member
0 Likes
1,903

Step 1: Run RSTXDBUG,so that debug for sapscript wil get

activate

Step 2: Then Run print program,so it will automatically go

to debugging mode

Read only

0 Likes
1,903

Hi,

RSTXDBUG is one way to debug the SAPScript.

Go to SE 38 and enter the Print Program name and execute the program.

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

SAP script can also be debugged using the below approach:

First go to SE71

Enter the script name.

In the same screen go to Utilities->click on activate debugger option.

Instead of explictly going and activating the Debugger, it will be convinient to debug the SAP script.

Thanks,

Annapoorani M

Read only

Former Member
0 Likes
1,903

This message was moderated.

Read only

Former Member
0 Likes
1,903

first goto se38 and enter RSTXDBUG and press f8.then run va03 and issue print for the output types then it will hit the sapscript in debugging mode.

However , I hope this is discussed several times before and I wonder where is Mr.Obama , President of America to block this thread , eh?

Edited by: BrightSide on Feb 16, 2011 8:24 PM

Edited by: BrightSide on Feb 16, 2011 8:24 PM

Read only

madhu_vadlamani
Active Contributor
0 Likes
1,903

This message was moderated.

Read only

Former Member
0 Likes
1,903

Hi,

Debugging of sap scripts.

Regarding on your query follow below steps.

Goto SE38 and give program name as RSTXDBUG and execute it

(or) Goto SE71,then Utilities -> Activate Debugger

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.

Regards,

Sekhar