I have a requeriment where I need to put cells of a Table Control editable or not editable when my condicions are true.
I should put the cells in editable when the cells are empty and not editable when aren't empty.
I have a module in the PBO for change de screen, but It should not be working well, because it changes all column. I don' t need to put all colum edit, only the cells of table control empty.
LOOP AT it_my_tab
WITH CONTROL tc_my_tab
MODULE tc_change_attr OUTPUT.
LOOP AT SCREEN.
IF wa_my_tab-rol IS INITIAL .
screen-input = 1.
screen-input = 0.
screen-active = 1.
I' ve looked similars discussions but I haven' t found any solution for my problem.
I hope someone can help me.
<<Moderator message - there are plenty of discussions on this topic in the ABAP spaces. Please search before asking >>
Message was edited by: Rob Burbank