Skip to Content
author's profile photo Former Member
Former Member

multiple main windows in SapScript

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2009 at 11:49 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2009 at 11:31 AM

    Hi,

    Main window dimensions should not be changed in the pages.

    Its dimensions should be same in first and second page .

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2009 at 11:42 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 24, 2009 at 12:12 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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,

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.