01-13-2009 2:18 PM
Hi experts!!
I have the following problem:
I have created a form with firstpage and itself as the nextpage.
In my main window i have created some boxes. Even though the first page is printed alright on the next pages the boxes are not printed at all!
Any idea??
Please help!!!
01-13-2009 3:19 PM
Define a new window of same height , width , left and right margins as main window....
Move the box comands from main to this new window ... copy this wnew window in all pages ...
Thanks,
Adi
01-13-2009 3:17 PM
I faced a same issue long back and the only solution i knew so far is to create the all the Boxes of a main window in a separate Window and copy that window in all pages ..
Thanks,
Adi
01-13-2009 3:19 PM
Define a new window of same height , width , left and right margins as main window....
Move the box comands from main to this new window ... copy this wnew window in all pages ...
Thanks,
Adi
01-13-2009 4:34 PM
To draw the box on every page BOX command need to be executed on each page. Put BOX command under element (/E) which is being called on each page.
If you do not have such element and if your print program is standard then you put the BOX command in some different WINDOW other than MAIN.
01-13-2009 8:52 PM
Hi Iria,
If you need to print the boxes in all the pages. You need to move those boxes to new window and you have place this window on the pagewindow. This should solve the problem.
Hope this helps you.
Regards
Sravan
01-14-2009 4:49 AM
I faced this issue recently. But in SmartForms. Since the principles of SmartForms and SAPSCRIPTS are similar I'll share my solution and see if it can be applied somehow in your SAPSCRIPT.
I had to trigger a "Go to next Page" by inserting this as a command object in the SmartForm. I had to define a condition....v_page = 'X' . So at the end of my loop object I just moved X to v_page. Then I got a second page.
I had to define which windows I wanted on the first and second pages.This is probably easier in SmartForms but I am sure the same principle exists in SAPSCRIPTS.
Good Luck.
01-14-2009 11:40 AM
Thank u all for your replies!!
Tha solution that worked was to put another window over the main window and put all the box commands in that window.