Skip to Content
0
Former Member
May 09, 2007 at 05:48 AM

Selection screen field disable

35 Views Last edit Dec 13, 2021 at 01:50 PM 2 rev

Hi All,

I have a report with a selection screen having a check box,cost centre,vendor no and other fields. My requirment is when the user clicks the check box the vendor no and the cost centre input should be enabled.I have written the below code but the AT SELECTION-SCREEN OUTPUT is getting triggred only during PBO but not during PAI when the user clicks the check box.plz help.

AT SELECTION-SCREEN OUTPUT.

IF p_check EQ 'X'.

LOOP AT SCREEN.

IF screen-name = 'FLIEF' OR screen-name = 'KOSTL'.

screen-active = 1.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ENDIF.

Thanks,

Rakesh.