2022 Dec 16 2:53 AM
how to insert multiple space in a string?
note: lv_string contains multiple space only
i tried
data lv_string type string.
if i debug the string is '' and the length is 0
2022 Dec 16 6:36 AM
2022 Dec 16 6:54 AM
2022 Dec 16 8:37 AM
bolivs22 and to continue what Matthew and Frederic said, when a variable of type CHAR contains trailing spaces, they are ignored by most of ABAP statements, hence not appearing in the target variable of type STRING.
2022 Dec 18 3:40 AM
` ` would be better here compared to | | as | | is to be used for strings containing variable ABAP data.