Skip to content

Use | to assemble text

DATA(message) = |Received HTTP code { status_code } with message { text }|.

String templates highlight better what’s literal and what’s variable, especially if you embed multiple variables in a text.

" anti-pattern
DATA(message) = `Received an unexpected HTTP ` && status_code && ` with message ` && text.
From SAP/styleguides under CC BY 3.0 — more details
Last updated on