<?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: Uploading EXCEL file into Internal Table Using GUI_UPLOAD in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042140#M1350976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the forum search option [GUI_UPLOAD FOR EXCEL|https://forums.sdn.sap.com/search.jspa?threadID=&amp;amp;q=GUI_UPLOAD&lt;EM&gt;FOR&lt;/EM&gt;EXCEL&amp;amp;objID=c42&amp;amp;dateRange=all&amp;amp;numResults=15&amp;amp;rankBy=10001]) or sdn wiki/code gallery ([UPLOAD EXCEL|https://wiki.sdn.sap.com/wiki/dosearchsite.action?searchQuery.queryString=upload+Excel&amp;amp;searchQuery.spaceKey=conf_global])  - Same question already answered many time &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GUI_UPLOAD doesnt perform such conversion (Excel, Word, PDF) and wont give you a suitable result, use one of the FM mentioned above or [office integration|http://help.sap.com/saphelp_47x200/helpdata/en/21/b53138e1ba11d2bdbe080009b4534c/frameset.htm] or OLE or convert your Excel sheet to a simpler format : txt, csv, xml.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Aug 2009 06:48:05 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2009-08-06T06:48:05Z</dc:date>
    <item>
      <title>Uploading EXCEL file into Internal Table Using GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042134#M1350970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can any one please give me an example use of FM "GUI_UPLOAD" which to upload a EXCEL file????? (not .txt)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 10:42:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042134#M1350970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-04T10:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading EXCEL file into Internal Table Using GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042135#M1350971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes we can , for this FM   GUI_UPLOAD&lt;/P&gt;&lt;P&gt;                                &lt;STRONG&gt;use FILETYPE = 'DAT'&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 11:12:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042135#M1350971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-04T11:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading EXCEL file into Internal Table Using GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042136#M1350972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wizi,&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;Welcome to SCN&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;Please Search in SCN before Posting&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;check below example,&lt;/P&gt;&lt;P&gt;for excel to internal table try this function module,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
     EXPORTING
*   I_FIELD_SEPERATOR          = ','
      i_line_header              = p_head
       i_tab_raw_data             = it_raw
       i_filename                 = p_upl
     TABLES
       i_tab_converted_data       = t_indata
    EXCEPTIONS
      conversion_failed          = 1
      OTHERS                     = 2
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: suresh suresh on Aug 4, 2009 3:17 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 13:17:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042136#M1350972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-04T13:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading EXCEL file into Internal Table Using GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042137#M1350973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use one of the below FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEXT_CONVERT_XLS_TO_SAP&lt;/P&gt;&lt;P&gt;ALSM_EXCEL_TO_INTERNAL_TABLE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 12:23:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042137#M1350973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-05T12:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading EXCEL file into Internal Table Using GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042138#M1350974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear chenna,&lt;/P&gt;&lt;P&gt;tnx 4 your prompt reply.... but it gives me a weird output with lot of symbols. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;others - apreciate your response. but i spesifically asked for FM "GUI_UPLOAD".... pls help me with it if you can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 02:51:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042138#M1350974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-06T02:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading EXCEL file into Internal Table Using GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042139#M1350975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try in this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    FILENAME                        = tfile&lt;/P&gt;&lt;P&gt;    FILETYPE                        = 'ASC'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DATA_TAB                        =  your internal table to store the data&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 06:34:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042139#M1350975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-06T06:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading EXCEL file into Internal Table Using GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042140#M1350976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the forum search option [GUI_UPLOAD FOR EXCEL|https://forums.sdn.sap.com/search.jspa?threadID=&amp;amp;q=GUI_UPLOAD&lt;EM&gt;FOR&lt;/EM&gt;EXCEL&amp;amp;objID=c42&amp;amp;dateRange=all&amp;amp;numResults=15&amp;amp;rankBy=10001]) or sdn wiki/code gallery ([UPLOAD EXCEL|https://wiki.sdn.sap.com/wiki/dosearchsite.action?searchQuery.queryString=upload+Excel&amp;amp;searchQuery.spaceKey=conf_global])  - Same question already answered many time &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GUI_UPLOAD doesnt perform such conversion (Excel, Word, PDF) and wont give you a suitable result, use one of the FM mentioned above or [office integration|http://help.sap.com/saphelp_47x200/helpdata/en/21/b53138e1ba11d2bdbe080009b4534c/frameset.htm] or OLE or convert your Excel sheet to a simpler format : txt, csv, xml.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 06:48:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042140#M1350976</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2009-08-06T06:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading EXCEL file into Internal Table Using GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042141#M1350977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;subhajit - it says "cannot interpret data in file" when i change the filetype into "ASC".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raymond - okey mate thanx. i thought i could use "GUI_UPLOAD" for excel files as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx for all your answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;anushka&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: wizkid0319 on Aug 6, 2009 12:33 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 07:03:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042141#M1350977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-06T07:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading EXCEL file into Internal Table Using GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042142#M1350978</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;Refer to the given code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lv_filetype(10) TYPE c,&lt;/P&gt;&lt;P&gt;        lv_gui_sep TYPE c,&lt;/P&gt;&lt;P&gt;        lv_file_name TYPE string.&lt;/P&gt;&lt;P&gt;  lv_filetype = 'ASC'.&lt;/P&gt;&lt;P&gt;  lv_gui_sep = 'X'.&lt;/P&gt;&lt;P&gt;  lv_file_name = pa_dfile. "file path&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FM call to upload file&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename                = lv_file_name&lt;/P&gt;&lt;P&gt;      filetype                = lv_filetype&lt;/P&gt;&lt;P&gt;      has_field_separator     = lv_gui_sep&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      data_tab                = gi_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file should be a tab delimited file. this will work only for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajesh kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 07:23:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042142#M1350978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-06T07:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading EXCEL file into Internal Table Using GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042143#M1350979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rajesh....&lt;/P&gt;&lt;P&gt;basically u r asking me to use a simple .TXT , .CSV .... kind of a file to upload rather than a EXCEL file rite???&lt;/P&gt;&lt;P&gt;but what i have is a EXCEL file. &lt;/P&gt;&lt;P&gt;If it is possible to do for a EXCEL file as well pls let me know?????&lt;/P&gt;&lt;P&gt;or else is it really impossible to do it for a EXCEL file using FM "GUI_UPLOAD" ????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;anushka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 07:29:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042143#M1350979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-06T07:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading EXCEL file into Internal Table Using GUI_UPLOAD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042144#M1350980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anushka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No need to use GUI_UPLOAD as it will not solve your purpose, use the below code, it will work for sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the below code to upload excel into internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  DATA: lv_file_name TYPE rlgrap-filename.

  CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
    EXPORTING
      i_line_header        = ''
      i_tab_raw_data       = tb_file_data
      i_filename           = lv_file_name&amp;lt;file name&amp;gt;
    TABLES
      i_tab_converted_data = &amp;lt;internal table with data&amp;gt;
    EXCEPTIONS
      conversion_failed    = 1
      OTHERS               = 2.
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 07:31:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-excel-file-into-internal-table-using-gui-upload/m-p/6042144#M1350980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-06T07:31:02Z</dc:date>
    </item>
  </channel>
</rss>

