Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem at Control Table (Screen-input)

Former Member
0 Likes
519

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
481

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.

3 REPLIES 3
Read only

Former Member
0 Likes
482

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.

Read only

0 Likes
481

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

Read only

Former Member
0 Likes
481

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