Character Strings
Used to define the fonts and the formatting and printing styles for each and every character that needs to be printed on the output document. The start of the character string is indicated by , while the end of the character string is indicated by >
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
Text Elements
Any text that needs to be written on the output document should be placed within a text element. This includes constant text as well as variable data like internal table data coming from the ABAP program.
It is advisable to group logically related data within one text element.
The fields of various tables defined in the ABAP program will be included under these text elements. These fields are carriers of data. Every field should be included in a pair of & characters. (e.g. &aufk-aufnr&)
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 |
|
|