cancel
Showing results for 
Search instead for 
Did you mean: 

How to debug a smart form

Former Member
0 Kudos

Hi to all

Plz tell me how to debug a smart form so that I can see the output at runtime.

Thanks & Regards'

Anubhav Gupta

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

To debugg a smartform v have to follow this steps.

Execute the smartform (execute button in SMARTFORMS transaction)

Take the generated function module and display it in SE80.

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

Correct name is SMARTFORM_TRACE.

Tcode - SFTRACE.

Regards...

Former Member
0 Kudos

hI

goto your smartform, and see you can find any program lines, if you find any set break-point in your program line.

IF not goto SMARTFORM_TRACE and activate trace on and run the smartform go back to SMARTFROM_TRACE and go through the log.

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

Former Member
0 Kudos

Hi,

Take the Generated Function Module Environment -> Function Module Name from SMARTFORM.

Go to Attributes of that FM, Double click on Program

Double click on Subroutines Include which ends with *F01.

Keep break point in one of the subroutines.

While Printing the smartform it will stops there and you can do debugging.

Reward Points if this helps,

Satish

Former Member
0 Kudos

Hi Anubhav,

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

Function module that takes form name as input and which gives the form details like pages,windows etc.,

EFG_GET_SMARTFORM_PARAMS

<b>Reward points if this helps.

Manish</b>