<?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: about insert statement . in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-insert-statement/m-p/2296465#M501417</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are able to get 1 million records into an internal table without getting a runtime error, then inserting them into the DB table should not be a problem. If you are getting runtime error getting 1 million records into your internal table, you should think about running it in the background. You may also encounter issue with the maximum setting your basis team did for internal table memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it and you will know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2007 23:29:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-21T23:29:21Z</dc:date>
    <item>
      <title>about insert statement .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-insert-statement/m-p/2296460#M501412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i need to insert 10,00,000 records into one table from one another table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have used insert statement like&lt;/P&gt;&lt;P&gt;insert &amp;lt;Database table&amp;gt; from &amp;lt;internal table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know it will insert this much record or is there any chance of dump &lt;/P&gt;&lt;P&gt;because of the size of the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 23:03:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-insert-statement/m-p/2296460#M501412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T23:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: about insert statement .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-insert-statement/m-p/2296461#M501413</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;u might get dump error for time out. as it takes lot of time...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to insert in different number of amount.. not as in 1 time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SAB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 23:06:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-insert-statement/m-p/2296461#M501413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T23:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: about insert statement .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-insert-statement/m-p/2296462#M501414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i divide my internal table .?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 23:12:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-insert-statement/m-p/2296462#M501414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T23:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: about insert statement .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-insert-statement/m-p/2296463#M501415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;10,000.00 does not matter, you can insert as many depends on ur database buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use insert command and you may get dump because if you are trying to insert existing record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so better to use modify command.I will recommend try to run the program in background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify dbtable from table int_table.&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;Sesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Seshu Maramreddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 23:24:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-insert-statement/m-p/2296463#M501415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T23:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: about insert statement .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-insert-statement/m-p/2296464#M501416</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;This may give a dump due to lack of memory owing to huge number of records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you to fetch data from the table in chunks.&lt;/P&gt;&lt;P&gt;Create a loop until there are any more records in the table.&lt;/P&gt;&lt;P&gt;Use UP TO .. ROWS while fetching data from the table into internal table. Then insert these records from internal table into database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code will look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * INTO ITAB1&lt;/P&gt;&lt;P&gt;UPTO 40000 ROWS&lt;/P&gt;&lt;P&gt;FROM TAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;INSERT TAB2 FROM ITAB1.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 23:24:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-insert-statement/m-p/2296464#M501416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T23:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: about insert statement .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-insert-statement/m-p/2296465#M501417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are able to get 1 million records into an internal table without getting a runtime error, then inserting them into the DB table should not be a problem. If you are getting runtime error getting 1 million records into your internal table, you should think about running it in the background. You may also encounter issue with the maximum setting your basis team did for internal table memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it and you will know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 23:29:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-insert-statement/m-p/2296465#M501417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T23:29:21Z</dc:date>
    </item>
  </channel>
</rss>

