Skip to Content
0
Apr 10, 2008 at 06:44 AM

desable table control and push buttons

16 Views

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