<?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 buffer memory in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332933#M513513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any one can tell me the difference between clear,refresh and free keywords which are used in internal tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2007 09:56:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-11T09:56:03Z</dc:date>
    <item>
      <title>buffer memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332933#M513513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any one can tell me the difference between clear,refresh and free keywords which are used in internal tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 09:56:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332933#M513513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T09:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: buffer memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332934#M513514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Clear: clears the Header of the Itab&lt;/P&gt;&lt;P&gt;REFRESH: removes the Body of the ITAB&lt;/P&gt;&lt;P&gt;FREE: removes the header, Body of the ITab and even from the Memory&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&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>Mon, 11 Jun 2007 09:57:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332934#M513514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T09:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: buffer memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332935#M513515</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 means clearing the header part of the internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear[] means clearing the body of the internal table&lt;/P&gt;&lt;P&gt;refresh means clearing the body of the internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and free    means deallocating the memory of the internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 09:57:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332935#M513515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T09:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: buffer memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332936#M513516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Varad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clear - Mostly to clear work area of table, can clear the table data also if given with []&lt;/P&gt;&lt;P&gt;refresh - to clear the whole table data&lt;/P&gt;&lt;P&gt;free - to free the memory allocated to the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 09:58:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332936#M513516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T09:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: buffer memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332937#M513517</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 resets to its initial values..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;For structure it will clear all the fields in the structure..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: S_MARA LIKE MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: S_MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. For internal tables if it is declared with header line then it clear the header line otherwise it will clear the whole internal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ITAB TYPE STANDARD TABLE OF MARA WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: ITAB.. " THis will clear the header line..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ITAB TYPE STANDARD TABLE OF MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: ITAB.. " THis will clear the whole internal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Refresh clear the internal tables irrespective of with or without header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Clear can be used for variables, work areas and internal tables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ypra_sample61.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF ty_itab,&lt;/P&gt;&lt;P&gt;data1 TYPE char10,&lt;/P&gt;&lt;P&gt;data2 TYPE char10,&lt;/P&gt;&lt;P&gt;END OF ty_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: itab TYPE STANDARD TABLE OF ty_itab,&lt;/P&gt;&lt;P&gt;wa_itab TYPE ty_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: itab1 TYPE ty_itab OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;wa_itab1 TYPE ty_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_itab-data1 = '12'.&lt;/P&gt;&lt;P&gt;wa_itab-data2 = '112'.&lt;/P&gt;&lt;P&gt;APPEND wa_itab TO itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: wa_itab, itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Here the clear will clear both the header and as well as Body - Because&lt;/P&gt;&lt;P&gt;*it is declared as type standard table of ty_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_itab1-data1 = '12'.&lt;/P&gt;&lt;P&gt;wa_itab1-data2 = '112'.&lt;/P&gt;&lt;P&gt;APPEND wa_itab1 TO itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: wa_itab1, itab1.&lt;/P&gt;&lt;P&gt;REFRESH: itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Here both the clear &amp;amp; refresh should be given to clear the workarea &amp;amp; *the internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 09:59:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332937#M513517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T09:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: buffer memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332938#M513518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Varadarajan , &lt;/P&gt;&lt;P&gt;  Clear : This is used for work area or header lines of the internal tables , so when you use the clear command it clears the header to the workarea , but the content of the internal table remains intact and do not get refreshed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in order to delete the entries in the internal table you need to use the Refresh command,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Free is used to free the memory allocated to the internal table,.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Assign point for helpful answers&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 09:59:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332938#M513518</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T09:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: buffer memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332939#M513519</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 -&amp;gt; used for  internal tables [both for header area and body ]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: clear itab -&amp;gt; clears the work area.&lt;/P&gt;&lt;P&gt;     clear itab[] -&amp;gt; clears the body of internal table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refresh -&amp;gt; used to clear the worharea of an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: refresh itab -&amp;gt;  clears the work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;free -&amp;gt; used to free up the memory space occupied by internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: free iatb.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;suresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:01:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332939#M513519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T10:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: buffer memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332940#M513520</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 &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;statement. This statement restores an internal table to the state it was in immediately after you&lt;/P&gt;&lt;P&gt;declared it. This means that the table contains no lines. However, the memory already occupied&lt;/P&gt;&lt;P&gt;by the memory up until you cleared it remains allocated to the table.&lt;/P&gt;&lt;P&gt;If you are using internal tables with header lines, remember that the header line and the body of&lt;/P&gt;&lt;P&gt;the table have the same name. If you want to address the body of the table in a comparison, you&lt;/P&gt;&lt;P&gt;must place two brackets ([ ]) after the table name.&lt;/P&gt;&lt;P&gt;CLEAR &amp;lt;itab&amp;gt;[].&lt;/P&gt;&lt;P&gt;To ensure that the table itself has been initialized, you can use the&lt;/P&gt;&lt;P&gt;REFRESH &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;statement. This always applies to the body of the table. As with the CLEAR statement, the&lt;/P&gt;&lt;P&gt;memory used by the table before you initialized it remains allocated. To release the memory&lt;/P&gt;&lt;P&gt;space, use the statement&lt;/P&gt;&lt;P&gt;FREE &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;You can use FREE to initialize an internal table and release its memory space without first using&lt;/P&gt;&lt;P&gt;the REFRESH or CLEAR statement. Like REFRESH, FREE works on the table body, not on the&lt;/P&gt;&lt;P&gt;table work area. After a FREE statement, you can address the internal table again. It still&lt;/P&gt;&lt;P&gt;occupies the amount of memory required for its header (currently 256 bytes). When you refill the&lt;/P&gt;&lt;P&gt;table, the system has to allocate new memory space to the lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:04:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332940#M513520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T10:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: buffer memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332941#M513521</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;chk this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb384e358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb384e358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anversha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 10:05:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332941#M513521</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2007-06-11T10:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: buffer memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332942#M513522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;clear:refreshes header&lt;/P&gt;&lt;P&gt;refresh:just tempararily refresh the content but actually the data is not erased from database&lt;/P&gt;&lt;P&gt;free:it frees the memory allocated by the data from the database server also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 20:54:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffer-memory/m-p/2332942#M513522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-13T20:54:33Z</dc:date>
    </item>
  </channel>
</rss>

