<?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: SALV Message on data changed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/salv-message-on-data-changed/m-p/734819#M34796</link>
    <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;raymond.giuseppi&lt;/SPAN&gt; gave you 2 pieces to achieve your goal (3 if you count ABAP Channels): you should put them together&lt;/P&gt;
  &lt;OL&gt;
   &lt;LI&gt;Timer to trigger event&lt;/LI&gt;
   &lt;LI&gt;Event to read data and show the popup &lt;/LI&gt;
  &lt;/OL&gt;
  &lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jul 2018 09:50:37 GMT</pubDate>
    <dc:creator>SimoneMilesi</dc:creator>
    <dc:date>2018-07-13T09:50:37Z</dc:date>
    <item>
      <title>SALV Message on data changed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/salv-message-on-data-changed/m-p/734812#M34789</link>
      <description>&lt;P&gt;I have an &lt;CODE&gt;SALV&lt;/CODE&gt; table and I want to display a message every time the &lt;CODE&gt;work center category&lt;/CODE&gt; is changed.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;BLOCKQUOTE&gt; 
   &lt;P&gt;*The user cannot directly change the work_center_category from this &lt;CODE&gt;SALV&lt;/CODE&gt;,another user if he goes to &lt;CODE&gt;IW32&lt;/CODE&gt; and manually changes the &lt;CODE&gt;wc_cat&lt;/CODE&gt;,the user should have a pop up &lt;CODE&gt;MESSAGE 'CAS was changed.' TYPE 'I'.&lt;/CODE&gt;&lt;/P&gt;
   &lt;P&gt; &lt;/P&gt;
   &lt;P&gt; &lt;/P&gt;
   &lt;P&gt; &lt;/P&gt;
  &lt;/BLOCKQUOTE&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;The value is going to be changed in IW32 but the message to be displayed in my current SALV table.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Can anybody help me how to do this?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2018 14:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/salv-message-on-data-changed/m-p/734812#M34789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-07-12T14:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: SALV Message on data changed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/salv-message-on-data-changed/m-p/734813#M34790</link>
      <description>&lt;P&gt;Are you copying the run data of ALV to some custom table beacuse otherwise how can you be sure that work center category has been changed between last ALV run and now. If you can track the data changes then should be easy because before every next run of ALV you can compare the data and show message. Also, you can consider appending a new column for message to show data changed information in ALV beacuse you may have data getting changed for multiple work center catergories.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 03:45:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/salv-message-on-data-changed/m-p/734813#M34790</guid>
      <dc:creator>Ankit_Maskara</dc:creator>
      <dc:date>2018-07-13T03:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: SALV Message on data changed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/salv-message-on-data-changed/m-p/734814#M34791</link>
      <description>&lt;P&gt;To show message on changed in ALV, you have to handle onchange event and check which field is changed. Search for it, there are alot of sample out there. &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;The requirement to show popup on ALV based on change in iw32 i really dont understand your concept...but when user1 edit on ALV and want to check if data actually changed while he working then you have to select data from table and compare yourself.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 04:02:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/salv-message-on-data-changed/m-p/734814#M34791</guid>
      <dc:creator>DoanManhQuynh</dc:creator>
      <dc:date>2018-07-13T04:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: SALV Message on data changed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/salv-message-on-data-changed/m-p/734815#M34792</link>
      <description>&lt;P&gt;As the change of the order is not executed in your transaction, you report should look for changes since last display. &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;UL&gt; 
   &lt;LI&gt;You can start the hunt for changes in an event such as PAI/PBO on a refresh function, or periodically if you use a class such as CL_GUI_TIMER to raise an event every n seconds.&lt;/LI&gt; 
   &lt;LI&gt;If you display too many orders to allow a frequent full reload of displayed data for performance, you could first look for change documents created since last display (e.g. CDHDR with OBJECTCLAS = 'ORDER', memorize the last CHANGENR value at first display of table and after each partial reload, look for available indexes on CDHDR on your system to optimize) and only update changed records before refreshing display.&lt;/LI&gt; 
  &lt;/UL&gt;
  &lt;P&gt;&lt;EM&gt;Of course some high-level Abapper could also play with Abap (messaging) Channels to handle communication between transaction that update order and transaction that display orders...&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 05:48:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/salv-message-on-data-changed/m-p/734815#M34792</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2018-07-13T05:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: SALV Message on data changed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/salv-message-on-data-changed/m-p/734816#M34793</link>
      <description>&lt;P&gt;The idea is to show a pop up every time the users displays an order,it doesn't matter how many rows there are different the pop up is going to be only one.If you could please provide me with an example that would be great,since I am new and I don't really know how to handle these events.&lt;/P&gt;
  &lt;P&gt;You also don't have to refresh the alv everytime,the condition should fire everytime the user displays the order.&lt;/P&gt;
  &lt;P&gt;Thank You in Advance!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 07:29:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/salv-message-on-data-changed/m-p/734816#M34793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-07-13T07:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: SALV Message on data changed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/salv-message-on-data-changed/m-p/734817#M34794</link>
      <description>&lt;UL&gt;
   &lt;LI&gt;To raise/handle timer event, look at demo program SAP_TIMER_DEMO (45 lines)&lt;/LI&gt;
   &lt;LI&gt;To find if one of the tracked fields has been changed, select order changed from cdhdr as written, optimizing with a 'changenr &amp;gt; last_changenr' then select fields changed from cdpos (cluster) with keys of cdhdr looking for your field(s)&lt;/LI&gt;
  &lt;/UL&gt;</description>
      <pubDate>Fri, 13 Jul 2018 07:33:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/salv-message-on-data-changed/m-p/734817#M34794</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2018-07-13T07:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: SALV Message on data changed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/salv-message-on-data-changed/m-p/734818#M34795</link>
      <description>&lt;P&gt;the program is only to display a message at a specific time,I dont understand how it can handle the IW32 changes in wc_cat&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 07:51:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/salv-message-on-data-changed/m-p/734818#M34795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-07-13T07:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: SALV Message on data changed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/salv-message-on-data-changed/m-p/734819#M34796</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;raymond.giuseppi&lt;/SPAN&gt; gave you 2 pieces to achieve your goal (3 if you count ABAP Channels): you should put them together&lt;/P&gt;
  &lt;OL&gt;
   &lt;LI&gt;Timer to trigger event&lt;/LI&gt;
   &lt;LI&gt;Event to read data and show the popup &lt;/LI&gt;
  &lt;/OL&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 09:50:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/salv-message-on-data-changed/m-p/734819#M34796</guid>
      <dc:creator>SimoneMilesi</dc:creator>
      <dc:date>2018-07-13T09:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: SALV Message on data changed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/salv-message-on-data-changed/m-p/734820#M34797</link>
      <description>&lt;P&gt;This is just a sample in order to show you how easily you can use the CL_GUI_TIMER class to trigger an event every second. &lt;/P&gt;
  &lt;P&gt;Now you have to start coding activating the class initially and handling the event to&lt;/P&gt;
  &lt;UL&gt;
   &lt;LI&gt;look for changes &lt;/LI&gt;
   &lt;LI&gt;run again the class.&lt;/LI&gt;
  &lt;/UL&gt;
  &lt;P&gt;Or look for another solution.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 12:18:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/salv-message-on-data-changed/m-p/734820#M34797</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2018-07-13T12:18:37Z</dc:date>
    </item>
  </channel>
</rss>

