<?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: FREE itab. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067108#M93609</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;clear itab - clears only header line&lt;/P&gt;&lt;P&gt;refresh itab- clears body of the internal table&lt;/P&gt;&lt;P&gt;Free itab - clears a internal table from memory&lt;/P&gt;&lt;P&gt;Refresh itab and clear itab is enough i guess&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the below points are provided by sap&lt;/P&gt;&lt;P&gt;You can use FREE to initialize an internal table and release its memory space without first using the REFRESH or CLEAR statement. Like REFRESH, FREE works on the table body, not on the table work area. After a FREE statement, you can address the internal table again. It still occupies the amount of memory required for its header (currently 256 bytes). When you refill the table, the system has to allocate new memory space to the lines.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Oct 2005 05:35:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-21T05:35:18Z</dc:date>
    <item>
      <title>FREE itab.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067102#M93603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi every body,&lt;/P&gt;&lt;P&gt;I did a program which user nearly 10 itabs.&lt;/P&gt;&lt;P&gt;Is it necessary to use&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;FREE ITAB.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;for all of these itabs.&lt;/P&gt;&lt;P&gt;what is the actual advantange of using this?&lt;/P&gt;&lt;P&gt;IF not what wud happen any performance decline?&lt;/P&gt;&lt;P&gt;At what time can i apply this statement?&lt;/P&gt;&lt;P&gt;IF i use this statement as a last statement it wud be better?&lt;/P&gt;&lt;P&gt;this is a kind of performance issue , Plz help me...&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;your help appreciated.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RAJA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2005 05:21:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067102#M93603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-21T05:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: FREE itab.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067103#M93604</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 ITab, delete the internal table from the memory itself, mostly its not needed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Refresh Itab&lt;/P&gt;&lt;P&gt;    Clear Itab.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that is enough even you have any no of internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2005 05:24:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067103#M93604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-21T05:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: FREE itab.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067104#M93605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please take a look at this page for the usage:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb384e358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb384e358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ville&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2005 05:27:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067104#M93605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-21T05:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: FREE itab.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067105#M93606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sasikumar,&lt;/P&gt;&lt;P&gt;thanks for ur reply.&lt;/P&gt;&lt;P&gt;it wud be good once u go thru my message and clear all my doubts.&lt;/P&gt;&lt;P&gt;see....&lt;/P&gt;&lt;P&gt;after usage of itabs ..if they contain lot of data..?&lt;/P&gt;&lt;P&gt;is it necessary to free itab.&lt;/P&gt;&lt;P&gt;clear itab won't clears it from memory know?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2005 05:28:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067105#M93606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-21T05:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: FREE itab.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067106#M93607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear itab will initialize your internal table. &lt;/P&gt;&lt;P&gt;free itab will release the memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ville&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2005 05:30:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067106#M93607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-21T05:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: FREE itab.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067107#M93608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one example is , you've a big itab and move it to another tab to collect or extract it.&lt;/P&gt;&lt;P&gt;When filling of 2nd tab is finished , you can free 1st itab to improve performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2005 05:30:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067107#M93608</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-10-21T05:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: FREE itab.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067108#M93609</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;clear itab - clears only header line&lt;/P&gt;&lt;P&gt;refresh itab- clears body of the internal table&lt;/P&gt;&lt;P&gt;Free itab - clears a internal table from memory&lt;/P&gt;&lt;P&gt;Refresh itab and clear itab is enough i guess&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the below points are provided by sap&lt;/P&gt;&lt;P&gt;You can use FREE to initialize an internal table and release its memory space without first using the REFRESH or CLEAR statement. Like REFRESH, FREE works on the table body, not on the table work area. After a FREE statement, you can address the internal table again. It still occupies the amount of memory required for its header (currently 256 bytes). When you refill the table, the system has to allocate new memory space to the lines.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2005 05:35:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067108#M93609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-21T05:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: FREE itab.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067109#M93610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas,&lt;/P&gt;&lt;P&gt;PLZ &amp;lt;b&amp;gt;answer&amp;lt;/b&amp;gt; to the following.&lt;/P&gt;&lt;P&gt;So that &amp;lt;b&amp;gt;i will be pretty clear&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the actual advantange of using this?&lt;/P&gt;&lt;P&gt;IF not what wud happen any performance decline?&lt;/P&gt;&lt;P&gt;At what time can i apply this statement?&lt;/P&gt;&lt;P&gt;IF i use this statement as a last statement it wud be better?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2005 05:35:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067109#M93610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-21T05:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: FREE itab.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067110#M93611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to throw in my $0.02...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As everyone here is saying, FREE ITAB will release the memory the table is holding. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH ITAB will clear up the ocntents but the table definition is still in memory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR ITAB will only clear the header line of the internal table. CLEAR ITAB[] does the same thing as REFRESH ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Technically, it is better practice to use the FREE ITAB command whenever possible as it will maximise system resources.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One way to do this automatically is to declare local internal tables. To do this simply define your internal table within the subroutine. When the progam jumps out of the subroutine, the internal table is automatically freed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. Kindly assign Reward Points to the posts you find helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2005 05:42:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067110#M93611</guid>
      <dc:creator>former_member221770</dc:creator>
      <dc:date>2005-10-21T05:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: FREE itab.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067111#M93612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when u talk of the performance issue, the performance of the program as such will not be affected. Only thing is that if you free the memory allocated to this internal table, the memory could be allocated to another program or another data object in the same program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;normally the memory used by a program is freed automatically as soon as the program finishes execution so use it if you want to handle memory management on your own. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is normally a gud practice to clear tables and data variables (and free the memory) once the program has to be exited. so as you say, it should be done at the end of the program execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;PJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2005 05:44:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067111#M93612</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-21T05:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: FREE itab.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067112#M93613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Hi Andreas,&lt;/P&gt;&lt;P&gt;&amp;gt; PLZ &amp;lt;b&amp;gt;answer&amp;lt;/b&amp;gt; to the following.&lt;/P&gt;&lt;P&gt;&amp;gt; So that &amp;lt;b&amp;gt;i will be pretty clear&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; what is the actual advantange of using this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will free up system memory. The advantage of doing this is that less system memory is used unnecessarily. Generally speaking, if you refresh your table when you no longer need it, it will usually suffice. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; IF not what wud happen any performance decline?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not really unless you are running a very very big program that loops through large tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; At what time can i apply this statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;apply the FREE statement whenever you are done with the table. See my earlier post about declaring a local internal table. I believe this is the best way to utilise memory resources&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; IF i use this statement as a last statement it wud be&lt;/P&gt;&lt;P&gt;&amp;gt; better?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you called the FREE statement at the very end of the program you will gain no increase in performance as the system is already finished all it's processing and is about the exit the program (and thus FREE the internal tables)!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this answers your questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2005 05:47:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067112#M93613</guid>
      <dc:creator>former_member221770</dc:creator>
      <dc:date>2005-10-21T05:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: FREE itab.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067113#M93614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Patrick,&lt;/P&gt;&lt;P&gt;Thank u very much for your patience and kindful answers.&lt;/P&gt;&lt;P&gt;I rewarded your help which is eqivalent to 0.02$...&lt;/P&gt;&lt;P&gt;Just joking.&lt;/P&gt;&lt;P&gt;Thank u very much once again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2005 05:53:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/free-itab/m-p/1067113#M93614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-21T05:53:31Z</dc:date>
    </item>
  </channel>
</rss>

