Including Text Modules 

Use

You use the text type Text module of the text node to refer to an existing text module in the system. This allows you to easily use texts from text modules in several forms. In addition, it is not necessary to load the entire form description to maintain these texts.

You can use text modules in two ways:

Text modules can be used cross-client and are connected to the transport and translation systems.

Prerequisites

The text module you want to include must exist in the system. To create a text module use the SAP Smart Forms initial screen.

Procedure

  1. To create a text node, call the context menu for that node in the tree structure that shall contain the text and choose Create ® Text.
  2. Enter a unique name for the node and a description (for example, business terms).
  3. On the General attributes tab select the text type Text module.
  4. Since you edit a text element, an included text, or a text module exclusively via the text node, the system stores only information on the selected type. When you change the text type, the system therefore asks for your confirmation.

  5. Enter the name of the text module in the Text name field. Or click on the black arrow and enter the name of a field to be evaluated dynamically.
  6. If you want to change the text of the text module for the current form, choose Copy. The Form Builder changes the text type to Text element and copies the text of the module into the PC Editor, where you can edit it. In this case, the original text module remains unchanged.
  7. Use the checkbox Always copy style from text to determine that the style of the text module is of higher priority than that of the text node or any style inherited from a predecessor. This is important if you specified the name of a field in step 4 (see F1 help).
  8. If required, use the Output options tab to maintain attributes for style, box and shading of the text.

Result

The system displays the node including name and description in the tree structure. It includes the relevant text itself in the moment the form is processed. If you refer to a text module, it appears in the PC Editor in read-only mode, if you copy it you can edit it.