• String expressions can help make your ABAP code more concise and straightforward.Â
Concatenation operator &&Â :
• The concatenation operator &&, you can use to replace the CONCATENATE statement.
• While the keyword CONCATENATE only accepts operands with a character-like type (C, N, D, T, STRING), the concatenation operator && allows you to use any data type.Â
• You may still prefer to use CONCATENATE in cases where you require the SEPARATED BY addition, as the concatenation operator does not provide this.
String templates :
• String templates allow you to construct a string using literals, variables, and embedded functions.Â
• String templates are enclosed in vertical pipes ( | ). Expressions must be enclosed in curly braces with at least one space at the beginning and end.Â
Please share with your ABAP friends and follow us.
If you want to dive deeper, visit our course https://lnkd.in/d42HfjDh
Comments