Skip to Content
0
Former Member
Dec 21, 2016 at 02:31 PM

Disable Few Checkboxes in ALV using REUSE_ALV_GRID_DISPLAY

2681 Views

Hi All,

Here I am trying to disable few checkboxes based on internal table data using the

FM 'REUSE_ALV_GRID_DISPLAY' but it's not working. I have written the below code.

READ TABLE gt_ret_status WITH KEY pernr = gt_0019-pernr.
IF sy-subrc EQ 0 AND gt_ret_status-status NE '04'.
gt_data-flag = '2'.
ELSE.
gt_data-flag = ' '.
ENDIF.

gs_layout-box_fieldname = 'FLAG'.
gs_layout-box_tabname = 'GT_DATA'.
gs_layout-edit_mode = 'X'.

I am getting the output as below.

Please suggest me on this

Thanks in advance.

Attachments

check-box.png (2.9 kB)