<?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 conversion problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157869#M456114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u check Unicode check active, then u need to use only C or N type of data while concatenating.&lt;/P&gt;&lt;P&gt;For ur requirement u need to change the field type either to C or N and then use concatenate statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Apr 2007 12:47:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-23T12:47:25Z</dc:date>
    <item>
      <title>Unicode conversion problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157867#M456112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have got the below piece of code within an ABAP program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM remove_chars_from_string CHANGING w_string.&lt;/P&gt;&lt;P&gt;  DATA: c_dropfs(10),&lt;/P&gt;&lt;P&gt;        fs  TYPE x VALUE 13.&lt;/P&gt;&lt;P&gt;  CONCATENATE fs ' , ' INTO c_dropfs.&lt;/P&gt;&lt;P&gt;  TRANSLATE w_string USING c_dropfs.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "remove_chars_from_string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i select the 'Unicode checks active' checkbox the CONCATENATE statement does not syntax check as var 'fs'  of type x value 13. Does anyone know what the value 13 does and how i would re-created this statement in a unicode compliant way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 12:41:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157867#M456112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-23T12:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode conversion problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157868#M456113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mart,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In unicode envmnt u can use only c,n,d,t, type of data in concatenate statament.&lt;/P&gt;&lt;P&gt;You cannot use a hecadecimal stmnt (i.e of type X ).&lt;/P&gt;&lt;P&gt;what u have to do is replace X with eqivalent C,N, Type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Navneeth.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 12:44:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157868#M456113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-23T12:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode conversion problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157869#M456114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u check Unicode check active, then u need to use only C or N type of data while concatenating.&lt;/P&gt;&lt;P&gt;For ur requirement u need to change the field type either to C or N and then use concatenate statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 12:47:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157869#M456114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-23T12:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode conversion problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157870#M456115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Mart,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change the code to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: c_dropfs(10),&lt;/P&gt;&lt;P&gt;fs TYPE c VALUE '#'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it solves your query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Navneeth.K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 12:47:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157870#M456115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-23T12:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode conversion problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157871#M456116</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;in additon to my earlier post the equivalent of&lt;/P&gt;&lt;P&gt;fs TYPE X VALUE 13 is&lt;/P&gt;&lt;P&gt;fs TYPE C VALUE '#'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it solves your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Navneeth.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 12:49:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157871#M456116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-23T12:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode conversion problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157872#M456117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess first we need to figure out what the hex 13 is for.  Then you could use one of the attributes of the class CL_ABAP_CHAR_UTITLIES instead of the hex field.  You can concatenate the attribute like so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: str type string.

concatenate cl_abap_char_utilites=&amp;gt;horizontial_tab ',' into str.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the above example doesn't make much sence, a tab and then a comma, but you get the idea of how to concatenate a non-printable character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attributes of this class can be used in a concatenate statement and pass unicode checks, because they are character typed, the kernal will then translate in to the hex value behind the scenes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 12:50:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157872#M456117</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-23T12:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode conversion problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157873#M456118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, i've looked up hex value 13, and it appears to be CR_LF.  So we can do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: str type string.
 
concatenate cl_abap_char_utilites=&amp;gt;CR_LF  ',' into str.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 12:53:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157873#M456118</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-23T12:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode conversion problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157874#M456119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And no, the hex value 13 does not translate to #,  you will see this # in debug when fewing a string, which contains non-printable characters, this # could actually be any non-printable characters, so if you were to search the string for "#", it would not find it, because it is not #, it is the non-printable character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 12:55:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157874#M456119</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-23T12:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode conversion problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157875#M456120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the responses, but yes I appreciate that within a unicode program you can't use hex characters and ideally I would like to replace it with an attribute from CL_ABAP_CHAR_UTITLIES, but it is which one to replace it with that I need to know. Also replacing it with &amp;#145;#&amp;#146; for the reasons Rich Heilman pointed out will not work. Also i am not sure 13 is carriage return as the hex value for this is &amp;#145;D&amp;#146; or &amp;#145;0D&amp;#146; (it is the ASCII value that is 13 for cr). The hex value 13 is in fact device controller 3 (DC3) but I have no idea what this means!!!! Anyone got any further ideas as to how this can be solved or what DC3 menas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 13:09:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157875#M456120</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-23T13:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode conversion problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157876#M456121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, yes,  you are right, I was looking in the wrong column in the chart that I found.  SOrry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 13:13:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157876#M456121</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-23T13:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode conversion problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157877#M456122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just checked the chart again, i have no idea what that is and I'm pretty sure that it is not included in the class above.. Not sure how to move foward from here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 13:16:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157877#M456122</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-23T13:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode conversion problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157878#M456123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problems Rich, thanks for your time and efforts on this matter.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 13:51:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unicode-conversion-problem/m-p/2157878#M456123</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-23T13:51:46Z</dc:date>
    </item>
  </channel>
</rss>

