Skip to Content
0
Former Member
May 14, 2008 at 12:31 PM

Selection-Screen field enable/disable

5851 Views

Hi,

I have developed a report with a selection-screen.

In the selection-screen there are five fields.

The last field should remain disabled (display only) and if the value of the 4th field is 'P',should the last field become editable.

Please advise, how to do it.

I have tried the following code:

LOOP AT SCREEN.

IF screen-group1 = 'SC2'.

screen-input = '0'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

but this code doesnt work for the event "At selection-screen".

It works for "At selection-screen output".

Thanks in advance.

Regards,

Tejas