<?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: internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2537482#M576168</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;by using this, you can store the records in the Internal table, &lt;/P&gt;&lt;P&gt;If you give Occues 0 then we are giving ful space(8kb) to Internal table, &lt;/P&gt;&lt;P&gt;if you give occurs 5, then you are assiging less space, &lt;/P&gt;&lt;P&gt;this is very usefull for large amount of data,&lt;/P&gt;&lt;P&gt; if the total no of records in the internal table execced the 8kb, &lt;/P&gt;&lt;P&gt;then the system automatically assign 8kb space again,&lt;/P&gt;&lt;P&gt; so if you are dealing with small amount of data in the internal table, &lt;/P&gt;&lt;P&gt;then make use of this occurs N, so you won't get any memero related problems&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Reshma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2007 08:21:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-24T08:21:54Z</dc:date>
    <item>
      <title>internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2537477#M576163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data:Begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;       a type i,&lt;/P&gt;&lt;P&gt;       b type i,&lt;/P&gt;&lt;P&gt;      end of itab.&lt;/P&gt;&lt;P&gt;--how much memory in terms of KB is allocated for itab?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--if it was &amp;lt;u&amp;gt;occurs 5&amp;lt;/u&amp;gt; , do 5 new memory locations were created each time a new record is added to itab?or 5 new mem locations are created only when pre allocated memory is used up?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 04:42:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2537477#M576163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T04:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2537478#M576164</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;&lt;/P&gt;&lt;P&gt;Coming to performance: If you know that you will store only one single value in the Internal table If you use OCCURS 1. It would perform well than OCCURS 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Occurs 0 keeps on incrementing when there is a value. But Occurs 1 will assign a single space even though there is no value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets suppose you did not get any values from the DB after a select, in this case if you write Occurs 0 it will not allocate any single space in the memory. If you write OCCURS1 it will pre allocates some memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 04:44:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2537478#M576164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T04:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2537479#M576165</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;occurs 0 means initially it will allocate 8kb of memory.later it will increment in terms of 8kbs&lt;/P&gt;&lt;P&gt;occurs n means initially it will allocate memory for n rows.later it will increment in terms of n rows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 04:53:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2537479#M576165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T04:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2537480#M576166</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 think the memory will be increased in multiples of  8KB&lt;/P&gt;&lt;P&gt;Occurs ) means it is 8KB then onwards it automatcially increases in multiples of 8KB, depending on the data in internal table at Run time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 04:54:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2537480#M576166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T04:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2537481#M576167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you write OCCURS 0 - 8 KB memory gets alloted to the structure. This means that the size of the table is increased when you put data into the table. This will make use of dynamic memory allocation.&lt;/P&gt;&lt;P&gt;When you write OCCURS n - n * 8KB memoy gets alloted for data. This is useful when there is a fixed number of records that we need to put into the internal table. This memory allocation is not dynamic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 08:19:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2537481#M576167</guid>
      <dc:creator>gaurab_banerji</dc:creator>
      <dc:date>2007-07-24T08:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2537482#M576168</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;by using this, you can store the records in the Internal table, &lt;/P&gt;&lt;P&gt;If you give Occues 0 then we are giving ful space(8kb) to Internal table, &lt;/P&gt;&lt;P&gt;if you give occurs 5, then you are assiging less space, &lt;/P&gt;&lt;P&gt;this is very usefull for large amount of data,&lt;/P&gt;&lt;P&gt; if the total no of records in the internal table execced the 8kb, &lt;/P&gt;&lt;P&gt;then the system automatically assign 8kb space again,&lt;/P&gt;&lt;P&gt; so if you are dealing with small amount of data in the internal table, &lt;/P&gt;&lt;P&gt;then make use of this occurs N, so you won't get any memero related problems&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Reshma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 08:21:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2537482#M576168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T08:21:54Z</dc:date>
    </item>
  </channel>
</rss>

