‎2007 Aug 23 3:08 PM
Hi Gurus,
I have a small doubt in smartforms. I have the data in internal table. For each record one page of smartform should be developed. In scripts means we can manage it with
loop at itab.
open-form.
start-form.
write-form.
close-form.
endloop.
In smartforms how we can manage this type of scenario. Am new to smartforms. Please guide me regarding in this.
Points will be awarded.
Thanks
steve
‎2007 Aug 23 3:10 PM
smartforms create a function, the function contain the whole form.
So you have two solutions:
1.
loop at it_..
call function with the header line.
endloop.
2.
call function with the table, make a loop in the smartforms and call the windows inside.
‎2007 Aug 23 3:10 PM
smartforms create a function, the function contain the whole form.
So you have two solutions:
1.
loop at it_..
call function with the header line.
endloop.
2.
call function with the table, make a loop in the smartforms and call the windows inside.
‎2007 Aug 23 3:12 PM
Hi,
when you are creating a smartform, there is also a function module being created.
The function module name you can get in:
SMARTFORMS->Display your from->environment->function module name
Try:
LOOP AT itab
CALL FUNCTION sf_function_name.
ENDLOOP.
‎2007 Aug 23 3:31 PM
Hi Peers,
Thanks for ur quick reply. If i do like loop at itab then it will ask the dialog box for every record. Huv we can reduce that dialog form. So that when i execute that program the output will come continuously.
Thanks
Steve