<?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: Large Excel file upload in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/large-excel-file-upload/m-p/9458385#M1742285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Steve, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can very well save the file with extension as&amp;nbsp; .CSV ( comma seperated&amp;nbsp; and then process it in TXT format either from presentation server or from Application server .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps ! &lt;/P&gt;&lt;P&gt;Anup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 May 2013 22:23:47 GMT</pubDate>
    <dc:creator>anup_deshmukh4</dc:creator>
    <dc:date>2013-05-15T22:23:47Z</dc:date>
    <item>
      <title>Large Excel file upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/large-excel-file-upload/m-p/9458382#M1742282</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 have been trying to find a means of uploading an Excel spreadsheet into an internal table. There are a number of posts on this topic, which suggest Function Modules such as ALSM_EXCEL_TO_INTERNAL_TABLE and KCD_EXCEL_OLE_TO_INT_CONVERT. These work fine for small spreadsheets, but all FMs I have found return structures where the row and column are 4 characters each. I have a spreadsheet with more than 10,000 lines so I need my row number to be 5 characters. All FMs I have tried so far either truncate the row to 4 characters, or short dump. Does anyone know of a FM that will handle larger spreadsheets?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 20:28:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/large-excel-file-upload/m-p/9458382#M1742282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-15T20:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Large Excel file upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/large-excel-file-upload/m-p/9458383#M1742283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know about any other FMs but couldn't you upload the data (via FM GUI_UPLOAD) into an internal table (based on type string) and then loop through it, splitting the lines based on commas, tabs or whatever the seperator you have in Excel?&lt;/P&gt;&lt;P&gt;(Of course you'd first need to save the excel file as csv/tab-delimited/etc. file with a .csv/.txt/etc. extension)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 21:48:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/large-excel-file-upload/m-p/9458383#M1742283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-15T21:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Large Excel file upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/large-excel-file-upload/m-p/9458384#M1742284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reading a Excel file with .xls extension is always difficult, you can either use the FM you mentioned or use OLE mechanism, but what we normally recommend is to ask the user to save the excel as tab-delimited text file with .txt extension and then we use GUI_UPLOAD to read the file into internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 22:04:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/large-excel-file-upload/m-p/9458384#M1742284</guid>
      <dc:creator>ganesh_padala2</dc:creator>
      <dc:date>2013-05-15T22:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Large Excel file upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/large-excel-file-upload/m-p/9458385#M1742285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Steve, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can very well save the file with extension as&amp;nbsp; .CSV ( comma seperated&amp;nbsp; and then process it in TXT format either from presentation server or from Application server .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps ! &lt;/P&gt;&lt;P&gt;Anup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 22:23:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/large-excel-file-upload/m-p/9458385#M1742285</guid>
      <dc:creator>anup_deshmukh4</dc:creator>
      <dc:date>2013-05-15T22:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Large Excel file upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/large-excel-file-upload/m-p/9458386#M1742286</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;The check if you have available working memory to read such a large file and also execute the program. Often if the internal tables go big in program the memory allocated for program execution runs out and you cannot process it further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually your error will be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"TSV_TNEW_PAGE_ALLOC_FAILED along with the short Text&amp;nbsp; No more storage space available for extending an internal table."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to check ST02 for Roll area, Paging Area and Extended memory. These can be administered by BASIS Admin so get that changed to see if you can get more to execute such a large file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 22:30:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/large-excel-file-upload/m-p/9458386#M1742286</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-05-15T22:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Large Excel file upload</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/large-excel-file-upload/m-p/9458387#M1742287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this function module -&amp;nbsp;&amp;nbsp; TEXT_CONVERT_XLS_TO_SAP&amp;nbsp;&amp;nbsp; this works well large data. I executed this with around 30000 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check it out. Hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;*&amp;nbsp;&amp;nbsp; if it is uploaded from Presentation Server (XLS format)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;itab_raw &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;truxs_t_text_data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp; Read the data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;CALL FUNCTION &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;'TEXT_CONVERT_XLS_TO_SAP'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;EXPORTING&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I_FIELD_SEPERATOR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; I_LINE_HEADER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;C_X&lt;BR /&gt; i_tab_raw_data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;itab_raw&lt;BR /&gt; i_filename&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;ifile&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;tables&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; i_tab_converted_data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;= itab_mara&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; CONVERSION_FAILED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;OTHERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;IF &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;sy&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;subrc &amp;lt;&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;MESSAGE ID &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;SY&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;MSGID &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;SY&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;MSGTY &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;NUMBER &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;SY&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;MSGNO&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;WITH &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;SY&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;MSGV1 SY&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;MSGV2 SY&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;MSGV3 SY&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;MSGV4&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;SaiKrishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 23:05:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/large-excel-file-upload/m-p/9458387#M1742287</guid>
      <dc:creator>sai_krishna24</dc:creator>
      <dc:date>2013-05-15T23:05:45Z</dc:date>
    </item>
  </channel>
</rss>

