Inserting Symbols

Use

You can use symbols to insert program and system data as well as existing texts into your document.

SAPscript supports four types of symbols:

  • Text symbols

  • Program symbols

  • Standard icons

  • System symbols

Integration

If you know the symbol names, you can enter them directly in the dialog window Create Additional Information. You define text symbols locally in your document.

Features

Text Symbols

You define text symbols locally in your document.

You use text symbols to define recurring terms or text fragments in your document. In the document, you then use the defined symbol to insert the terms or text fragments at the desired places.

Program Symbols

The values of program symbols come from the tables of programs.

You use either the print program needed to provide the data for the SAPscript document to be printed or data defined globally in programs. The tables must exist in the ABAP Dictionary.

Standard Symbols

The standard symbols are maintained in the SAPscript table TTDTG; they are globally available to all SAPscript documents.

Standard symbols are language-dependent. The form processor replaces the symbol in the language you chose for the document. If the symbol does not exist in this language, the system does not print the symbols.

System symbols

System symbols come from global system variables.

List of system symbols

System symbol

Meaning

DATE

Current date

DAY

Day of current date

DEVICE

Output device: PRINTER, SCREEN, TELEX, FAX

HOURS

Hours of current time

MINUTES

Minutes of current time

MONTH

Month of current date

NAME_OF_MONTH

Name of the month of current date

NEXTPAGE

Number of the next page

PAGE

Page number of a SAPscript text

SECONDS

Seconds of current time

SPACE

Blank

TIME

Time

ULINE

Underscore

VLINE

Vertical line

YEAR

Year of current date

Activities

You can insert the symbols anywhere in the text. When printing or displaying the print preview of the document, the form processor replaces the symbol name with the current symbol value.