<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh/m-p/3854629#M926554</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;the use of this function module BUFFER_SUBSCRIBE_FOR_REFRESH is for Transaction control for BAPIs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR -  removes data from header&lt;/P&gt;&lt;P&gt;FREE - Resets a data object to its original value and releases the resources it occupied&lt;/P&gt;&lt;P&gt;REFRESH - 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;reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 May 2008 09:43:15 GMT</pubDate>
    <dc:creator>GauthamV</dc:creator>
    <dc:date>2008-05-09T09:43:15Z</dc:date>
    <item>
      <title>Refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh/m-p/3854626#M926551</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; What is the difference between Clear Itab and Refresh Itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; What is the use of this function module BUFFER_SUBSCRIBE_FOR_REFRESH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 09:32:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh/m-p/3854626#M926551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T09:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh/m-p/3854627#M926552</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;We use CLEAR when we clear the fields of the header of the itab.&lt;/P&gt;&lt;P&gt;We use REFRESH when we delete all the rows of the itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 09:34:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh/m-p/3854627#M926552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T09:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh/m-p/3854628#M926553</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;STRONG&gt;clear itab&lt;/STRONG&gt; will clear the header line of the table itab.u can not use this for table without header lines.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;clear itab[]&lt;/STRONG&gt; will clear the body(rows) of the table itab.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;refresh itab&lt;/STRONG&gt; it is same as clear itab[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 09:35:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh/m-p/3854628#M926553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T09:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh/m-p/3854629#M926554</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;the use of this function module BUFFER_SUBSCRIBE_FOR_REFRESH is for Transaction control for BAPIs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR -  removes data from header&lt;/P&gt;&lt;P&gt;FREE - Resets a data object to its original value and releases the resources it occupied&lt;/P&gt;&lt;P&gt;REFRESH - 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;reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 09:43:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh/m-p/3854629#M926554</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2008-05-09T09:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh/m-p/3854630#M926555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;clear it will clear the varial value or header line of internal table, work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refresh it will delete all the entries of internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUFFER_SUBSCRIBE_FOR_REFRESH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module is for refreshing the buffer data which has been selected from the data base table.&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;madan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 09:45:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh/m-p/3854630#M926555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T09:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh/m-p/3854631#M926556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;generally if u declared internal table with header line consider itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;refresh itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this case &lt;/P&gt;&lt;P&gt;   clear : (intializes their values) clear the contents of work area only&lt;/P&gt;&lt;P&gt;   refresh: deletes the contents of internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;supoose consider itab without header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case &lt;/P&gt;&lt;P&gt;   clear  &amp;amp; refresh are same means both deletes the contents of internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when u use 'free' it clears the memory of table or field&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;h1&lt;STRONG&gt;bold&lt;/STRONG&gt; BUFFER_SUBSCRIBE_FOR_REFRESH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the start of each LUW the buffer must be empty. Any instances that may exist in the buffer, which were updated in an earlier LUW, are no longer blocked and may be older than the versions in the database. If this instance is updated again, inconsistencies would result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the end of each LUW, the buffer contents must be deleted by calling the delete module. This can only be done by the BAPIs BapiService.TransactionCommit() and BapiService.TransactionRollback(). To supply these BAPIs with the necessary information, BAPIs with buffering must subscribe their delete module for the BAPI BapiService.TransactionCommit() bzw. BapiService.TransactionRollback().&lt;/P&gt;&lt;P&gt;The delete module is subscribed by calling the central function module BUFFER_SUBSCRIBE_FOR_REFRESH, whereby the parameter NAME_OF_DELETEFUNC must contain the name of the delete module.&lt;/P&gt;&lt;P&gt;No COMMIT WORK or ROLLBACK WORK Command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPIs with buffering must not execute COMMIT WORK or ROLLBACK WORK commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Documentation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 09:51:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh/m-p/3854631#M926556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T09:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh/m-p/3854632#M926557</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 - we clear only the fields of the header of the itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;CLEAR dobj [ {WITH val [IN {BYTE|CHARACTER} MODE] } &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;REFRESH - we delete all the rows of the itab include the header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;REFRESH itab. &lt;/P&gt;&lt;P&gt;&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;[http://abap4beginner.blogspot.com]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 09:58:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh/m-p/3854632#M926557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T09:58:38Z</dc:date>
    </item>
  </channel>
</rss>

