Start of Content Area

 Windows and Text Elements  Locate the document in its SAP Library structure

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. To refer to windows via the programming interface, each window must have a unique name.

Frequently used window names in application forms are ADDRESS, SENDER, MAIN, or PAGE.

You can assign texts to each form window. These so-called text elements are part of the form and stored together with the other form elements. Text elements also receive names. You use these names to refer to the respective text elements via the programming interface.

The control commands and variable symbols used in the editor when creating text elements correspond to the SAPscript notation used to maintain long texts.

You can create each window only once on each page, except the main window, which may appear up to 99 times on each page (for example, for printing labels). Windows may overlap, which can be of importance in certain output situations.

For more information on editing SAPscript texts, see the documentation Word Processing in the SAPscript Editor.

 

 

 

End of Content Area