<?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: ALV Refresh not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-refresh-not-working/m-p/5672334#M1289810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you might have to change the status of Order before you execute the ALV. The session where u are changeing the status need to be closed. and then execute the ALV to get the updated values. all the statuses will be saved in Transp. table JEST&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jun 2009 18:36:27 GMT</pubDate>
    <dc:creator>former_member156446</dc:creator>
    <dc:date>2009-06-08T18:36:27Z</dc:date>
    <item>
      <title>ALV Refresh not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-refresh-not-working/m-p/5672333#M1289809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created an ALV and am calling using FM REUSE_ALV_GRID_DISPLAY.  I added a refresh button to the toolbar and in my form USER_COMMAND, when sy-ucomm = '&amp;amp;NTE', I go through my main logic again to re-populate my report table, and I also set my slis_selfield-refresh = 'X'.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is the data for my internal table seems to be saved in some sort of buffer...when I debug, I can see that it's getting the 'old' data, not the data from the production order that I just changed and saved.  Specifically, I pull back the status of a production order.  In another session, I change the status of the production order.  I come back to my ALV and refresh, and the STATUS_READ FM is pulling the data from some table JEST_BUF, which still contains the old data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see the same thing with other fields, not just the status field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it seems like I need to be clearing out a buffer or something similar when I do the refresh, but I can't seem to find anything like that.  I tried setting the 'i_bypassing_buffer' to X in the REUSE_ALV_GRID_DISPLAY and that didn't make a difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sharon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 17:54:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-refresh-not-working/m-p/5672333#M1289809</guid>
      <dc:creator>sharon_mcclure</dc:creator>
      <dc:date>2009-06-08T17:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Refresh not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-refresh-not-working/m-p/5672334#M1289810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you might have to change the status of Order before you execute the ALV. The session where u are changeing the status need to be closed. and then execute the ALV to get the updated values. all the statuses will be saved in Transp. table JEST&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 18:36:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-refresh-not-working/m-p/5672334#M1289810</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-06-08T18:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Refresh not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-refresh-not-working/m-p/5672335#M1289811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I found a 'sort-of' solution'.... I added a call to STATUS_BUFFER_REFRESH when the refresh button is pushed and that fixed the issue with getting the old status.  Still having an issue with getting other old data, but I think this puts me on the right track anyway.  Thanks J@Y!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 18:55:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-refresh-not-working/m-p/5672335#M1289811</guid>
      <dc:creator>sharon_mcclure</dc:creator>
      <dc:date>2009-06-08T18:55:42Z</dc:date>
    </item>
  </channel>
</rss>

