SAP STRING TEMPLATES LITERALS



Get Example source ABAP code based on a different SAP table
  



ABAP_STRINGTMPL - literal_text

ABAP_SYNTAX
c...c

What does it do?
Within a string template |...|, a literal text c...c represents the exact character string it displays. Literal text consists of all characters in c that
are not enclosed in curly brackets { }
are not control characters
are not the special characters |, {, }, or .
In particular, blanks in string templates are always significant. To display a special character |, {, }, or as a literal character, it can be prefixed with the escape character .



Latest notes:

A standalone string template that contains nothing but literal text is not handled like a literal but evaluated as an expression during runtime, even if it is not part of an expression. For such operands, a text string literal with backquotes should be used instead, for performance reasons.
NON_V5_HINTS
ABAP_HINT_END

ABAP_EXAMPLE_VX5
The following string template creates the character string shown below it.
ABEXA 01311 Characters |, {, and } have to be escaped by in literal text.
ABAP_EXAMPLE_END