Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

regarding the checkboxes in interactive alv

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

p291102
Active Contributor
0 Kudos

Hi,

Check this below standard program . u will get clear idea about that one.

BCALV_TEST_GRID_EDITABLE

Thanks,

<b>Sankar M</b>