<?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: Upload a custom table from excel file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-custom-table-from-excel-file/m-p/4859862#M1136297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soumya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Have a look at this Link.|http://www.erpjobs.co.uk/forum/showthread.php?t=299]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Dec 2008 05:19:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-03T05:19:33Z</dc:date>
    <item>
      <title>Upload a custom table from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-custom-table-from-excel-file/m-p/4859861#M1136296</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;How to upload a custom table with 200,000 records directly from a excel file or a flat file.&lt;/P&gt;&lt;P&gt;Is there a sample program for that can be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Saumya R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 05:17:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-custom-table-from-excel-file/m-p/4859861#M1136296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T05:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Upload a custom table from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-custom-table-from-excel-file/m-p/4859862#M1136297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soumya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Have a look at this Link.|http://www.erpjobs.co.uk/forum/showthread.php?t=299]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 05:19:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-custom-table-from-excel-file/m-p/4859862#M1136297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T05:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Upload a custom table from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-custom-table-from-excel-file/m-p/4859863#M1136298</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;just refer to this thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1045120"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;P&gt;&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;Aakash Banga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 05:19:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-custom-table-from-excel-file/m-p/4859863#M1136298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T05:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Upload a custom table from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-custom-table-from-excel-file/m-p/4859864#M1136299</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 GUI_UPLOAD Function  Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 05:20:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-custom-table-from-excel-file/m-p/4859864#M1136299</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2008-12-03T05:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Upload a custom table from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-custom-table-from-excel-file/m-p/4859865#M1136300</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 functon GUI_UPLOAD .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 05:22:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-custom-table-from-excel-file/m-p/4859865#M1136300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T05:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Upload a custom table from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-custom-table-from-excel-file/m-p/4859866#M1136301</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 Code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: xcel TYPE TABLE OF alsmex_tabline WITH HEADER LINE.

REFRESH: xcel, ltab.

CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
filename = pa_file
i_begin_col = 1
i_begin_row = 2
i_end_col = 200
i_end_row = 5000
TABLES
intern = xcel
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
OTHERS = 3.
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

    * Fill the internal table with the values

LOOP AT xcel.
ltab-field1 = xcel-value.
CASE xcel-col.
WHEN '0001'.
ltab-field2 = xcel-value.
WHEN '0002'.
ltab-field3 = xcel-value.
ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ranga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 05:22:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-custom-table-from-excel-file/m-p/4859866#M1136301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-03T05:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Upload a custom table from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-custom-table-from-excel-file/m-p/4859867#M1136302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ranga !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but will it work when I need to upload the table with like 500,000 or more records, or do I have to add something to this report to make it happen. Can anyone please help me out .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saumya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 17:48:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-custom-table-from-excel-file/m-p/4859867#M1136302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-06T17:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Upload a custom table from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-custom-table-from-excel-file/m-p/4859868#M1136303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are talking about 5,00,000 records ,you are most likely to get short dump.&lt;/P&gt;&lt;P&gt;You can try in such a that you can divide your records in many files and then upload them one by one into internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 18:03:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-custom-table-from-excel-file/m-p/4859868#M1136303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-06T18:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Upload a custom table from excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-custom-table-from-excel-file/m-p/4859869#M1136304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;uploading a ztable with more than 2 lakh or greater records ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in all u need to have a code in the production environment which does the table update .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u have a to do so by excel u need to take care of mulitple excel sheets as u cant upload more than 60000 records into a single excel sheet ..(to the best of my knowledge ) ..&lt;/P&gt;&lt;P&gt;maintain the count and using fm alsm_excel_to&lt;STRONG&gt;internal&lt;/STRONG&gt;table and writing a program to update the table..&lt;/P&gt;&lt;P&gt;even i doubt with the content of the file in .txt as it can report time out from gui_upload  fm for such big  entries..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this can be done but lot of sequences has to be done.. it works but more work is required ..&lt;/P&gt;&lt;P&gt;remember that this is fore ground execution and takes some time to execute ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;second option which  im assuming is if at all you can have the dump file stored in application server ..&lt;/P&gt;&lt;P&gt;of your development ,quality, and production..&lt;/P&gt;&lt;P&gt;then the job is done in a single shot by using the open dataset , read  statment picking the data from application server and updating the table . you need to run this report in bg mode for faster execution..&lt;/P&gt;&lt;P&gt;but basis team has to make the file present in al11 .. check this option if possible .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;br,&lt;/P&gt;&lt;P&gt;vijay...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Dec 2008 06:29:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/upload-a-custom-table-from-excel-file/m-p/4859869#M1136304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-07T06:29:52Z</dc:date>
    </item>
  </channel>
</rss>

