‎2005 Dec 27 2:27 PM
Hi All!
I am designing a SAPSCRIPT in the landscape orientation and the form will be used as a receipt with counter receipt divided by dotted lines in between.Now my problem is there will be two main windows(both are one and same) on the first page and iterations will run into the second page dynamically.Is there any alternative since two main windows can't exist on a single page.
regards
prasanna kumar
‎2005 Dec 27 2:36 PM
Why do you say that two main windows cannot exist on a single page. We can create 99 main windows on a single page.
‎2005 Dec 27 2:36 PM
Why do you say that two main windows cannot exist on a single page. We can create 99 main windows on a single page.
‎2006 Jan 03 2:25 PM
Hi KAvitha!
Are u sure,i don't think so.We can only create one main window on a page and several secondary windows.
‎2006 Jan 03 3:03 PM
i think we can have 99 main windows per layout not per page...
‎2006 Jan 03 3:34 PM
Hi,
We can have only one main window in smartforms, using
&SFSY-PAGE& variable we can control the main window in different pages by creating "Program lines".
For Example
data v_text(40). " place this text in MAIN window
if &SFSY-PAGE& eq 1.
move 'First Page' to v_text.
elseif &SFSY-PAGE& eq 2.
move 'Second Page' to v_text.
...
...
endif.
Thanks
Sarath.
‎2006 Jan 03 2:30 PM
Hi
Yes, u can create place upto 99 main windows in a single page. In the Page Windows attribute while adding the main window you can specify the index from 00 to 98.
The same concept is used for printing labels.
Regards
Shounak
‎2006 Jan 03 2:39 PM
Hi,
We can place more than 99 main windows also but the identification number(i.e. index) will vary from 00 to 98.
Regards,
ram
‎2006 Jan 03 9:26 PM
We can have 00 - 98 (Totally 99) Main windows in the SAP script layout.
Thanks