2010 Mar 04 4:29 AM
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.
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.
2010 Mar 04 4:35 AM
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.
2010 Mar 04 4:50 AM
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.
2010 Mar 04 4:43 AM
2010 Mar 04 4:58 AM
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.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |