<?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: Refresh statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482427#M559525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is like the clear statement..mostly used with tables to refresh the table contents.&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>Fri, 06 Jul 2007 09:11:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-06T09:11:06Z</dc:date>
    <item>
      <title>Refresh statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482422#M559520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is exact meaning of refresh statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:09:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482422#M559520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T09:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482423#M559521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refresh  :   It will deletes the contents and memory also.&lt;/P&gt;&lt;P&gt;&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;Sree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:10:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482423#M559521</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2007-07-06T09:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482424#M559522</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;suppose itab is your internal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear itab . " clear header.&lt;/P&gt;&lt;P&gt;clear itab[] . " clear only body but header line contains the data.&lt;/P&gt;&lt;P&gt;refresh itab. " clear only body but header line contains the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in clear itab[] or refresh itab the bodyb will be deleted you can not access the data by loop at itab or by read table satatement after using clear itab[] and refresh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in some cases you have to clear the header line because when you are refering the itab-f1 in loop at itab or in read table statement actually you are refering the header line data. So if you want to clear the header line in these occassion then you have to use clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Omkar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Omkaram Yanamala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:10:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482424#M559522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T09:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482425#M559523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&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;Reward if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:11:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482425#M559523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T09:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482426#M559524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REFRESH statement will clear the whole body of the internal table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:11:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482426#M559524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T09:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482427#M559525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is like the clear statement..mostly used with tables to refresh the table contents.&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>Fri, 06 Jul 2007 09:11:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482427#M559525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T09:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482428#M559526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;REFRESH ITAB &lt;/P&gt;&lt;P&gt;means deletes the complete Body data of internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&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>Fri, 06 Jul 2007 09:11:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482428#M559526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T09:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482429#M559527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Effect&amp;lt;/b&amp;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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Note&amp;lt;/b&amp;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, &amp;lt;b&amp;gt;REFRESH itab&amp;lt;/b&amp;gt; acts like &amp;lt;b&amp;gt;CLEAR itab&amp;lt;/b&amp;gt;. Therefore, you should always use CLEAR instead of REFRESH. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward  points  if it is usefull ...&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:11:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482429#M559527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T09:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482430#M559528</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; REFRESH IT_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this statement deletes all the records of the internal table.&lt;/P&gt;&lt;P&gt;that means it will initialize the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it will not deallocate the memory of internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FREE IT_TAB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will deallocate the memory of internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:12:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482430#M559528</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-07-06T09:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482431#M559529</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;REFRESH &amp;lt;itab&amp;gt;.&amp;lt;/b&amp;gt;: this statement will remove contents of internal table.&lt;/P&gt;&lt;P&gt;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;regards,&lt;/P&gt;&lt;P&gt;Ashok Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:17:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482431#M559529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T09:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482432#M559530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it deletes all the memory info.&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;Initializes an internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax&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;Resets the internal table &amp;lt;itab&amp;gt; to its initial value, that is, deletes all of its lines. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH CONTROL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initializes a control. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH CONTROL &amp;lt;ctrl&amp;gt; FROM SCREEN &amp;lt;scr&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The control &amp;lt;ctrl&amp;gt; defined in the CONTROLS statement is reset with the initial values specified for screen &amp;lt;scr&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:19:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482432#M559530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T09:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482433#M559531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Clear ITAB[] : clear contents of the ITAB not header line.&lt;/P&gt;&lt;P&gt;clear ITAB : Clear header line, if itab is w/o header line, shows compilation error.&lt;/P&gt;&lt;P&gt;Refresh : same effect as refresh&lt;/P&gt;&lt;P&gt;Free ITAB : Clear ITAB and header line and free the memory as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:25:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482433#M559531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T09:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482434#M559532</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;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF LINE,&lt;/P&gt;&lt;P&gt;COL1,&lt;/P&gt;&lt;P&gt;COL2,&lt;/P&gt;&lt;P&gt;END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA ITAB LIKE TABLE OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LINE-COL1 = 'A'. LINE-COL2 = 'B'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND LINE TO ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ITAB IS INITIAL.&lt;/P&gt;&lt;P&gt;WRITE 'ITAB is empty'.&lt;/P&gt;&lt;P&gt;FREE ITAB.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output is: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this program, an internal table ITAB is filled and then initialized with REFRESH. The IF statement uses the expression ITAB IS INITIAL to find out whether ITAB is empty. If so, the memory is released.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ameet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:29:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-statement/m-p/2482434#M559532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T09:29:03Z</dc:date>
    </item>
  </channel>
</rss>

