<?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: upload csv file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file/m-p/924867#M59646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;types: begin of flat_itab,&lt;/P&gt;&lt;P&gt;rec(500) type c,&lt;/P&gt;&lt;P&gt;end of flat_itab.&lt;/P&gt;&lt;P&gt;Data: begin of new_itab occurs 0,&lt;/P&gt;&lt;P&gt;field1(10) type c,&lt;/P&gt;&lt;P&gt;field2(20) type c,&lt;/P&gt;&lt;P&gt;field3(10) type c,&lt;/P&gt;&lt;P&gt;field4(10) type c,&lt;/P&gt;&lt;P&gt;field5(10) type c,&lt;/P&gt;&lt;P&gt;field6(10) type c,&lt;/P&gt;&lt;P&gt;field7(10) type c,&lt;/P&gt;&lt;P&gt;field8(100) type c,&lt;/P&gt;&lt;P&gt;end of new_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: data_tab type table of flat_itab.&lt;/P&gt;&lt;P&gt;data: fname type string.&lt;/P&gt;&lt;P&gt;fname = 'C:\sun\rs3text.csv'.&lt;/P&gt;&lt;P&gt;call method cl_gui_frontend_services=&amp;gt;gui_upload&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;filename = fname&lt;/P&gt;&lt;P&gt;changing&lt;/P&gt;&lt;P&gt;data_tab = data_tab&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;no_batch = 3&lt;/P&gt;&lt;P&gt;gui_refuse_filetransfer = 4&lt;/P&gt;&lt;P&gt;invalid_type = 5&lt;/P&gt;&lt;P&gt;no_authority = 6&lt;/P&gt;&lt;P&gt;unknown_error = 7&lt;/P&gt;&lt;P&gt;bad_data_format = 8&lt;/P&gt;&lt;P&gt;header_not_allowed = 9&lt;/P&gt;&lt;P&gt;separator_not_allowed = 10&lt;/P&gt;&lt;P&gt;header_too_long = 11&lt;/P&gt;&lt;P&gt;unknown_dp_error = 12&lt;/P&gt;&lt;P&gt;access_denied = 13&lt;/P&gt;&lt;P&gt;dp_out_of_memory = 14&lt;/P&gt;&lt;P&gt;disk_full = 15&lt;/P&gt;&lt;P&gt;dp_timeout = 16&lt;/P&gt;&lt;P&gt;others = 17.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at data_tab.&lt;/P&gt;&lt;P&gt;split data_itab at ',' into new_itab-field1&lt;/P&gt;&lt;P&gt;new_itab-field2&lt;/P&gt;&lt;P&gt;new_itab-field3&lt;/P&gt;&lt;P&gt;new_itab-field4&lt;/P&gt;&lt;P&gt;new_itab-field5&lt;/P&gt;&lt;P&gt;new_itab-field6&lt;/P&gt;&lt;P&gt;new_itab-field7&lt;/P&gt;&lt;P&gt;new_itab-field8.&lt;/P&gt;&lt;P&gt;append new_itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually my file is CSV tab delimited file..how to proceed. when i compile this i get compile error saying&lt;/P&gt;&lt;P&gt;"data_tab contains no header." INTO WA.....&lt;/P&gt;&lt;P&gt;why&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jan 2005 16:21:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-01-19T16:21:58Z</dc:date>
    <item>
      <title>upload csv file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file/m-p/924860#M59639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey&lt;/P&gt;&lt;P&gt;when i try to compile below GUI_UPLOAD method, i get below error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"ITAB IS NOT TYPE-COMPATIBLE WITH FORMAL PARAMETER DATA_TAB."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i declared internal table as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;         TRKORRNUM LIKE ZMW0001-TRKORRNUM,&lt;/P&gt;&lt;P&gt;         CLIENT LIKE ZMW0001-CLIENT,&lt;/P&gt;&lt;P&gt;         IMPORTDAY TYPE STRING,&lt;/P&gt;&lt;P&gt;         CONVERTFILENAME LIKE ZMW0001-CONVERTFILENAME,&lt;/P&gt;&lt;P&gt;         TRANSNO LIKE ZMW0001-TRANSNO,&lt;/P&gt;&lt;P&gt;         EXETIMING LIKE ZMW0001-EXETIMING,&lt;/P&gt;&lt;P&gt;         PRETRKORRNUM LIKE ZMW0001-PRETRKORRNUM,&lt;/P&gt;&lt;P&gt;         MEMO LIKE ZMW0001-MEMO,&lt;/P&gt;&lt;P&gt;       END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD TEST-&amp;gt;GUI_UPLOAD&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    filename                      = Sourcepath&lt;/P&gt;&lt;P&gt;    FILETYPE                      = 'ASC'&lt;/P&gt;&lt;P&gt;    has_field_separator           = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HEADER_LENGTH                 = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  READ_BY_LINE                  = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   FILELENGTH                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HEADER                        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;    data_tab                     = itab&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;   no_batch                      = 3&lt;/P&gt;&lt;P&gt;   gui_refuse_filetransfer       = 4&lt;/P&gt;&lt;P&gt;   invalid_type                  = 5&lt;/P&gt;&lt;P&gt;   no_authority                  = 6&lt;/P&gt;&lt;P&gt;   unknown_error                 = 7&lt;/P&gt;&lt;P&gt;   bad_data_format               = 8&lt;/P&gt;&lt;P&gt;   header_not_allowed            = 9&lt;/P&gt;&lt;P&gt;   separator_not_allowed         = 10&lt;/P&gt;&lt;P&gt;   header_too_long               = 11&lt;/P&gt;&lt;P&gt;   unknown_dp_error              = 12&lt;/P&gt;&lt;P&gt;   access_denied                 = 13&lt;/P&gt;&lt;P&gt;   dp_out_of_memory              = 14&lt;/P&gt;&lt;P&gt;   disk_full                     = 15&lt;/P&gt;&lt;P&gt;   dp_timeout                    = 16&lt;/P&gt;&lt;P&gt;   OTHERS                        = 17.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SYST FIELDS ARE NOT SET BY THIS FUNCTION SO DISPLAY THE ERROR CODE *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE E001.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please tell why.&lt;/P&gt;&lt;P&gt;ambichan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2005 14:56:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file/m-p/924860#M59639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-19T14:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: upload csv file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file/m-p/924861#M59640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can not directly upload the file into your internal table.  My suggestion is to upload into a flat structured internal table.  Then loop at that internal table and parse out the string into your fields of the other internal table.  You are getting that error message because you must define you internal table to be compatiable with the DATA_TAB parameter of the method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2005 15:04:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file/m-p/924861#M59640</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-01-19T15:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: upload csv file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file/m-p/924862#M59641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey &lt;/P&gt;&lt;P&gt;i cant use FM GUI_UPLOAD to upload in flat file.&lt;/P&gt;&lt;P&gt;do u have any seperate method to upload in flat file?&lt;/P&gt;&lt;P&gt;pls let me know.&lt;/P&gt;&lt;P&gt;ambichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2005 15:11:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file/m-p/924862#M59641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-19T15:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: upload csv file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file/m-p/924863#M59642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report zrich_0004.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of tdata_tab,&lt;/P&gt;&lt;P&gt;       rec(500) type c,&lt;/P&gt;&lt;P&gt;       end of tdata_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: data_tab type table of tdata_tab.&lt;/P&gt;&lt;P&gt;data: filename type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_file type localfile default&lt;/P&gt;&lt;P&gt;            'C:\test.txt'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_file.&lt;/P&gt;&lt;P&gt;  call function 'KD_GET_FILENAME_ON_F4'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            static    = 'X'&lt;/P&gt;&lt;P&gt;       changing&lt;/P&gt;&lt;P&gt;            file_name = p_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  filename = p_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call method cl_gui_frontend_services=&amp;gt;gui_upload&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      filename                = filename&lt;/P&gt;&lt;P&gt;    changing&lt;/P&gt;&lt;P&gt;      data_tab                = data_tab&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;      no_batch                = 3&lt;/P&gt;&lt;P&gt;      gui_refuse_filetransfer = 4&lt;/P&gt;&lt;P&gt;      invalid_type            = 5&lt;/P&gt;&lt;P&gt;      no_authority            = 6&lt;/P&gt;&lt;P&gt;      unknown_error           = 7&lt;/P&gt;&lt;P&gt;      bad_data_format         = 8&lt;/P&gt;&lt;P&gt;      header_not_allowed      = 9&lt;/P&gt;&lt;P&gt;      separator_not_allowed   = 10&lt;/P&gt;&lt;P&gt;      header_too_long         = 11&lt;/P&gt;&lt;P&gt;      unknown_dp_error        = 12&lt;/P&gt;&lt;P&gt;      access_denied           = 13&lt;/P&gt;&lt;P&gt;      dp_out_of_memory        = 14&lt;/P&gt;&lt;P&gt;      disk_full               = 15&lt;/P&gt;&lt;P&gt;      dp_timeout              = 16&lt;/P&gt;&lt;P&gt;      others                  = 17.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  check sy-subrc  = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2005 15:28:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file/m-p/924863#M59642</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-01-19T15:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: upload csv file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file/m-p/924864#M59643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the file have to be csv, because if you convert it to tab delimeted I belive your original code will work. see &lt;A href="http://www.sapdevelopment.co.uk/file/file_uptabpc.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/file/file_uptabpc.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2005 15:48:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file/m-p/924864#M59643</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-19T15:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: upload csv file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file/m-p/924865#M59644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey&lt;/P&gt;&lt;P&gt;thanks for your code.&lt;/P&gt;&lt;P&gt;but i want to confirm onething.&lt;/P&gt;&lt;P&gt;problem here is..i cant use GUI_UPLOAD FM to upload data&lt;/P&gt;&lt;P&gt;as because my code should support enterprise and other versions.&lt;/P&gt;&lt;P&gt;well.Now i am following below steps.&lt;/P&gt;&lt;P&gt;1-using Method GUI_UPLOAD.&lt;/P&gt;&lt;P&gt;2-i confirmed sy-subrc =0 after this method exec&lt;/P&gt;&lt;P&gt;3-whats the next step.?&lt;/P&gt;&lt;P&gt;do we have sample code for parsing by records&lt;/P&gt;&lt;P&gt;from upload flat table?&lt;/P&gt;&lt;P&gt;why using method is so tedious then FM..was what we doing&lt;/P&gt;&lt;P&gt;is the only way to upload data..&lt;/P&gt;&lt;P&gt;using GUI_UPLOAD FM makes so simpled to upload..but here&lt;/P&gt;&lt;P&gt;looks so many steps...anyway pls guide me&lt;/P&gt;&lt;P&gt;ambichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2005 15:57:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file/m-p/924865#M59644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-19T15:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: upload csv file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file/m-p/924866#M59645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now just loop through your data_tab.  Use the split keyword to split the string into fields of your new itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: begin of new_itab occurs 0,&lt;/P&gt;&lt;P&gt;       field1 type c,&lt;/P&gt;&lt;P&gt;       field2 type c,&lt;/P&gt;&lt;P&gt;       field3 type c,&lt;/P&gt;&lt;P&gt;      end of new_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at data_tab.&lt;/P&gt;&lt;P&gt;split data_tab at ',' into new_itab-field1&lt;/P&gt;&lt;P&gt;                           new_itab-field2&lt;/P&gt;&lt;P&gt;                           new_itab-field3.&lt;/P&gt;&lt;P&gt;append new_itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2005 16:02:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file/m-p/924866#M59645</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-01-19T16:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: upload csv file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file/m-p/924867#M59646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;types: begin of flat_itab,&lt;/P&gt;&lt;P&gt;rec(500) type c,&lt;/P&gt;&lt;P&gt;end of flat_itab.&lt;/P&gt;&lt;P&gt;Data: begin of new_itab occurs 0,&lt;/P&gt;&lt;P&gt;field1(10) type c,&lt;/P&gt;&lt;P&gt;field2(20) type c,&lt;/P&gt;&lt;P&gt;field3(10) type c,&lt;/P&gt;&lt;P&gt;field4(10) type c,&lt;/P&gt;&lt;P&gt;field5(10) type c,&lt;/P&gt;&lt;P&gt;field6(10) type c,&lt;/P&gt;&lt;P&gt;field7(10) type c,&lt;/P&gt;&lt;P&gt;field8(100) type c,&lt;/P&gt;&lt;P&gt;end of new_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: data_tab type table of flat_itab.&lt;/P&gt;&lt;P&gt;data: fname type string.&lt;/P&gt;&lt;P&gt;fname = 'C:\sun\rs3text.csv'.&lt;/P&gt;&lt;P&gt;call method cl_gui_frontend_services=&amp;gt;gui_upload&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;filename = fname&lt;/P&gt;&lt;P&gt;changing&lt;/P&gt;&lt;P&gt;data_tab = data_tab&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;no_batch = 3&lt;/P&gt;&lt;P&gt;gui_refuse_filetransfer = 4&lt;/P&gt;&lt;P&gt;invalid_type = 5&lt;/P&gt;&lt;P&gt;no_authority = 6&lt;/P&gt;&lt;P&gt;unknown_error = 7&lt;/P&gt;&lt;P&gt;bad_data_format = 8&lt;/P&gt;&lt;P&gt;header_not_allowed = 9&lt;/P&gt;&lt;P&gt;separator_not_allowed = 10&lt;/P&gt;&lt;P&gt;header_too_long = 11&lt;/P&gt;&lt;P&gt;unknown_dp_error = 12&lt;/P&gt;&lt;P&gt;access_denied = 13&lt;/P&gt;&lt;P&gt;dp_out_of_memory = 14&lt;/P&gt;&lt;P&gt;disk_full = 15&lt;/P&gt;&lt;P&gt;dp_timeout = 16&lt;/P&gt;&lt;P&gt;others = 17.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write sy-subrc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at data_tab.&lt;/P&gt;&lt;P&gt;split data_itab at ',' into new_itab-field1&lt;/P&gt;&lt;P&gt;new_itab-field2&lt;/P&gt;&lt;P&gt;new_itab-field3&lt;/P&gt;&lt;P&gt;new_itab-field4&lt;/P&gt;&lt;P&gt;new_itab-field5&lt;/P&gt;&lt;P&gt;new_itab-field6&lt;/P&gt;&lt;P&gt;new_itab-field7&lt;/P&gt;&lt;P&gt;new_itab-field8.&lt;/P&gt;&lt;P&gt;append new_itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually my file is CSV tab delimited file..how to proceed. when i compile this i get compile error saying&lt;/P&gt;&lt;P&gt;"data_tab contains no header." INTO WA.....&lt;/P&gt;&lt;P&gt;why&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2005 16:21:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-csv-file/m-p/924867#M59646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-19T16:21:58Z</dc:date>
    </item>
  </channel>
</rss>

