‎2006 Nov 17 1:41 PM
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?
‎2006 Nov 17 1:46 PM
Hi, just create node type 'table' to print all records of your internal table.
‎2006 Nov 17 1:47 PM
‎2006 Nov 17 1:52 PM
Goto main window of your smartform and create node type 'table'.
‎2006 Nov 17 1:58 PM
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
‎2006 Nov 17 1:47 PM
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
‎2006 Nov 17 1:51 PM
THANKS AMIT
BUT EVEN I TRIED PUTTING THE FUNC MOD IN LOOP...IN VAIN...
‎2006 Nov 19 9:53 AM
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