Show TOC

Integrating Texts into the Form ContextLocate this document in the navigation structure

Prerequisites

Context

You can integrate the following text types into the context of a form template:

  • Text modules that have been created in transaction SMARTFORMS (not client-specific)

  • Include texts (SAPscript texts)

  • Dynamic texts (SAPscript texts that are saved in an internal table with the line type TLINE; the table type TSFTEXT existing in the system is defined with this line type)

Restrictions

Text Type

Unsupported Elements

Supported Elements (with Restrictions)

SAP Notes

Text module

Outline paragraphs

Paragraph properties: Page protection, next paragraph on same page

Character formats: Superscript and subscript, bar codes

Special characters

System fields, such as SFSY-DATE

Hyperlinks

Tabulators, but not for aligning fields within texts

SAP characters, but not SAP symbols

894389 Information published on SAP site

863893 Information published on SAP site

Include text

SAPscript styles

Outline paragraphs

Control statements

Paragraph properties: Page protection, next paragraph on same page

Character formats: Superscript and subscript, bar codes

Special characters

System icons, such as ULINE

Standard icons

Hyperlinks

As above

As above

Procedure


  1. Call the context menu for the node under which you want to create a text node, and choose Start of the navigation path Create Next navigation step Text End of the navigation path.

  2. In the Properties of the text node, select the Text Type.

  3. To adapt the properties to the text type, confirm the selection.

  4. In Properties, under General, enter the Name and the Description of the text node.

    Note

    You cannot transfer the text name using the content of a field until runtime. To do this, enter the name of the field from the form interface.

  5. Enter the text-type-specific properties:

    Property

    Text Module

    Include Text

    Dynamic Text

    Text Name

    (Field)

    Name under which the text module is saved (or field of form interface that transfers the text name)

    Name under which the SAPscript text is saved

    Field of form interface that transfers the text name at runtime

    Text Object

    Text ID

     

    If the values are known to the system, it will enter them automatically. To create SAPscript standard texts in transaction SO10, the Text Object TEXT and the Text ID ST apply. Enter constant values in quotation marks.

    Note

    Applications define their own text objects for forms in transaction SE75. .

     

    Text Language

    Language of text in form

    Like text module

    Like text module

    Style

    Style of text

    Like text module

    Like text module

    No error if text does not exist

    Avoids an error message in form processing if the text is not yet available in the system

    Like text module

     

    Use Style from Text Module

    The style of the text module is used in the form

       

    Standard Paragraph

     

    The style that is assigned to the text node contains the format for the standard paragraphs (*). If you specify a paragraph format under Standard Paragraph, you override the paragraph format of all standard paragraphs in the include text.

     

    First Paragraph

     

    If you specify a paragraph format for the first paragraph of the include text, you override the set style. If you leave the Standard Paragraph field empty, all standard paragraphs in the include text are also formatted with this paragraph format.

     
  6. Define the processing logic and availability of the text node.

    More information:

    Defining Form Logic in the Form Context

    Organizing the Structure of the Form Context