07-23-2008 7:21 AM
Hi,
my requirement is i want to display 10 customer addresses in 10 windows of smartforms. how can i approach .
Regards,
Suresh
07-23-2008 7:25 AM
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..
07-23-2008 7:25 AM
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..
07-23-2008 7:28 AM
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
07-23-2008 7:34 AM
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.....
07-23-2008 7:38 AM
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^