11-16-2007 12:36 PM
Hello SAP Gurus,
I have developed an editable ALV using OO technique (class <b>cl_gui_alv_grid</b>). When i change the values of the entries & press the SAVE button a custom table needs to be updated.
I have created a local class implementation & used the method handle_change_data to capture the changes in ALV.
Currently when i change multiple rows for the 1st instance & save the data, the code seems to work fine. But when in change mode i try to change the entries of multiple rows again, the method gets called for every change i am making & evrything is getting hotch potch.
Please help me out.
Regards,
Suhas
11-16-2007 12:42 PM
For each call to method handle_change_data try to update internal table data. then u dont loss data because of multiple calls.
But performance wise it will take lot of time and not recommended.
11-16-2007 12:49 PM
Hello Jyoti,
Dont we have a concrete solution to this problem. Can't we suppress the method to be called repeatedly ?
Regards,
Suhas
07-12-2013 9:11 AM
call handle_data_changed.. it will update the entries in the itab..
07-12-2013 11:32 AM
hi suhas,
go with
CALL METHOD C_ALVGD->GET_SELECTED_ROWS
after acputing data in selected row using loop used read statment on internal table on index .
and finally capture data into tempery table. and pass on other table so it wont reapet value.