<?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: csv file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file/m-p/4614460#M1087236</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;Maybe u can use the FM &lt;STRONG&gt;GUI_UPLOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search others forums if u need more help&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gregory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Oct 2008 21:29:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-23T21:29:25Z</dc:date>
    <item>
      <title>csv file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file/m-p/4614458#M1087234</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;Can any one let me know  how to upload data from CSV file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnks&lt;/P&gt;&lt;P&gt;abdul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 14:43:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file/m-p/4614458#M1087234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T14:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: csv file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file/m-p/4614459#M1087235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;search before,  if you know the way to upload data for another file, it will be the same. check the way youc an upload any other file, and see what you can do there to upload csv file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 14:44:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file/m-p/4614459#M1087235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T14:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: csv file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file/m-p/4614460#M1087236</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;Maybe u can use the FM &lt;STRONG&gt;GUI_UPLOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search others forums if u need more help&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gregory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 21:29:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file/m-p/4614460#M1087236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T21:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: csv file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file/m-p/4614461#M1087237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use the function GUI_UPLOAD to fill a table with only one field like a line. Then use SPLIT to pass the data to other table, like that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: BEGIN OF t_line OCCURS 0,
        line(200),
      END OF t_line.

  call function 'GUI_UPLOAD'
  exporting
    filename                = p_path
    filetype                = 'ASC'
  tables
    data_tab                = t_line[].

LOOP AT t_line.
SPLIT t_line-line AT ','
INTO field1,
     field2,
     ...,
     fieldn.
ENDLOOP.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 23:00:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file/m-p/4614461#M1087237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T23:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: csv file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file/m-p/4614462#M1087238</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;&lt;/P&gt;&lt;P&gt;Try this code, I used it in a program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:&lt;/P&gt;&lt;P&gt;        PATHFILE(128) OBLIGATORY DEFAULT 'C:\vendors.csv'.&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;CALL FUNCTION 'UPLOAD'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;          FILENAME = pathfile&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;          DATA_TAB = i_reg&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;          OTHERS   = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vendors.cvs    ---&amp;gt;  Is .xls file  (excel)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 23:01:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/csv-file/m-p/4614462#M1087238</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T23:01:06Z</dc:date>
    </item>
  </channel>
</rss>

