fieldcat in ALV
I am using a 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' and in the output i have a check box as one of the coloums of the item details .
I want the check box to be displayed only for a few records,based upon some condition of the records in the internal table .
eg: Display checkbox only IF ITAB-SOME FIELD NE SPACE .
How can this be achieved.
if i give the syntax mentioned below,i am able to get checkboxes displayed for all the records which doesnt help me.
wa_stb_fields_tb-CHECKBOX = 'X'.
wa_stb_fields_tb-INPUT = 'X' .
wa_stb_fields_tb-col_pos = 20.
wa_stb_fields_tb-seltext_m = 'Sum'.