2022 Jul 07 9:16 AM
Hi experts,
I need to concatenate strings to a variable in below way.
Concatenate str1 space str2 (two strings separated by space and then next line)
str3 space str4
str5 space str6
into var1 separated by cl_abap_char_utilities=>cr_lf.
Please help me to provide solution.
Thanks in advance.
2022 Jul 07 9:38 AM
Try:
Data(VAR1) = |{ STR1 } { STR2 } \n { STR3 } { STR4 }|.
you can search for : embedded expressions : string format.
hope that help
2022 Jul 07 9:38 AM
Try:
Data(VAR1) = |{ STR1 } { STR2 } \n { STR3 } { STR4 }|.
you can search for : embedded expressions : string format.
hope that help
2022 Jul 07 12:18 PM