<?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: SAP 4.6c Encoding UTF-8 CSV File into Application Server. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-4-6c-encoding-utf-8-csv-file-into-application-server/m-p/12206097#M1982326</link>
    <description>&lt;P&gt;UTF-8 is code page 4110. Do you have it in transaction code SCP?&lt;/P&gt;&lt;P&gt;If yes then use:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;OPEN DATASET filepath FOR OUTPUT IN BINARY MODE CODE PAGE '4110'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;(in TEXT MODE is also possible in 4.6C because characters and bytes could be used interchangeably; I think your 4.6C system is not a Unicode system, right? -is it even possible-)&lt;/P&gt;&lt;P&gt;Concerning the company codes/countries, you don't explain what you exactly do, and how you verify that it's UTF-8 instead of ANSI (because both are identical in old systems). Each character being non-Unicode, is encoded in one byte (you're talking about USA/Europe so I think you don't talk about CJK/DBCS), so there are 256 possible characters, the 128 first characters are identical to the 128 first characters of UTF-8, characters after 128 are rare in US ASCII (ANSI), but more frequent in Europe for encoding accentuated characters.&lt;/P&gt;</description>
    <pubDate>Thu, 07 May 2020 18:00:55 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2020-05-07T18:00:55Z</dc:date>
    <item>
      <title>SAP 4.6c Encoding UTF-8 CSV File into Application Server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-4-6c-encoding-utf-8-csv-file-into-application-server/m-p/12206096#M1982325</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;I have a requirement that we need to save a CSV file into the application server in SAP 4.6c.&lt;/P&gt;
  &lt;P&gt;*This is for 4.6c so I don't have the encoding statement.&lt;/P&gt;
  &lt;P&gt;Below part of the code:&lt;/P&gt;
  &lt;P&gt;OPEN DATASET filepath FOR OUTPUT IN TEXT MODE. &lt;/P&gt;
  &lt;P&gt;LOOP AT lt_csv INTO ls_csv.&lt;/P&gt;
  &lt;P&gt; TRANSFER ls_csv2 to filepath.&lt;/P&gt;
  &lt;P&gt;ENDLOOP.&lt;/P&gt;
  &lt;P&gt;CLOSE DATASET filepath.&lt;BR /&gt;&lt;BR /&gt;Every time I download this file the encoding is ANSI instead of UTF-8.&lt;/P&gt;
  &lt;P&gt;When I run the same program but for example, the company code is for USA the encoding automatically is UTF-8 instead of ANSI.&lt;/P&gt;
  &lt;P&gt;This change only happens for European/DACH company codes.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 17:27:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-4-6c-encoding-utf-8-csv-file-into-application-server/m-p/12206096#M1982325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-05-07T17:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAP 4.6c Encoding UTF-8 CSV File into Application Server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-4-6c-encoding-utf-8-csv-file-into-application-server/m-p/12206097#M1982326</link>
      <description>&lt;P&gt;UTF-8 is code page 4110. Do you have it in transaction code SCP?&lt;/P&gt;&lt;P&gt;If yes then use:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;OPEN DATASET filepath FOR OUTPUT IN BINARY MODE CODE PAGE '4110'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;(in TEXT MODE is also possible in 4.6C because characters and bytes could be used interchangeably; I think your 4.6C system is not a Unicode system, right? -is it even possible-)&lt;/P&gt;&lt;P&gt;Concerning the company codes/countries, you don't explain what you exactly do, and how you verify that it's UTF-8 instead of ANSI (because both are identical in old systems). Each character being non-Unicode, is encoded in one byte (you're talking about USA/Europe so I think you don't talk about CJK/DBCS), so there are 256 possible characters, the 128 first characters are identical to the 128 first characters of UTF-8, characters after 128 are rare in US ASCII (ANSI), but more frequent in Europe for encoding accentuated characters.&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 18:00:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-4-6c-encoding-utf-8-csv-file-into-application-server/m-p/12206097#M1982326</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-05-07T18:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAP 4.6c Encoding UTF-8 CSV File into Application Server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-4-6c-encoding-utf-8-csv-file-into-application-server/m-p/12206098#M1982327</link>
      <description>&lt;P&gt;46C. Not in support.&lt;BR /&gt;&lt;BR /&gt;Have you considered upgrading?&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 19:12:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-4-6c-encoding-utf-8-csv-file-into-application-server/m-p/12206098#M1982327</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2020-05-07T19:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAP 4.6c Encoding UTF-8 CSV File into Application Server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-4-6c-encoding-utf-8-csv-file-into-application-server/m-p/12206099#M1982328</link>
      <description>&lt;P&gt;What is the name of the program that works fine for USA but not for Europe ?&lt;/P&gt;&lt;P&gt;How do you download the file from the application server (AL11) ?&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 00:02:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-4-6c-encoding-utf-8-csv-file-into-application-server/m-p/12206099#M1982328</guid>
      <dc:creator>chaouki_akir</dc:creator>
      <dc:date>2020-05-08T00:02:29Z</dc:date>
    </item>
  </channel>
</rss>

