<?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: Excel File Upload in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-file-upload/m-p/4750145#M1114152</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;Check this Link: [About Using Hex for Download|http://sapprograms.blogspot.com/2008/11/creating-more-than-1-sheet-in-excel.html]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope, you will get an idea on how to do it for upload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vishwa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Nov 2008 11:10:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-14T11:10:35Z</dc:date>
    <item>
      <title>Excel File Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-file-upload/m-p/4750140#M1114147</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 am uploading an .xls file into a dynamically created internal table.&lt;/P&gt;&lt;P&gt;The problem that I am facing is that the data in the excel files are in different cells. So I need to know the hexacode of the Cell Separator so that I may split my data at that position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I can know the way to get the structure of the excel file, will also help..&lt;/P&gt;&lt;P&gt;All these things are happening dynamically..............i.e. I do not the structure of internal table...untill run time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 10:54:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-file-upload/m-p/4750140#M1114147</guid>
      <dc:creator>former_member212005</dc:creator>
      <dc:date>2008-11-14T10:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Excel File Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-file-upload/m-p/4750141#M1114148</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;Use ALSM_EXCEL_INTERNAL_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data: XL_itab type alsmex_tabline occurs 1 with header line.

ALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
    EXPORTING
      FILENAME                      = p_fname
      I_BEGIN_COL                   = 2
      I_BEGIN_ROW                   = 12
      I_END_COL                     = 5
      I_END_ROW                     = 15
    TABLES
      INTERN                        = xl_itab
* EXCEPTIONS
*   INCONSISTENT_PARAMETERS       = 1
*   UPLOAD_OLE                    = 2
*   OTHERS                        = 3
            .
  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;&lt;/P&gt;&lt;P&gt;Vishwa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 10:57:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-file-upload/m-p/4750141#M1114148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T10:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Excel File Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-file-upload/m-p/4750142#M1114149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Problem still remains, I need the hex code of Cell Separator.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 11:01:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-file-upload/m-p/4750142#M1114149</guid>
      <dc:creator>former_member212005</dc:creator>
      <dc:date>2008-11-14T11:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Excel File Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-file-upload/m-p/4750143#M1114150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;use this FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  TYPE-POOLS: truxs.
  DATA: itab TYPE truxs_t_text_data   .

  CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
    EXPORTING
      i_field_seperator    = 'X'
      i_tab_raw_data       = itab
      i_filename           = p_file
    TABLES
      i_tab_converted_data = &amp;lt;dyn_table&amp;gt;
    EXCEPTIONS
      conversion_failed    = 1
      OTHERS               = 2.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 11:03:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-file-upload/m-p/4750143#M1114150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T11:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Excel File Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-file-upload/m-p/4750144#M1114151</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;try these..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
GUI_UPLOAD
WS_UPLOAD
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arunima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 11:03:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-file-upload/m-p/4750144#M1114151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T11:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Excel File Upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-file-upload/m-p/4750145#M1114152</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;Check this Link: [About Using Hex for Download|http://sapprograms.blogspot.com/2008/11/creating-more-than-1-sheet-in-excel.html]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope, you will get an idea on how to do it for upload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vishwa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 11:10:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-file-upload/m-p/4750145#M1114152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T11:10:35Z</dc:date>
    </item>
  </channel>
</rss>

