<?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: Encoded .csv data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/encoded-csv-data/m-p/5366972#M1234871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That doesn't work, the program doesn't work anymore after selecting a file if I do that. This is my current FM;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename                = gv_filename&lt;/P&gt;&lt;P&gt;      has_field_separator     = 'X'&lt;/P&gt;&lt;P&gt;      FILETYPE                = 'DAT'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab                = it_klant&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      file_open_error         = 1&lt;/P&gt;&lt;P&gt;      file_read_error         = 2&lt;/P&gt;&lt;P&gt;      OTHERS                  = 17.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, the uploaded file has to be a .csv but the data just is getting through all weird now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Apr 2009 06:47:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-06T06:47:21Z</dc:date>
    <item>
      <title>Encoded .csv data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encoded-csv-data/m-p/5366970#M1234869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've uploaded a .csv file from my pc to an internal table using the FM GUI_UPLOAD. But now instead of getting the data I entered in the file: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MANDT	Business partner	Creation date	Description&lt;/P&gt;&lt;P&gt;100	1234	                3042009	                testtest&lt;/P&gt;&lt;P&gt;300	4321	                1012001	                TEST&lt;/P&gt;&lt;P&gt;200	2222	                14061987	                Test3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It outputs to the following data: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ÐÏ# ########## ##.##.#### #õÿ ##ø########À #######ÿ#######ÿ#######   &lt;/P&gt;&lt;P&gt;0.0.1.            00.00.0000                                            &lt;/P&gt;&lt;P&gt;0.0.2. ######## Í 00.00.0000                                            &lt;/P&gt;&lt;P&gt;0.0.3.            00.00.0000                                            &lt;/P&gt;&lt;P&gt;0.0.4.            00.00.0000                                            &lt;/P&gt;&lt;P&gt;0.0.5.            00.00.0000                                            &lt;/P&gt;&lt;P&gt;0.0.6.            00.00.0000                                            &lt;/P&gt;&lt;P&gt;0.0.7.            00.00.0000                                            &lt;/P&gt;&lt;P&gt;0.0.8.            00.00.0000                                            &lt;/P&gt;&lt;P&gt;0.0.9.            00.00.0000                                            &lt;/P&gt;&lt;P&gt;0.0.10. ######## Í 00.00.0000                                            &lt;/P&gt;&lt;P&gt;0.0.11. ######## Í ##.##.####                                            &lt;/P&gt;&lt;P&gt;0.0.12. #######P##   .  .###                                             &lt;/P&gt;&lt;P&gt;0.0.13.            00.00.0000                                            &lt;/P&gt;&lt;P&gt;0.0.14.            00.00.0000              &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this encoded or somthing? Please explain the problem and help me solve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help will be greatly appriciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 15:57:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encoded-csv-data/m-p/5366970#M1234869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T15:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Encoded .csv data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encoded-csv-data/m-p/5366971#M1234870</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;You need to pass the FILETYPE as DAT and HAS_FIELD_SEPARATOR = 'X' in GUI_UPLOAD FM.&lt;/P&gt;&lt;P&gt;Check proper file name is passed or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2009 16:06:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encoded-csv-data/m-p/5366971#M1234870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-03T16:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Encoded .csv data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/encoded-csv-data/m-p/5366972#M1234871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That doesn't work, the program doesn't work anymore after selecting a file if I do that. This is my current FM;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename                = gv_filename&lt;/P&gt;&lt;P&gt;      has_field_separator     = 'X'&lt;/P&gt;&lt;P&gt;      FILETYPE                = 'DAT'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab                = it_klant&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      file_open_error         = 1&lt;/P&gt;&lt;P&gt;      file_read_error         = 2&lt;/P&gt;&lt;P&gt;      OTHERS                  = 17.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, the uploaded file has to be a .csv but the data just is getting through all weird now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2009 06:47:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/encoded-csv-data/m-p/5366972#M1234871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-06T06:47:21Z</dc:date>
    </item>
  </channel>
</rss>

