<?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: Update ALV after database is changed from another program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-after-database-is-changed-from-another-program/m-p/8683100#M1669273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try to use such an event to refresh the display, then when handling the event look for a change in database since last display, if available look at CDHDR or DBTABLOG depending of the data you display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the refresh raising event search scn for &lt;A href="http://search.sap.com/ui/scn#query=cl_gui_timer"&gt;cl_gui_timer&lt;/A&gt; for disussions or documents like &lt;SPAN id="title-text"&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/Snippets/Automatic+Data+Refresh+on+Module+pool+Screen"&gt;Automatic Data Refresh on Module pool Screen&lt;/A&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2012 11:22:28 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2012-04-24T11:22:28Z</dc:date>
    <item>
      <title>Update ALV after database is changed from another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-after-database-is-changed-from-another-program/m-p/8683097#M1669270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an ALV OO, and the data showed in that ALV can be changed from another Z program. Is there any way to automatically update my ALV when the data is changed from the other program? Something like tha ALV program could be waiting for an event, and that event is launched from the updating program when&amp;nbsp; it updates the database....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 10:22:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-after-database-is-changed-from-another-program/m-p/8683097#M1669270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-24T10:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Update ALV after database is changed from another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-after-database-is-changed-from-another-program/m-p/8683098#M1669271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ALV program picks the data from the table with updated values( from another program ). Instead of events or communication between 2 programs, why not try a auto refresh &lt;A href="http://www.erpgenie.com/abaptips/content/view/346/33/" title="http://www.erpgenie.com/abaptips/content/view/346/33/"&gt;http://www.erpgenie.com/abaptips/content/view/346/33/&lt;/A&gt; of ALV for a period of time. This makes it very easy &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/731/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 10:31:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-after-database-is-changed-from-another-program/m-p/8683098#M1669271</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-04-24T10:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Update ALV after database is changed from another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-after-database-is-changed-from-another-program/m-p/8683099#M1669272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Jose Beiro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know, there is no event in SAP which gets triggered on a general data base update. So if you want you may handle events in ALV, like on user enter you may check for the new data, if there is any change in the data, then you may build your internal table again and refresh the ALV table which will display the new data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps, Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kartik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 10:34:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-after-database-is-changed-from-another-program/m-p/8683099#M1669272</guid>
      <dc:creator>Kartik2</dc:creator>
      <dc:date>2012-04-24T10:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Update ALV after database is changed from another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-after-database-is-changed-from-another-program/m-p/8683100#M1669273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try to use such an event to refresh the display, then when handling the event look for a change in database since last display, if available look at CDHDR or DBTABLOG depending of the data you display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the refresh raising event search scn for &lt;A href="http://search.sap.com/ui/scn#query=cl_gui_timer"&gt;cl_gui_timer&lt;/A&gt; for disussions or documents like &lt;SPAN id="title-text"&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/Snippets/Automatic+Data+Refresh+on+Module+pool+Screen"&gt;Automatic Data Refresh on Module pool Screen&lt;/A&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 11:22:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-after-database-is-changed-from-another-program/m-p/8683100#M1669273</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-04-24T11:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Update ALV after database is changed from another program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-after-database-is-changed-from-another-program/m-p/8683101#M1669274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have situations where the user can modify or delete rows in a table, based on ALV functions.&amp;nbsp; For my needs, I clear the ALV table immediately afterward, call my routine that grabbed the data for the table, sort it and do an ALV refresh.&amp;nbsp; Works very well for me.&amp;nbsp; However, if the data is changed by something other than a process called by the ALV, this would not work.&amp;nbsp; In one case, I have a refresh button that does the same thing (dump, rebuild the table and refresh the ALV), to allow the user to see what was changed by use of another program in another session.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 11:28:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-after-database-is-changed-from-another-program/m-p/8683101#M1669274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-24T11:28:20Z</dc:date>
    </item>
  </channel>
</rss>

