<?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: Delete button in editable alv : not triggering before_user_command event in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-button-in-editable-alv-not-triggering-before-user-command-event/m-p/1338531#M171577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to do some coding on "Delete row" button press&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jun 2006 11:29:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-06T11:29:27Z</dc:date>
    <item>
      <title>Delete button in editable alv : not triggering before_user_command event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-button-in-editable-alv-not-triggering-before-user-command-event/m-p/1338529#M171575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    CREATE OBJECT event_receiver.
    SET HANDLER 
event_receiver-&amp;gt;handle_before_user_command FOR grid1.

    CALL METHOD grid1-&amp;gt;set_table_for_first_display
      EXPORTING
        i_structure_name = 'SFLIGHT'
        is_print         = gs_print
        is_layout        = gs_layout
      CHANGING
        it_outtab        = gt_sflight.

    CALL METHOD grid1-&amp;gt;set_ready_for_input
      EXPORTING
        i_ready_for_input = 1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above code is not triggering the &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;before_user_command&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; event on  pressing the following buttons:&lt;/P&gt;&lt;P&gt;Append Row&lt;/P&gt;&lt;P&gt;Insert Row&lt;/P&gt;&lt;P&gt;Delete Row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i am pressing Sort Up/Down the event is triggering.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 11:01:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-button-in-editable-alv-not-triggering-before-user-command-event/m-p/1338529#M171575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T11:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Delete button in editable alv : not triggering before_user_command event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-button-in-editable-alv-not-triggering-before-user-command-event/m-p/1338530#M171576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Flora,&lt;/P&gt;&lt;P&gt; If I understand your question correctly, There is nothing wrong with this behavior.&lt;/P&gt;&lt;P&gt;The event before_user_command will trigger before a user command but not after it. What are you trying to do exactly here?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 11:23:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-button-in-editable-alv-not-triggering-before-user-command-event/m-p/1338530#M171576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T11:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Delete button in editable alv : not triggering before_user_command event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-button-in-editable-alv-not-triggering-before-user-command-event/m-p/1338531#M171577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to do some coding on "Delete row" button press&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 11:29:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-button-in-editable-alv-not-triggering-before-user-command-event/m-p/1338531#M171577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T11:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Delete button in editable alv : not triggering before_user_command event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-button-in-editable-alv-not-triggering-before-user-command-event/m-p/1338532#M171578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try using the USER_COMMAND or AFTER_USER_COMMAND events?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2006 11:31:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-button-in-editable-alv-not-triggering-before-user-command-event/m-p/1338532#M171578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-06T11:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Delete button in editable alv : not triggering before_user_command event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-button-in-editable-alv-not-triggering-before-user-command-event/m-p/1338533#M171579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried USER_COMMAND and AFTER_USER_COMMAND events,&lt;/P&gt;&lt;P&gt;but in vein. It seems "Delete Row" works on the front end, as even with debugging switch on it is not triggering any code at all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 07:08:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-button-in-editable-alv-not-triggering-before-user-command-event/m-p/1338533#M171579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T07:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Delete button in editable alv : not triggering before_user_command event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-button-in-editable-alv-not-triggering-before-user-command-event/m-p/1338534#M171580</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;it will not .Those Buttons will not respond to before user command, this is what i observed.&lt;/P&gt;&lt;P&gt;copy row, delete row, append row, insert row,move row,&lt;/P&gt;&lt;P&gt;copy, cut,paste,paste new row, undo Buttons....&lt;/P&gt;&lt;P&gt;if you want to check the program BCALV_TEST_GRID_EVENTS all buttons will respond to before usercommand, and the rest of the buttons which i mentioned won't respond , thats the reason they excluded also if we want them to make respond exclude them from alv tool bar and then add via toolbar event and trigger via user_command event handler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 07:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-button-in-editable-alv-not-triggering-before-user-command-event/m-p/1338534#M171580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T07:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Delete button in editable alv : not triggering before_user_command event</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete-button-in-editable-alv-not-triggering-before-user-command-event/m-p/1338535#M171581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;should have called the method &amp;#147;register_edit_event&amp;#148; by which you also select the way ALV Grid perceives changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD G_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_modified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD G_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>Wed, 14 Jun 2006 10:36:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete-button-in-editable-alv-not-triggering-before-user-command-event/m-p/1338535#M171581</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T10:36:46Z</dc:date>
    </item>
  </channel>
</rss>

