Positioning of Texts on the Form
You display all texts in the form using text nodes
. The only exception is addresses, which are displayed using their own node.
The superior node of the text node determines its use:
Examples of the Use of Text Nodes
Superior Node |
Use |
|---|---|
Secondary window |
Exact positioning of text on one or more pages |
Main window |
Output of text in relation to other nodes in the main window; output may cover several pages |
Template |
Output of texts for table cells of a static table |
Table |
Output of table contents |
Output of column headings and grand totals in tables |
|
Output of subtotals in a table |
The following text types exist:
Text element
: To enter new text in the PC Editor
Text module
: To include a text module
Include Text
: To include an existing SAPscript text
Features by Text Type
Function |
Text element |
Text module |
Include text |
|---|---|---|---|
Choose the language in which the text is to be included. This allows you to include texts in different languages in one form. |
Not possible |
Possible |
Possible |
Assign an input type for fields in the text for output as a Web form (on the Web Attributes tab page) |
Possible |
Possible |
Not possible |
Use the text node as an HTML text area for output as a Web form (on the Web Attributes tab page) |
Possible |
Possible |
Possible |
The position of the text depends on the superior node (for example, you can assign text to a table cell) as well as on the processing sequence in the tree structure. In addition, you determine the output of a text node in relation to the preceding node on the same level. You can append the text directly to the output of this node or start it in a new paragraph or a new line (by choosing the Beginning
radio button). For two subsequent text nodes, this has the following effects:
Linked Text Nodes
Setting for the Beginning of the Second Paragraph |
Meaning |
|---|---|
|
Text output starts with a new paragraph. Formatting of the text depends solely on the paragraph and character formats of the second text node. |
|
Text output starts with a new line in the same paragraph of the preceding text node. SAP Smart Forms keeps the paragraph format of the preceding text node. |
|
Text output starts immediately after the last output of the preceding text node. SAP Smart Forms keeps the paragraph format of the preceding text node. |