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

Smartforms Debugging

former_member191391
Participant
0 Likes
749

How to attach break point at loop statement in smartforms.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
719

Hi,

In any of the command lines , write the statement break-point.

Regards,

7 REPLIES 7
Read only

alex_m
Active Contributor
0 Likes
719

U have to hard code the break point statement like BREAK USER.

Reward if useful.

Thanks,

Alex

Read only

0 Likes
719

How to do that Sir

Read only

Former Member
0 Likes
719

in the loop statemnt write like this -

break Username

for e.g - break Manmeet

Read only

Former Member
0 Likes
719

Hi Manmeet,

<b>For smartforms debugging you can do this.</b>

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

Reward points if this Helps.

Manish

Read only

Former Member
0 Likes
720

Hi,

In any of the command lines , write the statement break-point.

Regards,

Read only

Former Member
0 Likes
719

Hi Manmeet,

Follow these steps.

1. Execute the smartform.It will open a FM in se37 screen.

2. Press Display.

3. Press find(CTRL+F).

4. Enter command here at which you want to put the break point.

5. Select the radio button 'in main program'.It will open the point at which you want to put the breakpoint.

6. Put the breakpoint here and execute the smartform again.It will stop at the point where you put the breakpoint.

If you face any problem reply this thread.

Regards,

Mukesh Kumar

Read only

Former Member
0 Likes
719

Hi Manmeet,

Put BREAK-POINT in the code node of the Page.

Regards

Kannaiah