Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Concatenate in ECC 6 - Verif. Unicode active

Former Member
0 Kudos

Hello,

How do you convert this code, to "ABAP unicode code active" ....

Data: lv_txt TYPE text100,

lv_tab TYPE x VALUE '09'.

CONCATENATE var1 var2 var3 var4 INTO lv_txt SEPARATED BY lv_tab

¿ ?

With Unicode, ABAP instruction "concatenate" only accept character types ...

How do you form a file by example separated with tabs or with the caracter " ' "

or another ascii character ?

thanks !

1 ACCEPTED SOLUTION

Former Member
0 Kudos

instead of type x and value 09, use cl_abap_char_utilities=>horizontal_tab.

This will solve your problem...

Go to SE24 and look at the SAP declarations in the class cl_abap_char_utilities. SAP has soem types defined for these various ASCII characters which have the corresponding HEX values...

2 REPLIES 2

Former Member
0 Kudos

instead of type x and value 09, use cl_abap_char_utilities=>horizontal_tab.

This will solve your problem...

Go to SE24 and look at the SAP declarations in the class cl_abap_char_utilities. SAP has soem types defined for these various ASCII characters which have the corresponding HEX values...

0 Kudos

Thank you very very much for your help .....

Jimmy.