Skip to Content
0
Former Member
Jan 10, 2007 at 08:40 AM

Unicode - Converting Hexa Value to Char Value

27 Views

Hi,

I am working with unicode upgrade ECC5.0. I got a problem with a statement called OVERLAY where it accepts only character data types in ECC while it accepts Hexa decimals in 4.6 Version.

Here is the structure i got

DATA: BEGIN OF REPLSET,

LINE0(16) TYPE X VALUE '000102030405060708090A0B0C0D0E0F',

LINE1(16) TYPE X VALUE '101112131415161718191A1B1C1D1E1F',

LINE2(02) TYPE X VALUE '2227',

LINE7(01) TYPE X VALUE '7F',

LINE8(13) TYPE X VALUE '8182838485868788898B8D8E8F',

LINE9(14) TYPE X VALUE '909192939495969798999B9D9E9F',

LINEA(11) TYPE X VALUE 'A0A4A6A8A9AAABACADAEAF',

LINEB(15) TYPE X VALUE 'B0B1B2B3B4B5B6B7B8B9BABBBCBDBE',

LINED(01) TYPE X VALUE 'DF',

END OF REPLSET.

I want to convert the above structure into Character data type with converted value from hexa.

Kindly suggest me a solution and their help is highly appritiated with rewards.