03-31-2008 8:46 PM
Hello!
How can I use CL_ABAP_CHAR_UTILITIES=>CR_LF for concatenate separated in lines in a variable?
thanks!
Edited by: Raphael Barbosa Silva on Mar 31, 2008 9:47 PM
Edited by: Raphael Barbosa Silva on Mar 31, 2008 9:48 PM
03-31-2008 8:52 PM
Try this way
v_nl(2) type c value cl_abap_char_utilities=>cr_lf.
concatenate v_variable1 v_nl v_variable2 into v_string.
a®
03-31-2008 8:54 PM
concatenate v_msg 'text' cl_abap_char_utilities=>cr_lf into v_msg.
Kashi
03-31-2008 9:03 PM
03-31-2008 9:04 PM
concatenate 'first line' 'second line' into v_str SEPARATED BY cl_abap_char_utilities=>CR_LF.
You will see the output as
first line##second line
However when you download it into some file, output will be
first line
second line
G@urav.