Syntax of Symbols

Each symbol has a name that is used when the symbol is called. A call to a symbol is normally made in a line of text that also includes other kinds of text. Therefore it is necessary that symbols can be distinguished from normal text, and that the call is structured in such a way that it is possible to identify it as a call to a symbol.

A string that does not satisfy all the above conditions is not interpreted as a symbol but is copied directly into the output text.

Examples of valid symbols:


Examples of invalid symbols:

&mysymbol closing delimiter missing
&my symbol& name contains blanks
&mysymbol)& name contains an invalid character
&symbol(Z& closing bracket of formatting option missing
&KNA1-UMSAT(i)& formatting option not in capitals

The symbol names themselves are not case-sensitive, that is, SAP script does not distinguish between capital and lower case letters in symbol names. These symbol names are identical:


A symbol name can contain a maximum of 130 characters. However, only the first 32 characters are used for unique identification.