‎2009 Dec 29 11:18 AM
Hi all,
I am doing unicode conversion for a program. I checked Unicode conversion active option in Attributes of my report and checked for compatibility in UCCHECK tcode. There is one field used in this report of data type X. So in UCCHECK , system shows only fields of type C,N,D,T should be used in unicode system. Please suggest which data type I can usein alternate to this hexadecimal type. What is the exact use of Hexadecimal data type fields in ABAP?
Thanks.
‎2009 Dec 29 2:12 PM
Jaya,
use CL_ABAP_CONV_IN_CE=>UCCP( '002C' ).
check this link for more details..http://help.sap.com/saphelp_nw04/helpdata/en/79/c554d9b3dc11d5993800508b6b8b11/frameset.htm
you will get more information on hexa decimal related.
Thanks and regards.
‎2009 Dec 29 11:49 AM
Hello,
What does the hexadecimal value hold? Post how it is declared or check if any of CL_ABAP_CHAR_UTILLITIES methods will help.
Vikranth
‎2009 Dec 29 11:56 AM
Read first some documentation like [Character String Processing|http://help.sap.com/saphelp_nw2004s/helpdata/en/79/c554d9b3dc11d5993800508b6b8b11/frameset.htm], usually hexadecimal fields contain control characters (line feed, carriage return, tabulations and the like), so use constants of class [CL_ABAP_CHAR_UTILITIES|http://help.sap.com/abapdocu_70/en/ABENCL_ABAP_CHAR_UTILITIES.htm].
Regards,
Raymond
‎2009 Dec 29 1:26 PM
Hi ,
I got some idea now. In my program they gave code like this.
data : D_UDF_XCHAR TYPE X.
IF D_UDF_XCHAR EQ '09' OR D_UDF_XCHAR EQ '2C'.
...................
ENDIF.
I found the value of 09 as CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB
but I didn't get any attribute with value 2C.Could you suggest please.
Thanksfor reply.
‎2009 Dec 29 1:44 PM
‎2009 Dec 29 2:18 PM
‎2009 Dec 29 2:27 PM
That's right. [http://msdn.microsoft.com/en-us/library/60ecse8t(VS.80).aspx] this site cheated me though i dint notice the correction at the bottom
‎2009 Dec 29 2:12 PM
Jaya,
use CL_ABAP_CONV_IN_CE=>UCCP( '002C' ).
check this link for more details..http://help.sap.com/saphelp_nw04/helpdata/en/79/c554d9b3dc11d5993800508b6b8b11/frameset.htm
you will get more information on hexa decimal related.
Thanks and regards.
‎2009 Dec 29 2:43 PM
I faced similar issue regarding the unicode conversion during the upgrade. The program had X data type defined and after upgrade it was giving dump. I changed that type to data type C and it worked. You can try check this out.
Saurabh.