‎2008 Nov 30 10:11 AM
In my selection screen I have some parameters and I want to modify the parameter in program and make it visible. How to do it?
‎2008 Nov 30 10:30 AM
‎2008 Nov 30 1:10 PM
Try this:
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'P_PAR'.
screen-invisible = '1'. "Invisible
ELSE.
screen-invisible = '0'. "Visible
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Regards,
Rebeka
‎2008 Nov 30 1:26 PM
Hi,
Small correction to above code: Modify statement should be in both the IF or Else conditons are true..
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = <Paramter/Select Option> " 'P_PAR'.
screen-invisible = '1'. "Invisible
ELSE.
screen-invisible = '0'. "Visible
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Regards
Shiva
‎2008 Nov 30 1:25 PM
Hello Sudipto,
If you want to display some parameter in then you need to use the Event AT SELECTION SCREEN OUTPUT. and inside the event you need to put a Loop at Screen and change it to the visible mode.
Thanks,
Chidanand