cancel
Showing results for 
Search instead for 
Did you mean: 

how to debug smart form

Former Member
0 Kudos

hallow

i doing a smart form and i add a code to it and i wont to debug it and i dont have any icon that i can push and start it hoe can i start the debugger?

Regards

Accepted Solutions (1)

Accepted Solutions (1)

messier31
Active Contributor
0 Kudos

Hi,

there is no debug button in smartform code.

you have write

BREAK-POINT.

in your code and execute then it will stop here and you can check the var values.

Enjoy SAP.

Pankaj Singh

Answers (3)

Answers (3)

Former Member
0 Kudos

HI ,

To debug a smartform:

1 . put a breakpoint in the function module that is created in smartfroms .

2. In Global definitions initialization

2 . Create program lines and then put a break-point their in the editor .

Rightclick->create_.flow logic -> program line .

An editor will be displayed . Put a breakpoint in it .

break-point .

Regards

Former Member
0 Kudos

Hi

DEBUG Smartform:

1) One way to debug smartform is to debug the Function Module of that smartforms.

If you want to debug particular smartform node that the solution would be,

insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint.

So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.

2) SFTRACE can be used for debugging SMARTFORMS.

Read More here.

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

SMARTFORMS DEBUGGING

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

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

Regards

Anji

former_member196280
Active Contributor
0 Kudos

There are different ways of debugging smartforms.

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,

SaiRam