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
652

Hi...i need a small help here...

i designed a form and am able to see the output....of three fields which i have wanted...but alas i can see only one record....my question is how can we retreive multiple records on the smart forms..have even written multiple sql statements but in vain...is it that we have to put the func module in loop..?

can anyone help on this please?

7 REPLIES 7
Read only

Former Member
0 Likes
631

Hi, just create node type 'table' to print all records of your internal table.

Read only

Former Member
0 Likes
631

thank you..but where exactly?

Read only

0 Likes
631

Goto main window of your smartform and create node type 'table'.

Read only

0 Likes
631

Try doing in Tomasz's way and in the DATA tab define ur onternal table which u had passed it to the smartform.

Ex: Internal table IT_tab INTO IT_tab

Vicky

Read only

amit_khare
Active Contributor
0 Likes
631

Hi,

For viewing multiple data in smartform, use internal table same as for report.

And during display put the table in a Loop.

Regards,

Amit

You dont have to put the FM in loop.

for that use Programming window (Code Lines) of smartform.

there you may retrive all the data.

Its just for display you require Program Loop window.

Message was edited by:

Amit Khare

Read only

0 Likes
631

THANKS AMIT

BUT EVEN I TRIED PUTTING THE FUNC MOD IN LOOP...IN VAIN...

Read only

Former Member
0 Likes
631

hi,

1. in the Smartform-goto Form Interface-Tables-there u can Declare the Internal Table.

2.U can USe the Table then Select Table tab

Then Loop that Internal Table name to Structure.(i.e check the Operand),

For Ex:

ITAB Contains two Fields as ONE and TWO

Ex. ITAB in to WF_ITAB.

WF_ITAB-ONE

WF_ITAB-TWO