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: 

sapscript box nto printed on all pages

Former Member
0 Kudos

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!!!

1 ACCEPTED SOLUTION

Former Member

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

6 REPLIES 6

Former Member
0 Kudos

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

Former Member

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

Pawan_Kesari
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member

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.