12-04-2007 3:39 AM
hi,
this is my requirement.
when i select 'select all' button on the application tool bar.it is selecting all the records in the output of the alv,but the checkboxes related to the each record are not checked.
how can i do this?
please provide the code for this.
thanks in advance
12-04-2007 4:11 AM
Hi,
Try using this code.
LOOP AT gt_final_list INTO wlt_final_list.
wlt_final_list-select_flag = 'X'.
MODIFY gt_final_list FROM wlt_final_list
TRANSPORTING select_flag.
ENDLOOP.
CALL METHOD gv_alv_grid_object->refresh_table_display
EXPORTING
IS_STABLE =
I_SOFT_REFRESH =
EXCEPTIONS
finished = 1
OTHERS = 2.
Modify the table and refresh the grid display, It works for me.
Regards,
Anju
12-04-2007 4:38 AM
Hi,
Check this below standard program . u will get clear idea about that one.
BCALV_TEST_GRID_EDITABLE
Thanks,
<b>Sankar M</b>