Skip to Content
0
Former Member
Jun 06, 2006 at 11:01 AM

Delete button in editable alv : not triggering before_user_command event

187 Views

Hi,

    CREATE OBJECT event_receiver.
    SET HANDLER 
event_receiver->handle_before_user_command FOR grid1.

    CALL METHOD grid1->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->set_ready_for_input
      EXPORTING
        i_ready_for_input = 1.

Above code is not triggering the

before_user_command

event on pressing the following buttons:

Append Row

Insert Row

Delete Row

But when i am pressing Sort Up/Down the event is triggering.