<?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: Problem with GUI_UPLOAD FM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-gui-upload-fm/m-p/4818632#M1127704</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned earlier it is not working with or without read_by_line. Any other ideas. I have tested the program with multiple text files but no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagards,&lt;/P&gt;&lt;P&gt;Prashant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Dec 2008 05:50:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-01T05:50:31Z</dc:date>
    <item>
      <title>Problem with GUI_UPLOAD FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-gui-upload-fm/m-p/4818627#M1127699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have trouble using the FM GUI_UPLOAD. I am using this FM to upload text-delimited file data into an ITAB of same structure. The problem is that it is reading only the 1st record and returning sy-subrc = 8. The no of columns in file is 89. When I am reducing the no of columns of this file, then it is reading the data. There is not data format conversion problem, I have check the same. Does any one know why this is happening? Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 05:25:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-gui-upload-fm/m-p/4818627#M1127699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-01T05:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with GUI_UPLOAD FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-gui-upload-fm/m-p/4818628#M1127700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you need to check your Function parameters.&lt;/P&gt;&lt;P&gt;Check for Tab settings also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will sure work.&lt;/P&gt;&lt;P&gt;All the best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Maharshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 05:28:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-gui-upload-fm/m-p/4818628#M1127700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-01T05:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with GUI_UPLOAD FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-gui-upload-fm/m-p/4818629#M1127701</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;I don't see the problem there. Following are the parameters used by me in the FM:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;      filename                = l_file&lt;/P&gt;&lt;P&gt;      filetype                = 'ASC'&lt;/P&gt;&lt;P&gt;      has_field_separator     = 'X'&lt;/P&gt;&lt;P&gt;      read_by_line            = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab                = it_conv_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI the FM is not working with or without the parameter read_by_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 05:31:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-gui-upload-fm/m-p/4818629#M1127701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-01T05:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with GUI_UPLOAD FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-gui-upload-fm/m-p/4818630#M1127702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Prashant,,,,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Function Parameters are good, Just remove READ_BY_LINE Parameter,,,,,,,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Possible exception could be "BAD_DATA_FORMAT" as the function module  Cannot Interpret Data in File&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Check your file as there is no other reason for this exception,,,,,,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try uploading with another file,,,,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 05:46:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-gui-upload-fm/m-p/4818630#M1127702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-01T05:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with GUI_UPLOAD FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-gui-upload-fm/m-p/4818631#M1127703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : begin of lt_d occurs 0,&lt;/P&gt;&lt;P&gt;        data type string,&lt;/P&gt;&lt;P&gt;        end of lt_d.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this for the upload function module &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gui_upload and u have the data in lt_d.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete lt_d where data is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at lt_d.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split : lt_d at  separator into &lt;/P&gt;&lt;P&gt;           wa_itab .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append wa_itab to itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 05:50:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-gui-upload-fm/m-p/4818631#M1127703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-01T05:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with GUI_UPLOAD FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-gui-upload-fm/m-p/4818632#M1127704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned earlier it is not working with or without read_by_line. Any other ideas. I have tested the program with multiple text files but no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagards,&lt;/P&gt;&lt;P&gt;Prashant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 05:50:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-gui-upload-fm/m-p/4818632#M1127704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-01T05:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with GUI_UPLOAD FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-gui-upload-fm/m-p/4818633#M1127705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi prashant,&lt;/P&gt;&lt;P&gt;try this oops concept.&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                = l_v_filepc&lt;/P&gt;&lt;P&gt;      filetype                =   'TXT' &lt;/P&gt;&lt;P&gt;      has_field_separator     = ' '&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;     dat_mode                = SPACE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     codepage                = SPACE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     ignore_cerr             = ABAP_TRUE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     replacement             = '#'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     virus_scan_profile      =&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                =  fp_it_pernr_infty "fp_it_pernr&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;      not_supported_by_gui    = 17&lt;/P&gt;&lt;P&gt;      error_no_gui            = 18&lt;/P&gt;&lt;P&gt;      OTHERS                  = 19      .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;...    &lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 05:51:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-gui-upload-fm/m-p/4818633#M1127705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-01T05:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with GUI_UPLOAD FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-gui-upload-fm/m-p/4818634#M1127706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save your records in an excel file as &lt;STRONG&gt;'TEXT DELIMITED'&lt;/STRONG&gt; file type and pass this text file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the GUI_UPLOAD function module, try using these parameters only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
     FILENAME                     = 'c:\vendors.txt'
     FILETYPE                      = 'DAT'
    TABLES
      DATA_TAB                    = VENDOR_TAB.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;Tarun Gambhir.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Tarun Gambhir on Dec 1, 2008 11:28 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 05:53:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-gui-upload-fm/m-p/4818634#M1127706</guid>
      <dc:creator>I355602</dc:creator>
      <dc:date>2008-12-01T05:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with GUI_UPLOAD FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-gui-upload-fm/m-p/4818635#M1127707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everybody for help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 09:31:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-gui-upload-fm/m-p/4818635#M1127707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-01T09:31:35Z</dc:date>
    </item>
  </channel>
</rss>

