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.