<?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 redarding  internal tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821064#M350901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;   As per my knowledge during the defination internal table donot allocate memory but we use 'free' to deallocate  the memory associated with internal tables...&lt;/P&gt;&lt;P&gt;how is it possible...&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;Saurabh Agrawal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jan 2007 06:23:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-22T06:23:27Z</dc:date>
    <item>
      <title>redarding  internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821064#M350901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;   As per my knowledge during the defination internal table donot allocate memory but we use 'free' to deallocate  the memory associated with internal tables...&lt;/P&gt;&lt;P&gt;how is it possible...&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;Saurabh Agrawal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 06:23:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821064#M350901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T06:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: redarding  internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821065#M350902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FREE statement is used for deleting the internal table and releases the memory.&lt;/P&gt;&lt;P&gt;So it's not only releases the momory it's deleting the defination for internal table also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 06:39:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821065#M350902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T06:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: redarding  internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821066#M350903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   once memory is allocated to an internal table by using occurs ... ,then to deallocate that memory free will be opted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 10:36:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821066#M350903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T10:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: redarding  internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821067#M350904</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;Whenever you create the internal table irrespective of which statement you use to define it, memory is allocated to the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To explicitly allocate memory to the internal table you use the 'OCCURS' statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the use of the internal table is over you can then allow this memory to be freed for other use by using the 'FREE' statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this clarifies your question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 10:51:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821067#M350904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T10:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: redarding  internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821068#M350905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;FREE statement will free the memory allocated to the internal table while creating it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To my knowlege OCCURS 0  will allocate a memory of 8 KB to the internal table...&lt;/P&gt;&lt;P&gt;Is it like , if i declare OCCURS 100 , will allocate 800 KB.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz anyone clarify this, or can add few more info...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rajiv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jan 2007 12:50:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821068#M350905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-22T12:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: redarding  internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821069#M350906</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;Free will deallocate the memory of the internal table and even the size of the internal table will decrease.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gunasree.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 06:50:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821069#M350906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T06:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: redarding  internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821070#M350907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh Agrawal &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can refer to this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.allsaplinks.com/internal_tables_all.html" target="test_blank"&gt;http://www.allsaplinks.com/internal_tables_all.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 09:32:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821070#M350907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T09:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: redarding  internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821071#M350908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we r not allocating memory seperately but while declaring internal table we use occurs statement it will automatically allocate memory and we use free to deallocate memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 11:20:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821071#M350908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-11T11:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: redarding  internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821072#M350909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Here I will give you a clear information about your query.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See for example we take some scenario of using internal tables&lt;/P&gt;&lt;P&gt; we are using an &amp;lt;b&amp;gt;internal tables itab1 , itab2&amp;lt;/b&amp;gt; fetching data into these tables by some select statements so depending on the number of records &amp;lt;b&amp;gt;memory is allocated&amp;lt;/b&amp;gt; to these two table--- right....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now you have another &amp;lt;b&amp;gt;internal table IT_FINAL&amp;lt;/b&amp;gt; with sould be the output of your report. &lt;/P&gt;&lt;P&gt;looping the itab1 and reading itab2 you get data into the it_final internal table&lt;/P&gt;&lt;P&gt;and show the output using alv grid....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After you get data into final internal table and displaying it, then you can free the itab1 and itab2 .. memory aloocated to ITAB1 AND ITAB2 is dealocated now..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you are clear now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards if understood&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;nazeer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 11:40:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821072#M350909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-11T11:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: redarding  internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821073#M350910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi saurabh,&lt;/P&gt;&lt;P&gt;when u will define an internal table with occurs 0 it will allocate a memory size of 8Kb to that internal table intially...&lt;/P&gt;&lt;P&gt;the FREE command is used to freeze the body of the internal table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FREE itab.&lt;/P&gt;&lt;P&gt;aftre this command the internal table will be having only the header part it won't be having the body...use  the FREE command when u have finished using that internal table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alternative to FREE is the REFRESH command..this will clear only the header of that internal table...where as the body size remain as it is...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this would solve ur problem....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2007 07:54:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821073#M350910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-12T07:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: redarding  internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821074#M350911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    While definition of internal table ,if you use "DATA" in the declaration then memory will be allocated automatically...&lt;/P&gt;&lt;P&gt;after display of internal table to deallocate that memory we use "FREE ITAB".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Data : Begin of itab_final occurs 0,        //here memory gets allocated&lt;/P&gt;&lt;P&gt;           matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;           werks like marc-werks,&lt;/P&gt;&lt;P&gt;           end of itab_final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD IT PLEASE....!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 09:01:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/redarding-internal-tables/m-p/1821074#M350911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T09:01:33Z</dc:date>
    </item>
  </channel>
</rss>

