‎2007 Dec 05 5:08 PM
Hi all,
DATA: l_char type X value '0D0A',
l_string(255).
I am unable to concatenate due to l_char should be in (C,D,N, or sting).
If this is X then only my problem resolve.
please suggest me.
Regards
Raj
‎2007 Dec 05 5:34 PM
See if you have an attribute in the class CL_ABAP_CHAR_UTILITIES and then use that in your concatenate statement. For instance to concatenate two fields separated by a tab, you can use the following statement.
CONCATENATE field1 field2 SEPARATED BY cl_abap_char_utilities-->horizontal_tab.
‎2007 Dec 05 5:27 PM
you can move l_char value into another variable lv_temp type string.
concatenate l_string with lv_temp into lv_temp.
move lv_temp to l_char.
Hope it helps.
Lokesh
‎2007 Dec 05 5:34 PM
See if you have an attribute in the class CL_ABAP_CHAR_UTILITIES and then use that in your concatenate statement. For instance to concatenate two fields separated by a tab, you can use the following statement.
CONCATENATE field1 field2 SEPARATED BY cl_abap_char_utilities-->horizontal_tab.