<?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 code page when uploading xls files in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-page-when-uploading-xls-files/m-p/4637171#M1091776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am uploading an Excel file (extension xls) to update a SAP table in the DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I face is that some characters are transformed when comparing the excel file and the sap table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume this is related to code pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to solve during running time of the ABAP the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) find code page use for the xls file&lt;/P&gt;&lt;P&gt;b) find code page used by my abap system&lt;/P&gt;&lt;P&gt;c) translate from one to another&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not all possible/easy I could "hardcode" the code code page of my system. Second I could "harcode" the code page of the excel file, it means fix the code page used by the user creating this file.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS To upload the file I use: CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Oct 2008 13:39:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-22T13:39:09Z</dc:date>
    <item>
      <title>code page when uploading xls files</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-page-when-uploading-xls-files/m-p/4637171#M1091776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am uploading an Excel file (extension xls) to update a SAP table in the DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I face is that some characters are transformed when comparing the excel file and the sap table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume this is related to code pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to solve during running time of the ABAP the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) find code page use for the xls file&lt;/P&gt;&lt;P&gt;b) find code page used by my abap system&lt;/P&gt;&lt;P&gt;c) translate from one to another&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not all possible/easy I could "hardcode" the code code page of my system. Second I could "harcode" the code page of the excel file, it means fix the code page used by the user creating this file.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS To upload the file I use: CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 13:39:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-page-when-uploading-xls-files/m-p/4637171#M1091776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T13:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: code page when uploading xls files</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-page-when-uploading-xls-files/m-p/4637172#M1091777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using FM &lt;STRONG&gt;SCP_CODEPAGE_BY_EXTERNAL_NAME&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 13:52:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-page-when-uploading-xls-files/m-p/4637172#M1091777</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-10-22T13:52:18Z</dc:date>
    </item>
  </channel>
</rss>

