Dear all,
I have a question about inserting new line character in strings.
After googling for a while and also a search among the threads already
in this forum, it seems that CL_ABAP_CHAR_UTILITIES=>CR_LF may be
used in order to insert new line character within a given string content.
Here is what I want to have
DATA text_buffer(500) TYPE c . . . CLEAR text_buffer. CONCATENATE 'line1' CL_ABAP_CHAR_UTILITIES=>CR_LF 'line2' CL_ABAP_CHAR_UTILITIES=>CR_LF 'line3' CL_ABAP_CHAR_UTILITIES=>CR_LF INTO text_buffer. WRITE text_buffer.
What I expect to have as printed result is
line1 line2 line3
yet what I obtain is this
line1##line2##line3
Any idea? why there is no new line?
Thanks in advance,
Kind Regards,
Dariyoosh