Dear Run,
Please try this
Output Internal table has to create a field Eg:
type : begin of xxx,
fields
fields
tab TYPE lvc_t_styl,
end of xxx.
data : gt_style TYPE lvc_t_styl,
gs_style TYPE lvc_s_styl.
LOOP internal_table INTO work_area.
gs_style-fieldname = 'CHECK'.
gs_style-style = cl_gui_alv_grid=>mc_style_disabled.
INSERT gs_style INTO TABLE gt_style.
work_area- tab = gt_style.
MODIFY gt_final FROM gs_final INDEX sy-tabix TRANSPORTING tab.
ENDLOOP
by
buz_sap