Application Development 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: 

Smartform

Former Member
0 Kudos

Hi,

my requirement is i want to display 10 customer addresses in 10 windows of smartforms. how can i approach .

Regards,

Suresh

1 ACCEPTED SOLUTION

former_member195383
Active Contributor
0 Kudos

create 10 windows. In each window create an address elemnt, (by right clicking and then creating)..

In each address element give the required address numbers.

Then they will be printed normally..

4 REPLIES 4

former_member195383
Active Contributor
0 Kudos

create 10 windows. In each window create an address elemnt, (by right clicking and then creating)..

In each address element give the required address numbers.

Then they will be printed normally..

Former Member
0 Kudos

Hi

In Smartform layout create 10 individual windows and pass the number range from the ADRC table as a select-options.

if you right click on each window in the smartform layout you will find the address option, pass the select-option paramater there.

With Regards

Nikunj shah

former_member262988
Active Contributor
0 Kudos

hi,

first create a main window on that create individula 10 secondary windows .

in main window create a loop (loop the table which has records of address)

now create a program line ....and inside write the code looping the table with help of count variable checking >=1 and <=10

and move those 10 records in to another internal table...

now create a command line and click for new page (under conditions of command put that count <= 10)

now under each individula windows create a program line and

use the read command ...and read that table which has 10 records(table in main window program line(another table ))

with index into workarea and display that workarea fields in that window....

similarly do create program lines for all the other 9 windows

and read table by index ...(like 2,3,4,..) and display....

and in main window after the command ,,,,,create a program line and clear the count variable.....

Former Member
0 Kudos

Hi

Good

You can create only one main window ina page and can have multiple instances of it. You can add variable and constant windows according to the requirement.This one window (main) can run through multiple pages.

Check this link.

https://forums.sdn.sap.com/click.jspa?searchID=889375&messageID=2851388

https://forums.sdn.sap.com/click.jspa?searchID=889375&messageID=2967452

Thanks

mrutyun^