Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

selection screen

Former Member
0 Likes
551

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?

4 REPLIES 4
Read only

Former Member
0 Likes
536

HI,

For this you need to write the code in At selection-screeen output event.

Check this link..

Read only

Former Member
0 Likes
536

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

Read only

0 Likes
536

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

Read only

Former Member
0 Likes
536

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