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: 

multiple main windows in SapScript

Former Member
0 Kudos

I have been working on a sapscript and unable to figure out how to resolve this issue.

In the SECOND page of the Sapscript, there are multiple Mains

MAIN 00 Upper 4.50 CM 
MAIN 01 Upper 10.60 CM
MAIN 02 Upper 16.50 CM

I want to be able to move the MAIN 01 and MAIN 02 windows lower than what they are but unable to do it. Changing the upper limit of the window does not seem to affect it. The data from Main01 and Main02 always follows right after each other even though I have moved the main windows much lower. Has any one else faced such a problem. Thank you.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI Megan

Refer this wiki for the position of the main windows.

https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/addressprintinginSAPScripts

Regards,

Sravanthi

5 REPLIES 5

Former Member
0 Kudos

Hi,

Main window dimensions should not be changed in the pages.

Its dimensions should be same in first and second page .

Former Member
0 Kudos

hi

you can have more than one main window on a page but you canot change its width.

you can change its height.

you can position your main widow according to your wish.

for more detail refer to

http://help.sap.com/saphelp_46c/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm

The problem which you are facing comes into picture when data is more than what can be accomodated

on the same window.

better you can do one thing is to keep the main windows side by side to each other

regards

Edited by: Mohit Kumar on Feb 24, 2009 12:50 PM

Former Member
0 Kudos

HI Megan

Refer this wiki for the position of the main windows.

https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/addressprintinginSAPScripts

Regards,

Sravanthi

former_member585060
Active Contributor
0 Kudos

Hi,

Copy the script to another Zscript and try as below.

1) Goto the Page windows of the Second page.

2) Menu > Settings, in pop up window check the Graphical Form Printer check box, click ok

3) Now move the 2 and 3 Main window according to your requirment, don't change the Width. as

Main window width must be constant in all the windows, if u change here it will reflect in other pages too.

4) After changing, Menu > Settings, in pop up window un check the Graphical Form Printer check box, click ok

5) Save and Activate it.

6) Now use this Script to your print program and check it. If it works, do the same changes in ur original script.

Regards

Bala Krishna

0 Kudos

I am not trying to change the width of the Main window, that can remain the same. What I am trying to do is change the positioning of the main window. Even when I move it around using the Painter it does not do anything,