<?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: Why F4 help is triggering data_changed event? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-f4-help-is-triggering-data-changed-event/m-p/5717237#M1297540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That also works fine for me, but:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user presses 'SAVE' afterwards, I trigger the check_changed_data event. And now all other&amp;nbsp; changes, expect the f4-help row,&amp;nbsp; made by the user are gone. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So let's say the user changed 4 rows of the ALV. Afterwards, he presses the 'F4-Help' of one of the modified rows. Now your CHECK solution successfully stops the Modfication of the Database for all four entries.&lt;/P&gt;&lt;P&gt;However, when the user finished selecting his F4 value and presses 'SAVE' afterwards, then the database should be modified by all 4 rows. But because the data_changed event already raised as a result of the F4-help, only this row is now part of the er_data_changed&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;Mp_mod_rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So is there a solution to suppress the data_changed event after F4-Help completly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Nov 2013 14:15:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-11-12T14:15:41Z</dc:date>
    <item>
      <title>Why F4 help is triggering data_changed event?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-f4-help-is-triggering-data-changed-event/m-p/5717235#M1297538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using oops ALV and when i try to do a F4 on a editable field, it takes me to the event data_changed.&lt;/P&gt;&lt;P&gt;But I have not registed F4 event with the ALV. I dont want the F4 to trigger data_changed event. What do I need to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 02:51:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-f4-help-is-triggering-data-changed-event/m-p/5717235#M1297538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-03T02:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why F4 help is triggering data_changed event?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-f4-help-is-triggering-data-changed-event/m-p/5717236#M1297539</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;If you do not want to do do any pre-setting of values for the search help or post-processing (e.g. validation, update of ALV list depending on selected F4-value) then just ignore the fact that event DATA_CHANGED is raised, e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
METHOD handle_data_changed.

  CHECK ( e_onf4 = abap_false ). " = ' ' (space)
  CHECK ( e_onf4_before = abap_false ).
  CHECK ( e_onf4_after = abap_false ).

  " ELSE: execute coding...
ENDMETHOD.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 03:31:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-f4-help-is-triggering-data-changed-event/m-p/5717236#M1297539</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2009-06-03T03:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why F4 help is triggering data_changed event?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/why-f4-help-is-triggering-data-changed-event/m-p/5717237#M1297540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That also works fine for me, but:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user presses 'SAVE' afterwards, I trigger the check_changed_data event. And now all other&amp;nbsp; changes, expect the f4-help row,&amp;nbsp; made by the user are gone. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So let's say the user changed 4 rows of the ALV. Afterwards, he presses the 'F4-Help' of one of the modified rows. Now your CHECK solution successfully stops the Modfication of the Database for all four entries.&lt;/P&gt;&lt;P&gt;However, when the user finished selecting his F4 value and presses 'SAVE' afterwards, then the database should be modified by all 4 rows. But because the data_changed event already raised as a result of the F4-help, only this row is now part of the er_data_changed&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;Mp_mod_rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So is there a solution to suppress the data_changed event after F4-Help completly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 14:15:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/why-f4-help-is-triggering-data-changed-event/m-p/5717237#M1297540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-12T14:15:41Z</dc:date>
    </item>
  </channel>
</rss>

