<?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: Runtime error CONVT_CODEPAGE while writing file to application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-convt-codepage-while-writing-file-to-application-server/m-p/8627204#M1664492</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;if the characters included in your content are not supported in the selected Non-Unicode code page (ISO-8859-1 - in SAP 1100), you will not be able to save them. You could use the Unicode mode and create a file in UTF-8. Then all special characters should be preserved.&lt;/P&gt;&lt;P&gt;So are you able to describe&amp;nbsp; the problematic characters ?&lt;/P&gt;&lt;P&gt; Best regards,&lt;/P&gt;&lt;P&gt;Nils&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Mar 2012 12:07:44 GMT</pubDate>
    <dc:creator>nils_buerckel</dc:creator>
    <dc:date>2012-03-23T12:07:44Z</dc:date>
    <item>
      <title>Runtime error CONVT_CODEPAGE while writing file to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-convt-codepage-while-writing-file-to-application-server/m-p/8627202#M1664490</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;We are facing runtime error CONVT_CODEPAGE (Exception CX_SY_CONVERSION_CODEPAGE) while writing a file to application server. I have analysed the error and found that it is caused at transfer statement, because some characters couldn't be written to the file, due to a code page error.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Extract of short dump:&lt;/P&gt;&lt;P&gt;While a text was being converted from code page '4103' to '1100', one of&lt;/P&gt;&lt;P&gt;the following occurred:&lt;/P&gt;&lt;P&gt;- an character was discovered that could not be represented in one of&lt;/P&gt;&lt;P&gt;the two code pages;&lt;/P&gt;&lt;P&gt;- the system established that this conversion is not supported.&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Open dataset in this case is written as:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;OPEN &lt;SPAN class="L0S52"&gt;DATASET &lt;/SPAN&gt;OUT_FILE &lt;SPAN class="L0S52"&gt;FOR &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OUTPUT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;text &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;MODE&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;encoding &lt;/SPAN&gt;non&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;unicode &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'NT'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (System where error ocurred is 4.7 Unicode)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;I know that short dump can be prevented by the addition of IGNORING CONVERSION ERRORS. But this will just ignore certain characters.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Is there any other way in ABAP by which code page conversions can be controlled, so that conversions take place properly? Is there any Basis fix for this?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Thanks in&amp;nbsp; advance.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Arun Mohan&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 07:53:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-convt-codepage-while-writing-file-to-application-server/m-p/8627202#M1664490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-22T07:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error CONVT_CODEPAGE while writing file to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-convt-codepage-while-writing-file-to-application-server/m-p/8627203#M1664491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;Can you check do you have these classes in your version hope it will be there &lt;/P&gt;&lt;P&gt;cl_abap_conv_OUT_ce and cl_abap_conv_IN_ce&lt;/P&gt;&lt;P&gt;if so you can try them as well .by the above class you can&amp;nbsp; convert your codepage 4103 text into xstring, and convert it back into text of codepage 1110.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 08:13:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-convt-codepage-while-writing-file-to-application-server/m-p/8627203#M1664491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-22T08:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime error CONVT_CODEPAGE while writing file to application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-convt-codepage-while-writing-file-to-application-server/m-p/8627204#M1664492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;if the characters included in your content are not supported in the selected Non-Unicode code page (ISO-8859-1 - in SAP 1100), you will not be able to save them. You could use the Unicode mode and create a file in UTF-8. Then all special characters should be preserved.&lt;/P&gt;&lt;P&gt;So are you able to describe&amp;nbsp; the problematic characters ?&lt;/P&gt;&lt;P&gt; Best regards,&lt;/P&gt;&lt;P&gt;Nils&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 12:07:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-error-convt-codepage-while-writing-file-to-application-server/m-p/8627204#M1664492</guid>
      <dc:creator>nils_buerckel</dc:creator>
      <dc:date>2012-03-23T12:07:44Z</dc:date>
    </item>
  </channel>
</rss>

