Tutorial by Examples

ABAP offers three different operators for declaring string- or char-like-variables SymbolsInternal TypeLengthName'...'C1-255 Charstext field literals`...`CString0-255 Charstext string literals|...|CString0-255 Charstemplate literals Note that the length-range only applies to hard coded values. Int...
String templates are a convenient way of mixing literal strings with values from variables: WRITE |Hello, { lv_name }, nice to meet you!|. It can also format things like dates. To use the logged on user's date format: WRITE |The order was completed on { lv_date DATE = USER } and can not be chan...
String and char-like variables can be concatenated using ABAP CONCATENATE command. An extra variable for storing the results is required. Example: CONCATENATE var1 var2 var3 INTO result. "result now contains the values of var1, var2 & var3 stringed together without spaces Shorthand ...

Page 1 of 1