<?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 refresh clear. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-clear/m-p/3526622#M848426</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi mates,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     what is the difference bt refresh and clear. whats their usage in internal table. can anyone give sample code on usage of refresh , clear on internal tables.&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;Manoharan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Mar 2008 10:02:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-14T10:02:11Z</dc:date>
    <item>
      <title>refresh clear.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-clear/m-p/3526622#M848426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi mates,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     what is the difference bt refresh and clear. whats their usage in internal table. can anyone give sample code on usage of refresh , clear on internal tables.&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;Manoharan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 10:02:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-clear/m-p/3526622#M848426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T10:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: refresh clear.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-clear/m-p/3526623#M848427</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 will cleras the header information where as Refresh will also do same but it will remove all the BODY data available in internal table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structures are set to their initial values component by component&lt;/P&gt;&lt;P&gt;means only header information &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement sets an internal table itab to its initial value, meaning that it deletes all rows of the internal table. The memory space required for the table is freed up to the initial memory size INITIAL SIZE. For itab, you must specify an internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To delete all rows and free the entire memory space occupied by rows, you can use the statement FREE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statement REFRESH itab acts for all internal tables like CLEAR itab[]. If an internal table itab has a header line, then the table body and not the header line is initialized. If the internal table itab has no header line, REFRESH itab acts like CLEAR itab. Therefore, you should always use CLEAR instead of REFRESH.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 10:06:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-clear/m-p/3526623#M848427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T10:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: refresh clear.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-clear/m-p/3526624#M848428</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;Use CLEAR to reset any variable data object to the initial value appropriate to its type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a structure, each component is reset individually.&lt;/P&gt;&lt;P&gt;In an internal table w ithout a header line, all of the lines are deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FREE &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;Unlike CLEAR, which only deletes the contents of the table, FREE releases the memory occupied by it&lt;/P&gt;&lt;P&gt;as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR Sets the contents of the internal table to the right initial value for the column type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH works like CLEAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope this helps, Do reward.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 10:33:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-clear/m-p/3526624#M848428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T10:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: refresh clear.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-clear/m-p/3526625#M848429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb384e358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/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;Kasee Palaniappan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2008 14:02:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-clear/m-p/3526625#M848429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-16T14:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: refresh clear.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-clear/m-p/3526626#M848430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Manoj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It depends how you have defined your internal table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Using the OCCURS clause (this shouldn't be done anymore!):&lt;/P&gt;&lt;P&gt;    CLEAR initializes the Header line&lt;/P&gt;&lt;P&gt;    REFRESH initializes the entire internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) Using the TYPE TABLE (STANDARD | SORT | HASH)&lt;/P&gt;&lt;P&gt;    CLEAR initializes the entire internal table! This is very important when you change the definition of your itab.&lt;/P&gt;&lt;P&gt;    REFRESH does the same as it does in a). It initializes the entire itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is quite clear (not REFRESH; ha ha)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Heinz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 03:30:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-clear/m-p/3526626#M848430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-17T03:30:35Z</dc:date>
    </item>
  </channel>
</rss>

