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

subhed1 subhed2 subhed3

d1 d2 d3

---

---

---

subhed1 subhed2 subhed3

d1 d2 d3

---

---

---

10|10000 characters needed characters exceeded

### Related questions

• 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

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

• 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

10|10000 characters needed characters exceeded
• 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