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

table control screen properties changes

Former Member
0 Likes
461

hai,

I want to change the screen properties like (screen-input,screen-invisible) for each row based on the

indicator field within the table control.

for eg

IF lum_ind = 'NO'.

LOOP AT SCREEN.

if screen-group1 = 'LUM'.

screen-input = 1.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

4 REPLIES 4
Read only

Former Member
0 Likes
430

Hi,

There are many thread regarding this.

And the way you told is right, it should work.

For Making Columns as invisible...you can try this way

LOOP AT actuals_main-cols INTO wsl_col WHERE

screen-name = 'ZACTUALS_STRUC-CNTR' OR

screen-name CP 'ZACTUALS_STRUC-STATUS*' .

wsl_col-invisible = 1.

MODIFY actuals_main-cols FROM wsl_col.

ENDLOOP.

If you want to grey out the fields...try this way.

LOOP AT SCREEN.

IF screen-name = 'COL1'.

screen-input = 0.

ENDIF.

MODIFY SCREEN.

ENDLOOP.

Thanks & Regards,

Vamsi.

Read only

0 Likes
430

Thanks for Your Reply

i have already tried your coding

but its not working

consider

table control contains two row

first row contains indicator yes - here field should be grey out.

second row contains indicator no - here value should be enterd for that field.

Read only

Former Member
0 Likes
430

This message was moderated.

Read only

0 Likes
430

Thanks for Your Reply

i have already tried your coding

but its not working

consider

table control contains two row

first row contains indicator yes - here field should be grey out.

second row contains indicator no - here value should be enterd for that field.