<?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 Upload - Internal Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-internal-table/m-p/2333199#M513574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this FM  TEXT_CONVERT_XLS_TO_SAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and after that use GUI_DOWNLOAD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 May 2007 12:24:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-31T12:24:01Z</dc:date>
    <item>
      <title>Excel Upload - Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-internal-table/m-p/2333197#M513572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How Do Everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to upload an excel spreadsheet into an internal table. This excel&lt;/P&gt;&lt;P&gt;spreadsheet contains over 16,000 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following FM :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename                = pa_file&lt;/P&gt;&lt;P&gt;      i_begin_col             = '1'&lt;/P&gt;&lt;P&gt;      i_begin_row             = '2'  "Do not require headings&lt;/P&gt;&lt;P&gt;      i_end_col               = '21'&lt;/P&gt;&lt;P&gt;      i_end_row               = '50000'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      intern                  = excel_itab&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      inconsistent_parameters = 1&lt;/P&gt;&lt;P&gt;      upload_ole              = 2&lt;/P&gt;&lt;P&gt;      OTHERS                  = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the program seems to only load 9,999 rows even though the&lt;/P&gt;&lt;P&gt;end_row is set to 50,000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have any ideas what is going on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2007 12:11:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-internal-table/m-p/2333197#M513572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-31T12:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Upload - Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-internal-table/m-p/2333198#M513573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andy , &lt;/P&gt;&lt;P&gt;  The reason for this is that the FM returns an internal table with Row and Col and iif you check the tyep of these feild they are NUM 4 , so they can store up to 9999,hence only 9999 records are read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now whay you will have to do is call this FM a number of times , each time changing the parameters  I_BEGIN_ROW , I_END_ROW .&lt;/P&gt;&lt;P&gt;Process this result  you get each time and append it to your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This process will continue till the FM returns an intial table , indicating that no further values are to be read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2007 12:19:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-internal-table/m-p/2333198#M513573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-31T12:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Upload - Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-internal-table/m-p/2333199#M513574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this FM  TEXT_CONVERT_XLS_TO_SAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and after that use GUI_DOWNLOAD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2007 12:24:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-internal-table/m-p/2333199#M513574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-31T12:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Upload - Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-internal-table/m-p/2333200#M513575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can check function module documentation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2007 12:24:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-internal-table/m-p/2333200#M513575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-31T12:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Upload - Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-internal-table/m-p/2333201#M513576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andy,&lt;/P&gt;&lt;P&gt;                  Use the FM &amp;lt;b&amp;gt;TEXT_CONVERT_XLS_TO_SAP&amp;lt;/b&amp;gt;.it will convert the excel to an internal table formet.I have use the FM in one of my reqirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Reward points if is useful.&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, 31 May 2007 12:25:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-upload-internal-table/m-p/2333201#M513576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-31T12:25:44Z</dc:date>
    </item>
  </channel>
</rss>

