Windows

If you are using the graphical Form Painter, read about the Administration Screen as well.

Windows are defined in form maintenance. They represent areas that are positioned on pages – as page windows – and in which at a later time text is printed. You must define at least one window for each form. Otherwise, SAPscript cannot format the text.

You can assign window names and window types. However, note that you can define only one main window per form.

Use one of these window types:

Main window in which continuous text is printed. This is the window used by dialog users of a print program and form. For example, the body text of a letter would be entered in MAIN.

The text in the main window can extend over several pages. If the text fills one page, output continues in the window of the next and subsequent pages, as long as MAIN has been defined for these pages.

For more information, see Main Window.

Window with variable contents. The text can vary on each page in which the window is positioned. Variable windows are formatted for each page.

To every window you can assign text, which is printed in the corresponding window when the form is formatted. To assign text, use text elements, which are stored with the form.

To create and maintain text elements with the SAPscript Editor, choose Text elements. For more information, see Text Elements.

Should the text selected for the window exceed the window size, then the text is cut off.

Window with constant contents that is formatted only once.

Currently, CONST windows are processed in the same way as VAR windows. You should only use windows of type VAR.

Default Paragraph

For a particular window, you can override the default paragraph format that is set in the form header. Enter the default format that should apply in the window in the Default paragraph field in the window definition screen.