<?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: hi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551941#M581199</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;&amp;lt;b&amp;gt;CLEAR &amp;lt;itab&amp;gt;.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;statement. This statement restores an internal table to the state it was in immediately after you declared it. This means that the table contains no lines. However, the memory already occupied by the memory up until you cleared it remains allocated to the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using internal tables with header lines, remember that the header line and the body of the table have the same name. If you want to address the body of the table in a comparison, you must place two brackets ([ ]) after the table name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CLEAR &amp;lt;itab&amp;gt;[].&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&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;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REFRESH &amp;lt;itab&amp;gt;.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;statement. This always applies to the body of the table. As with the CLEAR statement, the memory used by the table before you initialized it remains allocated. To release the memory space, use the statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refresh should use only internal table,clear - you can use variables,internal table ,work areas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;FREE :&amp;lt;/b&amp;gt; it is deallocating meomry&lt;/P&gt;&lt;P&gt;&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;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jul 2007 10:45:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-18T10:45:40Z</dc:date>
    <item>
      <title>hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551940#M581198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guru,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u plz any of u give me the detailed info about CLEAR, REFRESH, FREE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kalyani...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 10:43:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551940#M581198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T10:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551941#M581199</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;&amp;lt;b&amp;gt;CLEAR &amp;lt;itab&amp;gt;.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;statement. This statement restores an internal table to the state it was in immediately after you declared it. This means that the table contains no lines. However, the memory already occupied by the memory up until you cleared it remains allocated to the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using internal tables with header lines, remember that the header line and the body of the table have the same name. If you want to address the body of the table in a comparison, you must place two brackets ([ ]) after the table name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CLEAR &amp;lt;itab&amp;gt;[].&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&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;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REFRESH &amp;lt;itab&amp;gt;.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;statement. This always applies to the body of the table. As with the CLEAR statement, the memory used by the table before you initialized it remains allocated. To release the memory space, use the statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refresh should use only internal table,clear - you can use variables,internal table ,work areas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;FREE :&amp;lt;/b&amp;gt; it is deallocating meomry&lt;/P&gt;&lt;P&gt;&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;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 10:45:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551941#M581199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T10:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551942#M581200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;clear will intialize the contents of the variable.&lt;/P&gt;&lt;P&gt;refresh, is used for internal tables. REFRESH ITAB = CLEAR ITAB[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FREE , apart from clearing the contents, will also deallocate the memory allocated to the itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 10:45:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551942#M581200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T10:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551943#M581201</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 &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Statement. This statement restores an internal table to the state it was in immediately after you declared it. This means that the table contains no lines. However, the memory already occupied by the memory up until you cleared it remains allocated to the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using internal tables with header lines, remember that the header line and the body of the table have the same name. If you want to address the body of the table in a comparison, you must place two brackets ([ ]) after the table name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR &amp;lt;itab&amp;gt;[].&lt;/P&gt;&lt;P&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;&lt;/P&gt;&lt;P&gt;REFRESH &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;statement. This always applies to the body of the table. As with the CLEAR statement, the memory used by the table before you initialized it remains allocated. To release the memory space, use the statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FREE &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;&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;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;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 10:45:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551943#M581201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T10:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551944#M581202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CLEAR &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Statement. This statement restores an internal table to the state it was in immediately after you declared it. This means that the table contains no lines. However, the memory already occupied by the memory up until you cleared it remains allocated to the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using internal tables with header lines, remember that the header line and the body of the table have the same name. If you want to address the body of the table in a comparison, you must place two brackets ([ ]) after the table name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR &amp;lt;itab&amp;gt;[].&lt;/P&gt;&lt;P&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;&lt;/P&gt;&lt;P&gt;REFRESH &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;statement. This always applies to the body of the table. As with the CLEAR statement, the memory used by the table before you initialized it remains allocated. To release the memory space, use the statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FREE &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;&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;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;rewards point for useful answer......&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;regards...&lt;/P&gt;&lt;P&gt;Abhay Singh.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 10:45:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551944#M581202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T10:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551945#M581203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;CLEAR&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form &lt;/P&gt;&lt;P&gt;CLEAR f. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extras: &lt;/P&gt;&lt;P&gt;1.... WITH g &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.... WITH g IN CHARACTER MODE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.... WITH g IN BYTE MODE &lt;/P&gt;&lt;P&gt;2.... WITH NULL &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Resets the contents of f to its initial value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For predefined types (see DATA), the following initial values are used: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type C: &lt;/P&gt;&lt;P&gt;'  ... ' (blank character) &lt;/P&gt;&lt;P&gt;Type N: &lt;/P&gt;&lt;P&gt;'00...0' &lt;/P&gt;&lt;P&gt;Type &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; &lt;/P&gt;&lt;P&gt;'00000000' &lt;/P&gt;&lt;P&gt;Type T: &lt;/P&gt;&lt;P&gt;'000000' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type I: &lt;/P&gt;&lt;P&gt;0 &lt;/P&gt;&lt;P&gt;Type P: &lt;/P&gt;&lt;P&gt;0 &lt;/P&gt;&lt;P&gt;Type F: &lt;/P&gt;&lt;P&gt;0.0E+00 &lt;/P&gt;&lt;P&gt;Type X: &lt;/P&gt;&lt;P&gt;0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Typ STRING: &lt;/P&gt;&lt;P&gt;`` (empty string) &lt;/P&gt;&lt;P&gt;Typ XSTRING: &lt;/P&gt;&lt;P&gt;`` (empty byte sequence) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If f is a field string, each component field is reset to its initial value. If it is an internal table without a header line, the entire table is deleted together with all its entries. If, however, f is an internal table with a header line, only the subfields in the table header entry are reset to their initial values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;DATA: TEXT(10)       VALUE 'Hello', &lt;/P&gt;&lt;P&gt;      NUMBER TYPE I  VALUE 12345, &lt;/P&gt;&lt;P&gt;      ROW(10) TYPE N VALUE '1234567890', &lt;/P&gt;&lt;P&gt;      BEGIN OF PLAYER, &lt;/P&gt;&lt;P&gt;        NAME(10)      VALUE 'John', &lt;/P&gt;&lt;P&gt;        TEL(8) TYPE N VALUE '08154711', &lt;/P&gt;&lt;P&gt;        MONEY  TYPE P VALUE 30000, &lt;/P&gt;&lt;P&gt;      END   OF PLAYER. &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;CLEAR: TEXT, NUMBER, PLAYER. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field contents are now as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ROW          = '1234567890' &lt;/P&gt;&lt;P&gt;TEXT         = '          ' &lt;/P&gt;&lt;P&gt;NUMBER       = 0 &lt;/P&gt;&lt;P&gt;PLAYER-NAME  = '          ' &lt;/P&gt;&lt;P&gt;PLAYER-TEL   = '00000000' &lt;/P&gt;&lt;P&gt;PLAYER-MONEY = 0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;When CLEAR itab references an internal table itab with a header line, it only resets the subfields in the header entry to their initial values (as mentioned above). The individual table entries remain unchanged. &lt;/P&gt;&lt;P&gt;To delete the entire internal table together with all its entries, you can use CLEAR itab[] or REFRESH itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within a logical expression, you can use f IS INITIAL to check that the field f contains the initial value appropriate for its type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variables are normally initialized according to their type, even if the specification of an explicit initial value is missing (the "... VALUE lit" addition to the DATA statement). For this reason, it is not necessary to initialize variables again with CLEAR after defining them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1 &lt;/P&gt;&lt;P&gt;... WITH g &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In some cases, the syntax rules that apply to Unicode programs are different than those for non-Unicode programs.In Unicode programs, CLEAR f WITH g is treated just like CLEA Processing Character Strings and String Processing for Byte Sequences. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The field f is filled with the value of the first byte of the field g. If f is a string, it is filled to the current length. If g is a string, it is must have length 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2 &lt;/P&gt;&lt;P&gt;... WITH g IN CHARACTER MODE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field f is filled with the character g. f must be a character-type single field or a string. If f is a string, it is filled to its current length. g must be a character-type single field with length 1 or a string with the current length 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 3 &lt;/P&gt;&lt;P&gt;... WITH g IN BYTE MODE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The field f is filled with the byte g. f must be a byte-type single field or an XSTRING-type field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If f is an XSTRING-type field, it is filled to its current length. g must be a byte-type single field with length 1 or an XSTRING-type field with the current length 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 4 &lt;/P&gt;&lt;P&gt;... WITH NULL &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This addition is not allowed in an ABAP Objects context.See Cannot Use CLEAR WITH NULL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Fills the field with hexadecimal zeros. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;You should use this addition with particular care because the fields of most data types thus receive values that are really invalid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;FREE - Resets a data object to its original value and releases the resources it occupied&amp;lt;/b&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form &lt;/P&gt;&lt;P&gt;FREE f. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;FREE f has the same effect as CLEAR f , namely that a Data object f is reset to the initial value corresponding to its type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unlike CLEAR, FREE also releases any resources taken up by the data object f. FREE can also release more resources than CLEAR for table work areas declared using the TABLES statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After FREE f, the data object f can be re-addressed at any time. The only condition is that you may need to re-allocate resources to the object. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;If f is an internal table with header line (where the name f in a sense has two meanings) the statement FREE f refers to the body of the table, and the statement CLEAR f refers to the header line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REFRESH itab.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The internal table itab is reset to its initial state, i.e. all table entries are deleted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Der Return Code SY-SUBRC is undefined. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;The header entry of a table with a header line remains unchanged. It can be reset to its initial value using CLEAR. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FREE itab can be used to free up the memory allocated to the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 10:47:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551945#M581203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T10:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551946#M581204</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;CLEAR : clear s heder line.body will bw as it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH : Delete records from body. memory will be still allocated.&lt;/P&gt;&lt;P&gt;FREE : Deletes records from body. memory is freed.&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;Regards.&lt;/P&gt;&lt;P&gt;Srikanta Gope&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 10:47:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551946#M581204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T10:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551947#M581205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kalyani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear: it clears the work area data if it is a internal table with header&lt;/P&gt;&lt;P&gt;       clear field -&amp;gt; it clears the field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refresh : it clears the internal table data&lt;/P&gt;&lt;P&gt;free:it removes the data from memory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regrads&lt;/P&gt;&lt;P&gt;suman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 10:47:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551947#M581205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T10:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551948#M581206</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:&lt;/P&gt;&lt;P&gt;Deletes the content of the header area of internal table&lt;/P&gt;&lt;P&gt;Does not delete the content of the internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refresh:&lt;/P&gt;&lt;P&gt;Deletes the content of the internal table&lt;/P&gt;&lt;P&gt;Does not delete the content of the header area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Free:&lt;/P&gt;&lt;P&gt;Frees the memory space allocated to the internal table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 10:52:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551948#M581206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T10:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551949#M581207</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--- deletes all row of internal table and releases the memory occupied by the body.Header line if exists remain unchanged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; REFRESH--same as FREE only difference is that the memory occupied by the body of internal table is not released.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CLEAR itab.&lt;/P&gt;&lt;P&gt; CLEAR itab[]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 ---if header line exists 1st one clears header line and later one deletes all rows of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               -- if without header line both clears the body of itab, but memory allocated is not freed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      pls reward if useful,&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;      Regards,&lt;/P&gt;&lt;P&gt;      Deb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 10:53:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551949#M581207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T10:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551950#M581208</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;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;CLEAR:&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;Like all data objects, you can initialize internal tables with the&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 declared it. This means that the table contains no lines. However, the memory already occupied by the memory up until you cleared it remains allocated to the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using internal tables with header lines, remember that the header line and the body of the table have the same name. If you want to address the body of the table in a comparison, you 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;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;REFRESH:&amp;lt;/b&amp;gt;&amp;lt;/u&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 memory used by the table before you initialized it remains allocated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;FREE:&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;To release the memory 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 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;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>Wed, 18 Jul 2007 10:54:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2551950#M581208</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T10:54:58Z</dc:date>
    </item>
  </channel>
</rss>

