What does it do? String templates interpret the character combinations n>, r >, and t> as control characters>. Control Character>Meaning>Hexadecimal value (UTF-8) > n>Line feed0A r>Return0D t>Tabulator09 In place of a control character, its hexadecimal value according to the current code page is inserted into the character string created by the string template.
Latest notes:
If a control character is to be included as literal text, its special meaning can be removed by prefixing it with the escape character >.
The control characters in string templates replace the use of some attributes of the class CL_ABAP_CHAR_UTILITIES>>. NON_V5_HINTS
The control characters have no effect on classical dynpros and lists>. They appear in a list output as the #> character. However, you can see the effect in the textedit control, for example. ABAP_HINT_END
ABAP_EXAMPLE_VX5 The following example generates in code> the representation of the results of a string template with the three possible control characters in the code page UTF-8, namely 0A0D09>. The hexadecimal values 0A>, 0D>, and 09> stand for line feed, return, and tabulator. ABEXA 01318 ABAP_EXAMPLE_END
ABAP_EXAMPLE_VX5 The following example produces a three line output in the textedit control. ABEXA 01319 ABAP_EXAMPLE_END
ABAP_EXAMPLE_ABEXA String Templates, Control Characters> ABAP_EXAMPLE_END