‎2008 Jun 20 6:19 AM
Hello ,
In unicode system how to convert char type structure to hex type structure . I am having structures as follows :
DATA: BEGIN OF HEXBYTE,
X TYPE X,
END OF HEXBYTE.
DATA: BEGIN OF CHARBYTE,
C TYPE C,
END OF CHARBYTE.
HEXBYTE-X = CHARFIELD.
CHARBYTE = HEXBYTE.
But error coming is Charbyte and HexByte are not compatible . Plz suggest!!
Thanks ,
Keith
‎2008 Jun 20 6:21 AM
Hi,
These function modules are:
NLS_STRING_CONVERT_TO_SYS (hex to char)
NLS_SRING_CONVERT_FROM_SYS (char to hex)
Regards,
Nikhil
‎2008 Jun 20 6:22 AM
Hi,
Use FM CONVERT_FROM_CHAR_SORT_RFW.It is used to Convert from character to any datatype