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

Smart Forms

Former Member
0 Likes
566

Hi,

Can someone suggest me Easy steps to debug a Smartform.

Thank you,

Prathima

4 REPLIES 4
Read only

Former Member
0 Likes
535

Hello,

Put a break point e.g break'user name' through program line.

Read only

Former Member
0 Likes
535

1. Find out the function module name from the smart form by executing it.

2. Open the FM in SE37.

3. Search for some string. Ex: Lets say you have a window in which you display some text using standard texts. Search for the standard text name (search in the main program).

4. Put a break point and execute.

Thanks,
Vikram.M

Read only

Former Member
0 Likes
535

Hi Prathima,

In the transaction smartforms you will have environment tab. under it you will have the function module name.note it. come to the tcode se37 provide the function module name there.now enter into the source code.put a break point where ever you want and now you can able to debug it.

Thanks

Pavan.

Read only

Former Member
0 Likes
535

Hi Prathima,

Refer the below link

http://wiki.sdn.sap.com/wiki/display/ABAP/Easy+Step+To+Debug+a+Smartform

or

You can analyze your Smart Forms using trace to watch how its works and any termination caused by errors. To administer the trace the transaction code is SFTRACE.

Steps to activate the Smart Form Trace

  • Step 1: Enter the transaction SFTRACE
  • Step 2: Choose Activate button.
  • Step 3: Select the trace level and other settings.
  • Step 4: Press Enter

Regards,

Amol.