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

Smartforms

Former Member
0 Likes
420

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

1 ACCEPTED SOLUTION
Read only

FredericGirod
Active Contributor
0 Likes
398

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.

3 REPLIES 3
Read only

FredericGirod
Active Contributor
0 Likes
399

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.

Read only

Former Member
0 Likes
398

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.

Read only

0 Likes
398

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