<?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 HANDLE_DATA_CHANGED_FINISHED in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-handle-data-changed-finished/m-p/6287206#M1389280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am trying to programaticaly trigger enter soon after user changes/enteres some value in the editable cell . Is this possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am afraid simulating ENTER is not possible, you will have to stick to one of given approaches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow it is strange why these flashes come. Didn't you set some breakpoint in handler? You may also try with other change event like &lt;STRONG&gt;DATA_CHANGED&lt;/STRONG&gt; , maybe this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Nov 2009 07:43:20 GMT</pubDate>
    <dc:creator>MarcinPciak</dc:creator>
    <dc:date>2009-11-17T07:43:20Z</dc:date>
    <item>
      <title>ALV HANDLE_DATA_CHANGED_FINISHED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-handle-data-changed-finished/m-p/6287202#M1389276</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;   I have to capture change on ALV cells  , I am using HANDLE_DATA_CHANGED_FINISHED    but  this  event gets triggered only after hitting ENTER or other user commands.&lt;/P&gt;&lt;P&gt; I wan to avoid  Hitting  ENTER  and other user commands to trigger HANDLE_DATA_CHANGED_FINISHED/HANDLE_DATA_CHANGED   . Any Ideas how to achieve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 15:49:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-handle-data-changed-finished/m-p/6287202#M1389276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-05T15:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: ALV HANDLE_DATA_CHANGED_FINISHED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-handle-data-changed-finished/m-p/6287203#M1389277</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;Why cant you use handle_data_changed for data_change event instead of data_changed_finished event &lt;/P&gt;&lt;P&gt;This will get trigerred when you enter my_grid-&amp;gt;check_changed_data( ) method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or else you can register the enter evt explictly so that this event handler method gets triggered automatically like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  my_grid-&amp;gt;register_edit_event(&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        i_event_id = cl_gui_alv_grid=&amp;gt;mc_evt_enter )..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 21:17:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-handle-data-changed-finished/m-p/6287203#M1389277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-12T21:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: ALV HANDLE_DATA_CHANGED_FINISHED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-handle-data-changed-finished/m-p/6287204#M1389278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arshad Ansary is semi right, you need to register edit events with attribute &lt;EM&gt;mc_evt_modifies&lt;/EM&gt; which will trigger handler once you move the cursor to other cell/field&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 CALL METHOD g_alv_grid_ref-&amp;gt;register_edit_event
    EXPORTING
      i_event_id = cl_gui_alv_grid=&amp;gt;mc_evt_modifies. "trigger event after change is made and cursor is moved to other field   &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 08:44:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-handle-data-changed-finished/m-p/6287204#M1389278</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-11-16T08:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: ALV HANDLE_DATA_CHANGED_FINISHED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-handle-data-changed-finished/m-p/6287205#M1389279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arshad  &amp;amp; Marcin , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have already   registered edit event with attribute  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_event_id = cl_gui_alv_grid=&amp;gt;mc_evt_modifies.  tried i_event_id = cl_gui_alv_grid=&amp;gt;cl_gui_alv_grid=&amp;gt;mc_evt_enter too . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Marcin said the event is getting triggered when the user changes and focus the cursor on next field  , but  I have many editable drop down fields on the ALV &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After entering a value in one of the editable ALV then instead of focusing  on the other field , if   I  try  to select/click on  the menu icon on the drop down (editable field ) then it  triggers the  HANDLE_DATA_CHANGED_FINISHED event and the drop down&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flashes and disapears  i have to   reselect dorp down to select the value  which is annoying .  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything works fine  when I enter a value in one of the editable field then hit  " enter key "   . So I am trying to programaticaly  trigger  enter  soon after user changes/enteres  some value in the editable cell .  Is this possible ? &lt;/P&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;&lt;P&gt;-Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2009 23:01:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-handle-data-changed-finished/m-p/6287205#M1389279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-16T23:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: ALV HANDLE_DATA_CHANGED_FINISHED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-handle-data-changed-finished/m-p/6287206#M1389280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am trying to programaticaly trigger enter soon after user changes/enteres some value in the editable cell . Is this possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am afraid simulating ENTER is not possible, you will have to stick to one of given approaches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow it is strange why these flashes come. Didn't you set some breakpoint in handler? You may also try with other change event like &lt;STRONG&gt;DATA_CHANGED&lt;/STRONG&gt; , maybe this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 07:43:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-handle-data-changed-finished/m-p/6287206#M1389280</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-11-17T07:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: ALV HANDLE_DATA_CHANGED_FINISHED</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-handle-data-changed-finished/m-p/6287207#M1389281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcin , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For now .. I am sticking with the focus option . I tried using  HANDLE_DATA_CHANGED but it did not work as per my requirement . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 16:02:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-handle-data-changed-finished/m-p/6287207#M1389281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-17T16:02:41Z</dc:date>
    </item>
  </channel>
</rss>

