cancel
Showing results for 
Search instead for 
Did you mean: 

SAPSCRIPT AND SMARTFORMS DEBUGGING

Former Member
0 Kudos

HI

THIS IS NARESH

I WANT TO KNOW HOW WE CAN DEBUG A SAPSCRIPT AND SMARTFORMS

PLEASE ANY BODY CAN EXPLAIN ME HOW WE CAN DO , AND SEND ME THE DOCUMENTS ON THIS

TO nareshnelapatla@gmail.com

regards

naresh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

<b>SCRIPT DEBUGGING</b>

There are 2 separate kinds of debugging available when you try to debug scripts.

1. Debugging the print program : This is the normal debugging we do for our report programs.

2. Debugging the script itself : You Can debug a SAP Script by activating debugger in two ways:

a .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.

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

refer to the link below

http://www.howforge.com/how-to-debugging-sapscript-form

Look at the BLOG here, it is well explained

/people/sudheer.junnuthula2/blog/2007/01/09/script-debugging

<b>SMARTFORMS DEBUGGING</b>

For smartforms debugging you can do this.

1. Execute the smartform (execute button in SMARTFORMS transaction)

2. Take the generated function module and display it in SE80.

3.Find the smartforms Elements (text elements, windows, code lines, loops) in this and set Soft break points.

Correct name is SMARTFORM_TRACE. You have lots of options for adequate analysis

Tcode - SFTRACE

Regards,

Priyanka.

Answers (3)

Answers (3)

former_member196280
Active Contributor
0 Kudos

1)SAPScripts: goto SE71, utilities --> activate debugger. Once you execute you will be taken to debugging mode.

2) Smart Forms: Different ways we can debug smart forms.

1)goto tcode SFTRACE --> click "trace on"

2) Get the function module name and set break points in function module name.

3) Set break-point in program lines in your smart form.

Reward points if useful.

Regards,

SaiRam.

Former Member
0 Kudos

hi,

<b>SCRIPT</b>

by using the standard program <b>RSTXDBUG</b> we can debug the script.

before debugging the script form we can activate the debugger for that one you execute the <b>RSTXDBUG</b> program.

<b>or</b>

1) goto SE71

2) Enter form name

3) here select option <b>Utilities->ACTIVATE DEBUGGER</b>

then execute the script from the Application Transaction.

<b>SMARTFORM</b>

we use the PROGRAM LINES node to execute the abap program code,For debugging the Smartforms we keep a BREAK-POINT in the PROGRAM LINES node of the SMARTFORM.

regards,

Ashok Reddy

Former Member
0 Kudos

Hi

SCRIPT

from SE71 enter form name

from Menu Utilities->ACTIVATE DEBUGGER

then execute the script from the Application Transaction

it will stop in the script and check for the Values you need

SMARTFORM

Smartforms keep a break point in the Main Program or

IN the PROGRAM LINES of the SMARTFORM

write BREAK-POINT, where ever you need

execute the smartform it will stop there.

<b>Reward points for useful Answers</b>

Regards

Anji