Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Processing Internal Data →  Character String and Byte String Processing →  Expressions and Functions for String Processing →  string_exp - String Expressions →  string_exp - String Templates 

String Templates - control_characters

Other versions: 7.31 | 7.40 | 7.54

Syntax


 ... \n ... \r ... \t ...

Effect

String templates interpret the character combinations \n, \r, and \t as control characters.

Control Character Meaning Hexadecimal Value
\n line break 0A
\r return 0D
\t tabulator 09

A control character is replaced by its hexadecimal value (appropriate to the current code page) in the memory of the character string created by the string template.


Note

If you want to display a control character as literal text, you can escape it by prefixing it with \.