<?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: How to convert string codepage, and replace char can not be converted. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-string-codepage-and-replace-char-can-not-be-converted/m-p/6096337#M1359545</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;Below is the syntax &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSLATE l_line FROM CODE PAGE '1500' TO CODE PAGE '1101'.&lt;/P&gt;&lt;P&gt;But this will not workin ECC6 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: vinay kolla on Sep 17, 2009 5:03 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Sep 2009 03:02:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-17T03:02:42Z</dc:date>
    <item>
      <title>How to convert string codepage, and replace char can not be converted.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-string-codepage-and-replace-char-can-not-be-converted/m-p/6096336#M1359544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to transfer SAP table data to external Oracle database, but our SAP system codepage is unicode, our external Oracel database codepage is 8300.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes user Keyed string is not codepage 8300, when I transfer these data to external Oracle database，All String will be change to '?'.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I want to get these data and convert to 8300 coagepage string, &lt;/P&gt;&lt;P&gt;example : 'Machine か - 100' change to 'Machine ? - 100'&lt;/P&gt;&lt;P&gt;Are there any ways to convert?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2009 02:46:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-string-codepage-and-replace-char-can-not-be-converted/m-p/6096336#M1359544</guid>
      <dc:creator>former_member311833</dc:creator>
      <dc:date>2009-09-17T02:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert string codepage, and replace char can not be converted.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-string-codepage-and-replace-char-can-not-be-converted/m-p/6096337#M1359545</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;Below is the syntax &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSLATE l_line FROM CODE PAGE '1500' TO CODE PAGE '1101'.&lt;/P&gt;&lt;P&gt;But this will not workin ECC6 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: vinay kolla on Sep 17, 2009 5:03 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2009 03:02:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-string-codepage-and-replace-char-can-not-be-converted/m-p/6096337#M1359545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-17T03:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert string codepage, and replace char can not be converted.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-string-codepage-and-replace-char-can-not-be-converted/m-p/6096338#M1359546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case Ecc 6 Refer to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="444804"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Vinay Kolla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2009 03:11:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-string-codepage-and-replace-char-can-not-be-converted/m-p/6096338#M1359546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-17T03:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert string codepage, and replace char can not be converted.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-string-codepage-and-replace-char-can-not-be-converted/m-p/6096339#M1359547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our system is ECC 6.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to refer to &lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="444804"&gt;&lt;/A&gt; document and tried to write some convert program as bellow, but result is not correct.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;REPORT CONVERT_4110_TO_8300.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : S4110(10) TYPE C.&lt;/P&gt;&lt;P&gt;DATA : LEN TYPE I.&lt;/P&gt;&lt;P&gt;DATA : S8300 TYPE STRING.&lt;/P&gt;&lt;P&gt;DATA : CVTI_8300 TYPE REF TO CL_ABAP_CONV_IN_CE.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS : &amp;lt;VALUE&amp;gt; TYPE X.&lt;/P&gt;&lt;P&gt;S4110 = 'AかB'.&lt;/P&gt;&lt;P&gt;ASSIGN S4110 TO &amp;lt;VALUE&amp;gt; CASTING.&lt;/P&gt;&lt;P&gt;CVTI_8300 =  CL_ABAP_CONV_IN_CE=&amp;gt;CREATE( ENCODING = '8300' INPUT = &amp;lt;VALUE&amp;gt; replacement = '*' IGNORE_CERR = 'X' ).&lt;/P&gt;&lt;P&gt;CALL METHOD CVTI_8300-&amp;gt;READ&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;        DATA = S8300&lt;/P&gt;&lt;P&gt;        LEN  = LEN&lt;/P&gt;&lt;P&gt;    EXCEPTIONS OTHERS = 1.&lt;/P&gt;&lt;P&gt;WRITE S8300.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;result : #A0K#B# # # # # # #   (I want to change 'AかB' to 'A*B')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How should I change the code to convert 'AかB' to 'A*B'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any function like 「FUNCTION 'GUI_DOWNLOAD' parameter 'REPLACEMENT'」 or 「OPEN DATASET ... IGNORING CONVERSION ERRORS REPLACEMENT CHARACTER "rc"」, the statement can replacement conversoin error character to user assign character (REPLACEMENT parameter).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 00:46:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-convert-string-codepage-and-replace-char-can-not-be-converted/m-p/6096339#M1359547</guid>
      <dc:creator>former_member311833</dc:creator>
      <dc:date>2009-09-18T00:46:18Z</dc:date>
    </item>
  </channel>
</rss>

