Skip to Content
Jun 12, 2009 at 02:21 AM

Edit ALV - Capture modified data



I am using cl_gui_alv_grid to show an ALV. I am able to edit the ALV. I have used the following code to register the edit event too.

 call method g_p_grid->register_edit_event
      i_event_id = cl_gui_alv_grid=>MC_EVT_MODIFIED.

  create object g_event_receiver.
  set handler g_event_receiver->handle_data_changed for g_p_grid.

The only issue that I face is, the user needs to hit the enter key inorder to store the modified values back in the internal table. Is there any way by which, the modified values can go back into the Internal table with as soon as the user changes the values.

Any suggestions will be appreciated.

Please note, I am able to edit an ALV and update the modified values into the tables. I have gone thru the exisitng examples.