Hi Sarita,
You can use the event DATA_CHANGED to check the value entered for a particular cell.
And in the same event you can update the value too.
METHODS handle_data_changed " DATA_CHANGED
FOR EVENT data_changed OF cl_gui_alv_grid
IMPORTING
er_data_changed
e_onf4
e_onf4_before
e_onf4_after
e_ucomm.
* ENTER key is pressed or
CALL METHOD go_grid->register_edit_event
EXPORTING
i_event_id = cl_gui_alv_grid=>mc_evt_enter.
In this event you will get 2 methods in er_data_changed
One er_data_changed->GET_CELL_VALUE to read the value of a cell
Second er_data_changed->MODIFY_CELL to change the value of cell.
Regards,