‎2008 Apr 10 7:44 AM
if gv_trtyp eq 'A'.
loop at tc_value-cols into cols.
move 0 to cols-screen-input .
move 0 to cols-screen-active .
modify tc_value-cols from cols index sy-tabix.
clear cols. " after pressing enter key then it is happening endloop.
loop at screen.
if screen-name eq 'CONT'. '' this is push buttons* OR screen-name = 'ZCURR-ZEDATU'
OR screen-name = 'ZCURR-ZWMENG'
OR screen-name = 'ZCURR-ZREASON'
OR screen-name = 'ZCURR-ZCOMMENT'.
move 0 to screen-input.
modify screen.
endif.
endloop.
***********the above logic is on table control not working properly need to disable table control as well as push buttons both
‎2008 Apr 10 8:25 AM
Hi ,
During processing of a table control or a step loop, the changes affect the current line of the table control or the current step loop group. Before the processing of a table control, the change to the attributes of a screen element that is part of a line in the table control does not effect the table control, since the values are transferred from the structure created using CONTROLS. Before a step loop is processed, the change to the attributes of a screen elements that is part of a step loop group affects all groups in the step loop.
MODULE modify_0100 OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'VAL'.
screen-active = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDMODULE. Regards,
Renjith Michael.