<?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 text file into internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776207#M334825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to upload this file to the application server and then read it into an internal table using the OPEN DATASET and READ DATASET commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Dec 2006 07:26:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-28T07:26:21Z</dc:date>
    <item>
      <title>Uploading text file into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776204#M334822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to upload a text file having 6 million records into internal table and it is giving short dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ways to read some 10,000 records from file and load into internal table and while reading next time it shouldread from 10001 th records to 20,000 records. Or any other way to handle this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2006 06:21:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776204#M334822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-28T06:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading text file into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776205#M334823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try it in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2006 06:25:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776205#M334823</guid>
      <dc:creator>SantoshKallem</dc:creator>
      <dc:date>2006-12-28T06:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading text file into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776206#M334824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am trying in background only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2006 06:32:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776206#M334824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-28T06:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading text file into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776207#M334825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to upload this file to the application server and then read it into an internal table using the OPEN DATASET and READ DATASET commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2006 07:26:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776207#M334825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-28T07:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading text file into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776208#M334826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have written this program to split the file into 10,000 records and update Ztable. The file is already in the application server only and i have used open dataset only. The problem i am getting is while reading the file from the app server after some time it is giving short dump because of the file size and heavy usage of memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2006 08:19:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776208#M334826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-28T08:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading text file into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776209#M334827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the sap default database is oracle.in oracle we can write..&lt;/P&gt;&lt;P&gt;select * from &amp;lt;table&amp;gt; where rownum &amp;lt;1001.&lt;/P&gt;&lt;P&gt;then u can read first 1000 records.&lt;/P&gt;&lt;P&gt;just check it in sap.&lt;/P&gt;&lt;P&gt;it may or may not have.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2006 08:36:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776209#M334827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-28T08:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading text file into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776210#M334828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try splitting the file into six files of one million entries each. Then try uploading them using GUI_UPLOAD separately. This will decrease the memory consumption.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2006 09:23:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776210#M334828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-28T09:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading text file into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776211#M334829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try declaring internal table with occurs 1000 clause.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2006 10:20:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776211#M334829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-28T10:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading text file into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776212#M334830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reply by Ali:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   As you told you are uploading the records in to a Ztable, then you can try processing of your records using SELECT statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is the SELECT statement using 'Pacakge Size' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Package size can be used if you for example only want to finish processing a limited amount of data at a time due to lack of memory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  SELECT &amp;lt;field1&amp;gt; &amp;lt;field2 &amp;lt;...&amp;gt; &lt;/P&gt;&lt;P&gt;    FROM &amp;lt;table1&amp;gt; &lt;/P&gt;&lt;P&gt;    INTO TABLE &amp;lt;itab&amp;gt; PACKAGE SIZE 50&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Ali S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kumaraswamy Subramanian &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Posts: 14 &lt;/P&gt;&lt;P&gt;Registered: 1/12/06  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written this program to split the file into 10,000 records and update Ztable. The file is already in the application server only and i have used open dataset only. The problem i am getting is while reading the file from the app server after some time it is giving short dump because of the file size and heavy usage of memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2006 10:49:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776212#M334830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-28T10:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading text file into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776213#M334831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read back and reengineer the process. You don't want to read the whole file to memory.&lt;/P&gt;&lt;P&gt;What you want to do is create a control table that will hold the file location and the current restart/recovery point...&lt;/P&gt;&lt;P&gt;You open the file and read it up to the restart recovery point. You then read no more than 100,000 records into memory and write them to the DB. There you commit. DO not forget to update your restart recovery point in the transaction writing the 100,000 records to the DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you can treat files of a very large size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have fun...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jan 2007 06:02:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-text-file-into-internal-table/m-p/1776213#M334831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-01T06:02:22Z</dc:date>
    </item>
  </channel>
</rss>

