Skip to Content
0
Former Member
Jul 11, 2007 at 04:26 PM

How to Convert a HEX value to CHAR value...Unicode Issue...

58 Views

Hi,

How can I convert HEX value to CHAR value.

The Code in <b>non Unicode</b> system is:

DATA: t_text LIKE tline OCCURS 0 WITH HEADER LINE.

constants: c_hex_20a5(2) TYPE x VALUE '20A5'.

t_text-tdline = 'seller of the item so listed. A legend of the Seller Code(s) is as'.

TRANSLATE t_text-tdline USING c_hex_20a5.

The same code give error in <b>Uni-Code</b> system:

<b>error is "c_hex_20a5 must be an character type object (C, N, D, T or String type)."</b>

If anyone know, what is the solution, please let me know.

Thanks!

Puneet.