Skip to Content
0
Former Member
Jun 04, 2009 at 10:17 AM

disable the fields on the screen

27 Views

Hi,

I have a screen which has few fields.In the PBO I have hidden all the fields using screen group1. Now in PAI I have to show some fileds. So I have used screen group 2. I have used the coding like this to show fields.

IF screen-group1 = 'GR1'.

IF screen-group2 IS INITIAL.

screen-active = '0'.

screen-invisible = '1'.

MODIFY SCREEN.

ELSEIF screen-group2 = 'GR2'.

screen-input = '0'.

MODIFY SCREEN.

ENDIF.

ELSEIF screen-group1 IS INITIAL.

screen-input = '0'.

MODIFY SCREEN.

ENDIF.

Still the fields are not shown on the screen.Please suggest the solution.