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

main window division

hi,

i m new to Sap i need to divide my main window in smart form in two parts

with different printing formats having dynamic data in it. I think it is not possible

to make two main windows on one page..So hw can i solve this problm..

i will give u all one ex hw i need to print my data..

say..

heading1

subhed1 subhed2 subhed3

d1 d2 d3

---

---

---

heading 2

subhed1 subhed2 subhed3

d1 d2 d3

---

---

---

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 03, 2007 at 06:24 PM

    Hi Sweta,

    No need to divide the window. You can use BOX command to print 1st format on first half of main window and 2nd pattern on 2nd half of main window.

    Syntax:

    /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]

    /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]

    /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]

    BOX Command

    Syntax

    /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]

    Effect: draws a box of the specified size at the specified position.

    Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT, and FRAME, you must specify both a measurement and a unit of measurement. Specify the INTENSITY parameter as a percentage between 0 and 100.

    XPOS, YPOS

    Upper left corner of the box, relative to the values of the POSITION command.

    Default: Values specified in the POSITION command.

    The following calculation is performed internally to determine the absolute output position of a box on the page:

    X(abs) = XORIGIN + XPOS

    Y(abs) = YORIGIN + YPOS

    WIDTH

    Width of the box. Default: WIDTH value of the SIZE command.

    HEIGHT

    Height of the box. Default: HEIGHT value of the SIZE command.

    FRAME

    Thickness of frame.

    Default: 0 (no frame).

    INTENSITY

    Grayscale of box contents as %.

    Default: 100 (full black)

    Regards,

    bhasha

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi bhasha ,

      well my problem will not be resolve with this

      coz my data is dynamic of two different it may possible it will hv more record

      so it will exceed my box....wat i need is to control those two simultaneously

      say if on my first page of main window will take 10 records so i need five will come for first pattern and rest five for second....and then next page same like that

      i hope u got my point...if u would help me ....

      thax

      regards

      sweta

  • author's profile photo Former Member
    Former Member
    Posted on May 04, 2007 at 07:45 AM

    Hi swetha

    try to create two folders in main window itself as 1st , 2nd and declare as u want in the output

    Regards

    pavan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 22, 2008 at 05:16 PM

    create two folders in main window itself as 1st , 2nd and declare as u want in the output

    Add a comment
    10|10000 characters needed characters exceeded

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.