Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3255

Unicode error for type x

$
0
0

  Hi SAP Experts,


  I am working on a SAP system upgrade in which an include is have some data definitions which are no longer valid in Unicode systems.

  I learned from the below link that type 'X' is no longer valid in Unicode systems.

   http://help.sap.com/saphelp_nw70ehp1/helpdata/ja/79/c554d9b3dc11d5993800508b6b8b11/content.htm

 

   Now in order to make it unicode compatible we have to replace all the declarations & command lines involving 'type x'

   into  respective character  equivalents. This is usually done using the class 'cl_abap_char_utilities'.

   But this class can be used only for a few attributes like horizontal_tab, vertical_tab,linefeed,form feed.


  Hence, I need to modify some data definitions like the below but I can't find any CLASS METHOD for '81', '9F', 'E0', 'FC'.


  DATA:$$sjis_1f TYPE x VALUE '81'.

  DATA:$$sjis_1t TYPE x VALUE '9F'.

  DATA:$$sjis_2f TYPE x VALUE 'E0'.

  DATA:$$sjis_2t TYPE x VALUE 'FC'.

 

I tried the below two ways but they are not working:

 

$$sjis_1f_new = CL_ABAP_CONV_IN_CE=>UCCP( '0081' ).

 

CALL METHOD CL_ABAP_CONV_IN_CE=>UCCP

EXPORTING

UCCP = $$sjis_1f

RECEIVING

CHAR = $$sjis_1f_new.

 

Do you know which class to use for these values of hex.

 

<Removed by moderator>

 

Best Reagrds,

Lucy

 

Message was edited by: Matthew Billingham


Viewing all articles
Browse latest Browse all 3255

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>