‎2008 Jan 25 12:38 PM
hi guys,
I create a Grid (Control Table using the Wizard) from a Internal Table, I need to set Values of the GRID like Screen-input = '0'. or Screen-output = '1'.;
I try to change screen-ACTIVE, screen-INPUT, screen-OUTPUT and screen-INVISIBLE, but make no changes at screen.
I have other GRID at screen and that changes normally;
Here the code to change that: (PBO)
LOOP AT SCREEN.
if screen-name = 'TI_UNIT-UNIT'.
screen-INPUT = '0'.
MODIFY SCREEN.
endif.
ENDLOOP.
Regards,
Allan Cristian
‎2008 Jan 25 12:41 PM
Hi,
try this code
LOOP AT SCREEN.
if screen-name cp 'TI_UNIT-UNIT'.
screen-INPUT = '0'.
MODIFY SCREEN.
endif.
ENDLOOP.
Plzz reward points if it helps.
‎2008 Jan 25 12:41 PM
Hi,
try this code
LOOP AT SCREEN.
if screen-name cp 'TI_UNIT-UNIT'.
screen-INPUT = '0'.
MODIFY SCREEN.
endif.
ENDLOOP.
Plzz reward points if it helps.
‎2008 Jan 25 12:45 PM
hi manjari,
The code enter normally, and pass at Modify Screen normally, but at screen the GRID not modify.
The GRID have Column Mark too, the Mark block normally, but at the 'TI_UNIT-UNIT' not work.
Regards
Allan Cristian
‎2008 Jan 25 12:57 PM
My problem was at Screen Logic:
LOOP AT ti_unit WITH CONTROL tc_unit_9000
CURSOR tc_unit_9000-current_line.
MODULE update_9000_unit.
ENDLOOP.
MODULE update_unit.
I was executing the loop at screen at module update_9000_unit in loop...
I create other module and put the code in...
and work's fine...
Allan Cristian
Edited by: Allan Cristian on Jan 25, 2008 11:22 AM