Application Development and Automation 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: 
Read only

regarding scripts

Former Member
0 Likes
651

Hi....

good evening.

what is the exact difference between windows and page windows.

thanks and regards,

k.swaminath reddy.

7 REPLIES 7
Read only

Former Member
0 Likes
633

Hi,

<b>Windows</b>

Various parts of the output document can be conveniently organised on the pages using windows. Thus the data stream coming from the ABAP program can be logically grouped into various parts and can be placed on different locations on a page

There are 2 main types of windows that can be used in a layout set:

MAIN - A layout set can have only one MAIN window which is created by default. This window can flow over multiple pages.

CONSTANT - A layout set can have any number of constant windows. A constant window can be used once per page

<b>Page Windows</b>

All the windows that form a page of the layout set.

Choose the window and click the Text Elements button to go to the Layout Set Editor. This consists of 2 parts

The small space on the left is for specifying the type of command, while the window adjacent to it is for writing the command or the text that needs to go under a text element.

Reward if useful!

Read only

Former Member
0 Likes
633

Hi,

Pages

The designer needs to organise the template as a series of pages. When an actual output document is printed, it will refer to each page for putting the data coming from the ABAP program. The order of pages is also taken from the template i.e the layout set defined.

Windows

Various parts of the output document can be conveniently organised on the pages using windows. Thus the data stream coming from the ABAP program can be logically grouped into various parts and can be placed on different locations on a page

There are 2 main types of windows that can be used in a layout set:

MAIN - A layout set can have only one MAIN window which is created by default. This window can flow over multiple pages.

CONSTANT - A layout set can have any number of constant windows. A constant window can be used once per page

Regards

Read only

Former Member
0 Likes
633

hi

u create the windows and to display those windows u require page windows thatswhy u assign ur windows to page windows

regards

ravish

<b>plz dont forget to reward points if useful</b>

Read only

Former Member
0 Likes
633

Forms usually consist of individual text areas (address, date, footer, and so on). To provide these areas with texts, you must define the areas first as output areas. Then you can print the appropriate texts in these output areas, controlled by the print program. SAPscript calls such an output area a window.

A page window is the definition of a rectangular output area on the output medium (for example, DIN A4 paper page), determined by the left upper edge and the hight and width of the area. By defining page windows, you determine which windows you want to appear on a page, their sizes and their positions.

Hope this will help u to know the difference.

Regards,

Pavan

Read only

Former Member
0 Likes
633

HI,

Windows

Various parts of the output document can be conveniently organized on the pages using windows.

There are 2 main types of windows that can be used in a layout set:

MAIN - A layout set can have only one MAIN window which is created by default. This window can flow over multiple pages.

CONSTANT - A layout set can have any number of constant windows. A constant window can be used once per page

Page Windows

All the windows that form a page of the layout set.

Reward points!!

Thanks & Regards,

Vasudeva Rao

Read only

Former Member
0 Likes
633

Page Windows

All the windows that form a page of the layout set.

Choose the window and click the Text Elements button to go to the Layout Set Editor. This consists of 2 parts

The small space on the left is for specifying the type of command, while the window adjacent to it is for writing the command or the text that needs to go under a text element.

The various types of commands that can be used within a layout set are tabulated below

Command Purpose

  • Default paragraph

Blank Continuous text

= Extended Line

( Raw Line

/ Line Feed

/= Line feed and extended line

/( Line Feed and Raw Line

/: Command Line

/* Comment Line

/E Text Element

<PN> This is either the name of the paragraph that should be applicable from that line of the layout set

Pages

The designer needs to organise the template as a series of pages. When an actual output document is printed, it will refer to each page for putting the data coming from the ABAP program. The order of pages is also taken from the template i.e the layout set defined.

regards,

srinivas

<b>*reward for useful answers*</b>

Read only

Former Member
0 Likes
633

Hi,

<u><b>Page Window</b></u>

A page window is the definition of a rectangular output area on the output medium (for example, DIN A4 paper page), determined by the left upper edge and the hight and width of the area.

By defining page windows, you determine which windows you want to appear on a page, their sizes and their positions.

Note: 1. Starting with Release 4.0, the definition of page windows is required for the alphanumeric Form Painter only. If you use the graphical Form Painter, you can use the mouse to place the windows on the page (drag & drop, cut & paste). For more information on the graphical Form Painter, refer to BC - Style and Form Maintenance.

2. Starting with Release 4.0, the definition of page windows is required for the alphanumeric Form Painter only. If you use the graphical Form Painter, you can use the mouse to place the windows on the page (drag & drop, cut & paste). For more information on the graphical Form Painter, refer to BC - Style and Form Maintenance.

If you use the alphanumeric Form Painter, proceed as follows:

When defining windows and pages, you do not yet determine the position and spacing of the texts to be output. To do this, you combine a window and a form page to create a so-called page window. A page window defines the rectangular output area in the output medium (for example, DIN A4 paper page) by specifying the left upper edge of the output area and its width and hight.

When defining a page window, you determine

• which windows appear on a certain page,

• what size the windows have (width, hight),

• their position (distance between the left upper window edge and the left and upper page margins).

<u><b>Window</b></u>

Documents usually consist of different areas containing different texts (date, address, and so on). SAPscript calls such an output area window. These windows can later be positioned on different pages. Filling the different windows with the corresponding texts, is controlled by the print program or the composer, respectively.

There are 3 types of windows:

• Constant Windows (CONST)

• Variable Windows (VAR)

• Main Windows (MAIN)

<b>Constant Windows (CONST)</b>

Starting with Release 4.0, the system internally processes windows of type CONST similar to windows of type VAR. Therefore, if you create a new window, always use type VAR.

<b>Variable Windows (VAR)</b>

The contents of variable windows is processed again for each page, on which the window appears. The system outputs only as much text as fits into the window. Text exceeding the window size is truncated; the system does not trigger a page break. Unlike constant windows, the page windows declared as variable windows may have different sizes on different form pages.

<b>Main Windows (MAIN)</b>

Each form must have one window of type MAIN. Such a window is called the main window of the form. For SAPscript forms, the main window has a central meaning:

• It controls the page break.

• It contains the text body that may cover several pages.

• It allows to fix text elements at the upper and lower margins of the allocated page window (for example, for column headings).

As soon as a window of type MAIN is full, SAPscript automatically triggers a page break and continues to output the remaining text in the main window of the subsequent page. Page windows of type MAIN have the same width throughout the form. The SAPscript composer thus avoids reformatting of the text after each page break.

Regards,

Bhaskar