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

smartform

Former Member
0 Likes
586

how to debug a smartform using sftrace

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
559

Hi,

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

Regards,

Priyanka.

4 REPLIES 4
Read only

Former Member
0 Likes
559

Hi,

Just enable the switch and execute your smartform through your print program.

Then analyze the trace.

Regards

Subramanian

Read only

Former Member
0 Likes
560

Hi,

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

Regards,

Priyanka.

Read only

Former Member
0 Likes
559

Hi chaithu deepthi,

Goto SFTRACE and there you have Trace setting in that you need to Switch on the trace and run the smart form . then come back and switch off the trace.

Now you can see form in the trace log.

Best regards,

raam

Read only

Former Member
0 Likes
559

Hi this is the proper way to set Debugger in Smartforms.

Go to Smartforms > Write smartform name> Execute>yoy will get Functionmodule name---> go to menubar >GOTO>Mainprogram and display---> than

Double click the last include INCLUDE /1BCDWB/LSF00000119F01.

'press Ctrl+F button and fine your node for code or Global or etc.

and set soft break point.

come out from that screen completely.

and Execute smartforms the smartform will stop on that point.

reward if helpful

regards,

Shyam