Skip to Content
0
Former Member
Oct 04, 2016 at 12:37 PM

Select all checkboxes in ALV Tree simple

746 Views

Hi,

We have created ALV Tree report using class "cl_gui_alv_tree_simple" and have one field as a checkbox. Now we are trying to achieve the Select all functionality in the same. However, when we set Checkbox field = ABAP_TRUE in internal table and call method "refresh_table_display" checkbox is not getting selected instead 'X' is showing near the Checkbox. If we try to achieve the deselect all functionality by setting Checkbox = ABAP_FALSE and then we call method "refresh_table_display" all the checkboxes selected get's deselect.

To make that field as a checkbox we are passing parameter "checkbox" = abap_true in field catalog which has type lvc_s_fcat.

Regards,

Alex