<?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 code optimization Array Insert vs insert from ITAB in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-optimization-array-insert-vs-insert-from-itab/m-p/3347853#M802872</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 a general question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing insert using&lt;/P&gt;&lt;P&gt;Insert into &amp;lt;table&amp;gt; from &amp;lt;Internal-Table&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where &amp;lt;Internal-Table&amp;gt; contains more than hundred record.&lt;/P&gt;&lt;P&gt;Also just for your information. I am doing insertion just one by one. I am doing batch input which means that Internal Table already contains 100 record. I know if I do insert one by one..it  will be costly I/O operation. That is the reason, I made sure that my Internal Table contains all the record before I do insert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, whether my insert statment is optimal way to do insert? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read somewhere that Array Insert is better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you explain why so.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jan 2008 20:23:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-24T20:23:14Z</dc:date>
    <item>
      <title>code optimization Array Insert vs insert from ITAB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-optimization-array-insert-vs-insert-from-itab/m-p/3347853#M802872</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 a general question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing insert using&lt;/P&gt;&lt;P&gt;Insert into &amp;lt;table&amp;gt; from &amp;lt;Internal-Table&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where &amp;lt;Internal-Table&amp;gt; contains more than hundred record.&lt;/P&gt;&lt;P&gt;Also just for your information. I am doing insertion just one by one. I am doing batch input which means that Internal Table already contains 100 record. I know if I do insert one by one..it  will be costly I/O operation. That is the reason, I made sure that my Internal Table contains all the record before I do insert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, whether my insert statment is optimal way to do insert? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read somewhere that Array Insert is better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you explain why so.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 20:23:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-optimization-array-insert-vs-insert-from-itab/m-p/3347853#M802872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T20:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: code optimization Array Insert vs insert from ITAB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-optimization-array-insert-vs-insert-from-itab/m-p/3347854#M802873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you'll find that an array insert means inserting from an internal table, so you're OK as is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2008 20:41:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-optimization-array-insert-vs-insert-from-itab/m-p/3347854#M802873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-24T20:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: code optimization Array Insert vs insert from ITAB</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-optimization-array-insert-vs-insert-from-itab/m-p/3347855#M802874</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;If you are insering into a database table, I suggest you to use MODIFY command rather than INSERT to avoid any kind of dumps due to duplicates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2008 00:45:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-optimization-array-insert-vs-insert-from-itab/m-p/3347855#M802874</guid>
      <dc:creator>rajasekhar_matukumalli3</dc:creator>
      <dc:date>2008-01-25T00:45:09Z</dc:date>
    </item>
  </channel>
</rss>

