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

smarforms

Former Member
0 Likes
848

how to debug a smart form and how to transport it.

7 REPLIES 7
Read only

Former Member
0 Likes
822

Hi Vamshi,

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

Regards,

Raghav

Read only

Former Member
0 Likes
822

hi,

You can debug a smartform by placing <b>program lines</b> control where ever you want to check the values.

write the following line in the code section of program lines.

  break-point.

Regards

Sailaja.

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
822

Hi,

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.

Read only

Former Member
0 Likes
822

Hi Vamshi,

Debug SF:

For Preview :

SMARTFORM-> execute->execute->pass values if require to import & table parameters ->execute-> on the pop up window give Printer name as LP01 and press print preview.

For debugging -

1. Write BREAK POINT in the code window.

2. Put a break point on the call function in the driver program

3. Put a break point in the generated Function module.

Hope this resolves your query.

<b>Reward all the helpful answers.</b>

Regards

Read only

Former Member
0 Likes
822

hi

good

to debug->

write the hard coded break-point where ever you have doubt and run the smartform.

how to debug and how to transport smart forms

- to debug, just simply insert an ABAP code (right click on a window -> Create -> Flow logic -> Command line) into the Smartform, and write a "BREAK username." command into it.

thanks

mrutyun^

Read only

Faaiez
Product and Topic Expert
Product and Topic Expert
0 Likes
822

Hi

A smartform generates a function module if you go to Environment->Function Module Name in Tx Smartforms this will give you the name of the smarform.

You can then set a breakpoint anywhere in the function module.

The easiest way I found to transport a smartform is to make a slight change to the smartform so it requests to add it to a transport. Then change it back again.

Regards