<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unicode changes for hex values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-changes-for-hex-values/m-p/1154101#M118350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the same problem, while changing to unicode system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example for the '1D' group separator:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: x_1D type x value 29,           " Hex 1D = Dec 29&lt;/P&gt;&lt;P&gt;         x_char.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SCMS_BIN_TO_TEXT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;     BIN_LINE        = x_1D&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;     TEXT_LINE       = x_char&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;     FAILED          = 1&lt;/P&gt;&lt;P&gt;     OTHERS          = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works quite fine for visible and unvisible characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I can help anyone,&lt;/P&gt;&lt;P&gt;ms&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Sep 2007 11:03:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-21T11:03:04Z</dc:date>
    <item>
      <title>Unicode changes for hex values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-changes-for-hex-values/m-p/1154099#M118348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; We are working on upgrade to ECC 6. 0 and we have the following program which we need to make unicode compatible. &lt;/P&gt;&lt;P&gt;In this program there is a structure which is declared as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:    begin of trans occurs 0,&lt;/P&gt;&lt;P&gt;           x     type x value '00',&lt;/P&gt;&lt;P&gt;           c_00  type c value ' ',&lt;/P&gt;&lt;P&gt;           soh   type x value '01',&lt;/P&gt;&lt;P&gt;           c_01  type c value ' ',&lt;/P&gt;&lt;P&gt;           stx   type x value '02',&lt;/P&gt;&lt;P&gt;           c_02  type c value ' ',&lt;/P&gt;&lt;P&gt;           etx   type x value '03',&lt;/P&gt;&lt;P&gt;           c_03  type c value ' ',&lt;/P&gt;&lt;P&gt;           eot   type x value '04',&lt;/P&gt;&lt;P&gt;           c_04  type c value ' ',&lt;/P&gt;&lt;P&gt;           enq   type x value '05',&lt;/P&gt;&lt;P&gt;           c_05  type c value ' ',&lt;/P&gt;&lt;P&gt;           ack   type x value '06',&lt;/P&gt;&lt;P&gt;           c_06  type c value ' ',&lt;/P&gt;&lt;P&gt;           bel   type x value '07',&lt;/P&gt;&lt;P&gt;           c_07  type c value ' ',&lt;/P&gt;&lt;P&gt;           bs    type x value '08',&lt;/P&gt;&lt;P&gt;           c_08  type c value ' ',&lt;/P&gt;&lt;P&gt;           ht    type x value '09',&lt;/P&gt;&lt;P&gt;           c_09  type c value ' ',&lt;/P&gt;&lt;P&gt;           lf    type x value '0A',&lt;/P&gt;&lt;P&gt;           c_0a  type c value ' ',&lt;/P&gt;&lt;P&gt;           vt    type x value '0B',&lt;/P&gt;&lt;P&gt;           c_0b  type c value ' ',&lt;/P&gt;&lt;P&gt;           ff    type x value '0C',&lt;/P&gt;&lt;P&gt;           c_0c  type c value ' ',&lt;/P&gt;&lt;P&gt;           cr    type x value '0D',&lt;/P&gt;&lt;P&gt;           c_0d  type c value ' ',&lt;/P&gt;&lt;P&gt;           so    type x value '0E',&lt;/P&gt;&lt;P&gt;           c_0e  type c value ' ',&lt;/P&gt;&lt;P&gt;           si    type x value '0F',&lt;/P&gt;&lt;P&gt;           c_0f  type c value ' ',&lt;/P&gt;&lt;P&gt;           dle   type x value '10',&lt;/P&gt;&lt;P&gt;           c_10  type c value ' ',&lt;/P&gt;&lt;P&gt;           dc1   type x value '11',&lt;/P&gt;&lt;P&gt;           c_11  type c value ' ',&lt;/P&gt;&lt;P&gt;           dc2   type x value '12',&lt;/P&gt;&lt;P&gt;           c_12  type c value ' ',&lt;/P&gt;&lt;P&gt;           dc3   type x value '13',&lt;/P&gt;&lt;P&gt;           c_13  type c value ' ',&lt;/P&gt;&lt;P&gt;           dc4   type x value '14',&lt;/P&gt;&lt;P&gt;           c_14  type c value ' ',&lt;/P&gt;&lt;P&gt;           nak   type x value '15',&lt;/P&gt;&lt;P&gt;           c_15  type c value ' ',&lt;/P&gt;&lt;P&gt;           syn   type x value '16',&lt;/P&gt;&lt;P&gt;           c_16  type c value ' ',&lt;/P&gt;&lt;P&gt;           etb   type x value '17',&lt;/P&gt;&lt;P&gt;           c_17  type c value ' ',&lt;/P&gt;&lt;P&gt;           can   type x value '18',&lt;/P&gt;&lt;P&gt;           c_18  type c value ' ',&lt;/P&gt;&lt;P&gt;           em    type x value '19',&lt;/P&gt;&lt;P&gt;           c_19  type c value ' ',&lt;/P&gt;&lt;P&gt;           sub   type x value '1A',&lt;/P&gt;&lt;P&gt;           c_1a  type c value ' ',&lt;/P&gt;&lt;P&gt;           esc   type x value '1B',&lt;/P&gt;&lt;P&gt;           c_1b  type c value ' ',&lt;/P&gt;&lt;P&gt;           fs    type x value '1C',&lt;/P&gt;&lt;P&gt;           c_1c  type c value ' ',&lt;/P&gt;&lt;P&gt;           gs    type x value '1D',&lt;/P&gt;&lt;P&gt;           c_1d  type c value ' ',&lt;/P&gt;&lt;P&gt;           rs    type x value '1E',&lt;/P&gt;&lt;P&gt;           c_1e  type c value ' ',&lt;/P&gt;&lt;P&gt;           us    type x value '1F',&lt;/P&gt;&lt;P&gt;           c_1f  type c value ' ',&lt;/P&gt;&lt;P&gt;         end of trans.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in order to make it unicode compatible we have to replace all the declarations involving 'type x'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;into  respective character  equivalents. This is usually done using the class 'cl_abap_char_utilities'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this can be used only for a few attributes like horizontal_tab, vertical_tab,linefeed,form feed &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc. apart from these things the structure also has many declarations which are not maintained in the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;above mentioned class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example &lt;/P&gt;&lt;P&gt;type x value '1D' group separator&lt;/P&gt;&lt;P&gt;Type x value '1E' record separator&lt;/P&gt;&lt;P&gt;Type x value '1F' unit separator&lt;/P&gt;&lt;P&gt;Type x value '11' etc are not maintained in the attributes of the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know which class to use for these values of hex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assured Points for useful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shobana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2006 10:26:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-changes-for-hex-values/m-p/1154099#M118348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-20T10:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode changes for hex values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-changes-for-hex-values/m-p/1154100#M118349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Shobana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you find the solution for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sasidhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 17:24:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-changes-for-hex-values/m-p/1154100#M118349</guid>
      <dc:creator>sasidhar_nadendla</dc:creator>
      <dc:date>2007-03-06T17:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode changes for hex values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-changes-for-hex-values/m-p/1154101#M118350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the same problem, while changing to unicode system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example for the '1D' group separator:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: x_1D type x value 29,           " Hex 1D = Dec 29&lt;/P&gt;&lt;P&gt;         x_char.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SCMS_BIN_TO_TEXT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;     BIN_LINE        = x_1D&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;     TEXT_LINE       = x_char&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;     FAILED          = 1&lt;/P&gt;&lt;P&gt;     OTHERS          = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works quite fine for visible and unvisible characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I can help anyone,&lt;/P&gt;&lt;P&gt;ms&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 11:03:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-changes-for-hex-values/m-p/1154101#M118350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T11:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode changes for hex values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-changes-for-hex-values/m-p/1154102#M118351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the 'SCMS_BIN_TO_TEXT'&amp;nbsp; in the context of uploading attachments and got a similar problem with an unicode-system. Use the function 'SO_SOLIXTAB_TO_SOLITAB', it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 10:56:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-changes-for-hex-values/m-p/1154102#M118351</guid>
      <dc:creator>thomas_runke</dc:creator>
      <dc:date>2016-01-27T10:56:28Z</dc:date>
    </item>
  </channel>
</rss>

