I built a Table control in a subscreen for the user to input some fields in an internal table.
As a row is entered, some further processing is done on this row. for this, I need that some fields in this row become dimmed.
the solution that i used:
in PBO of the Subscreen:
LOOP AT CSITAB cursor TCCS-current_line WITH CONTROL TCCS .
in the Module change_fields:
data: my_tc type SCXTAB_COLUMN.
LOOP AT tccs-cols into my_tc .
IF csitab-salesdocument <> space.
IF my_tc-screen-group1 = '001'.
my_tc-screen-input = '0'.
modify tccs-cols from my_tc.
The effect of this code, is that it changes the whole column to output only & no other value can be entered.
I want to have some fields on the same column as editable and others as output only.
Your help is appreciated.