‎2010 Oct 08 5:25 AM
Dear friends,
I am using CL_SALV* classes to show alv output. Now i have a requirement to edit some fields and perform validation on the entered value. How i can do that using CL_SALV* functions just like it is possible using cl_gui_alv_grid functions.
Regards,
Praveen Lobo
‎2010 Oct 08 9:09 AM
Use the following class
grid_real type ref to cl_gui_alv_grid.
grid_real->is_ready_for_input( ) EQ 1.
IF grid_real->is_ready_for_input( ) EQ 0.
CALL METHOD grid_real->set_ready_for_input
EXPORTING
i_ready_for_input = 1.
This will help u to edit alv.
You can get the edited values by using the method GET_SELECTED_COLUMNS and GET_SELECTED_ROWS.
These belong to the same class cl_gui_alv_grid.
‎2010 Oct 08 9:43 AM