Skip to Content
0
Former Member
Jun 29, 2007 at 05:34 AM

Table Control - single cell change attributes

343 Views

Hi,

I have TC on subscreen and need to change single cell with amount to be able for input data depending status in another field. This can be done in some rows in some not. Field in screen painter is seted on INPUT = 1.

my code looks like this:

PBO:

 loop at it into wa 
    with control tab_ctrl.
    module data_transfer.
    module change_cell.
  endloop.

module change_cell.
  loop at screen.
   if screen-name = 'AMOUNT'.
      if plast = 'X'.
        screen-input = 1.
        screen-output = 1.
        screen-active = 1.
      else.
        screen-input = 0.
        screen-output = 1.
        screen-active = 1.
      endif.
    endif.
    modify screen.
  endloop.

endmodule. 

Where is the problem?