cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform : dynamic number of windows

Former Member
0 Kudos

Hi experts,

I need to develop an abap program + smartform as follows:

I have a selection screen where the user can give how many vensters he wants to make.

The abap program has to get a maximum number of articles from the database, and for every venster i have to print the max + 1.

Each page of the smartform can contain max of 16 windows.

For example :

Selectionscreen the user gives 100 windows.

The maximum from database : 10.

So the smartform had to contain 100 windows .

On window1 i have to ptint the value 11.

On window2 i have to ptint the value 12.

... and so on

On window100 i have to ptint the value 110.

Any suggestions ?

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

this cannot be done in smartforms. or you can try this if your 100 windows has to be of same format then loop the FM ssf_funXXX no of vensters times.

thanks,

anupama.

Former Member
0 Kudos

Inside a loop, use program node to manipulate variable and text node to print the variable value.

Hope this helps.

Former Member
0 Kudos

In smartforms we dont have any option to create dynamic windows....

Regards,

Anand Lokineni.