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 form

Former Member
0 Likes
293

Hi Rxperts,

I am doing custom developement smart form and print program also

in my form header contains 3 fields and line items contains (headings) 8 fields

so how to loop and plz give the inputs how to pass parameters to smart form in form inter face structure

Regards

divya

1 REPLY 1
Read only

Former Member
0 Likes
262

Hi Divya,

You can pass the parameters using the 'Form Interface' section you see on the smartform.you can pass structures as well as internal tables to the form. declare them in the form interface.

for your form header you can declare a structure and you can use the fields of this structure wherever you need.so basically when you call the FM generated by the form, you will pass these values and they will show up on your form header.

for the line items you might want to declare a table in the main window. when you declare a table you will get a header(under which you can declare your headings), a main area(where you will have your variables which can be fed one at a time so that multiple records can be captured)

and a footer which you can use for any additional information to be shown at the bottom of the table.

hope this helps...