Application Development and Automation 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: 
Read only

ABAP Unicode issue...

Former Member
0 Likes
491

ABAP gurus,

We are in the process of upgrading our SAP from 4.6C to ECC 6.0. I am trying to pass some of the programs from UCCHECK. I got following exceptions:

"XK_HEX00" must be a character-type data object (data type C, N, D, T or STRING)

"XK_HEX09" must be a character-type data object (data type C, N, D, T or STRING)

"XK_HEXLF" must be a character-type data object (data type C, N, D, T or STRING)

We have following statements in the program:

xk_hex00(1) type x value '00', "binaer null

xk_hex09(1) type x value '09', "Steuerzeichen Tabulator

xk_hexcr(1) type x value '0D', "Steuerzeichen CR

xk_hexlf(1) type x value '0A', "Steuerzeichen LF

Please help.

Thanks.

Rajesh.

2 REPLIES 2
Read only

Former Member
0 Likes
383

Please help how to convert hexadecimal values '00', '09', '0D' and '0A' in type C for unicode validation. I know there is a class called CL_ABAP_CHAR_UTILITIES. But I don't know what attribute to use for what ?

Thanks.

Regards,

Rajesh.

Read only

0 Likes
383

Hi,

Values are 09 -> tab , 0D -> carriage return

in SE24 open the class CL_ABAP_CHAR_UTILITIES. and check for tab 'attributes' with all available names

a®