Skip to Content
0
May 22, 2012 at 06:26 AM

Grey out the single cell in table control

870 Views

Hi,

I want to grey out the particular cell in 3rd row 'ITAB-SINE' (2nd column)column in the table control.

I've tried like this.But its not working.

loop at itab with control TC cursor tc-current_line.
module gray_out.
endloop.

module gray_out output.


DATA COLS LIKE LINE OF TC-COLS.
loop at tc-cols into cols .

if tc-current_line = '3' and
cols-screen-name = 'ITAB-SINE'.
cols-screen-input = '0'.
modify tc-cols from cols index sy-tabix.
endif.
endloop.

endmodule.

Thanks.

Bala

Moderator message : Not enough re-search before posting, discussion locked.

Message was edited by: Vinod Kumar