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
800

Moderator message: please use a more informative subject in future

Hi,

I want to know if it's possible to personalize the selection-screen appears like:

if param = 'X'.

selection-screen...

parameters.....

select-options........

endif

Thanks

Edited by: Matt on Nov 26, 2008 3:44 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
778

hI

**IGNORE FROM HERE

you can not declare the parameters locally ,

they always need to be global.

I think this is not possible.

    • UP TO HERE

this is possible

in AT SELECTION-SCREEN OUTPUT.

IF sy-uname = 'XXX'.

LOOP AT SCREEN

IF SCREEN-NAME = 'XXX.

SCREEN-INPUT = 0

SCREEN-ACTIVE = 0

SCREEN-INVISIBLE = 1

ENDLOOP.

ENDIF

Try this.

i just tried it and got

regards

Ramchander Rao.K

Edited by: ramchander krishnamraju on Nov 26, 2008 1:10 PM

7 REPLIES 7
Read only

Former Member
0 Likes
779

hI

**IGNORE FROM HERE

you can not declare the parameters locally ,

they always need to be global.

I think this is not possible.

    • UP TO HERE

this is possible

in AT SELECTION-SCREEN OUTPUT.

IF sy-uname = 'XXX'.

LOOP AT SCREEN

IF SCREEN-NAME = 'XXX.

SCREEN-INPUT = 0

SCREEN-ACTIVE = 0

SCREEN-INVISIBLE = 1

ENDLOOP.

ENDIF

Try this.

i just tried it and got

regards

Ramchander Rao.K

Edited by: ramchander krishnamraju on Nov 26, 2008 1:10 PM

Read only

agnihotro_sinha2
Active Contributor
0 Likes
778

hi,

use loop at screen and then modify screen....



AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF r_ib = 'X'.
      IF screen-group1 = 'BL2'.
        screen-active  = 0.
        screen-input   = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDIF.
    IF r_reject  = 'X'.
      IF screen-group1 = 'GR1'.
        screen-active = 0.
        screen-input   = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDIF.
  ENDLOOP.

Read only

0 Likes
778

I want display selection-screen or not in depend on a parameter on table.

Read only

0 Likes
778

I think it's ok

at selection-screen output

if param........

loop at screen

.

.

.

visible = 1.

endloop

Thanks

Read only

former_member203501
Active Contributor
0 Likes
778

hi see this ...

if param = 'X'.

call screen 100 .

*----you can design what ever like select-options or parameters....

endif.

Read only

Former Member
0 Likes
778

hi

you may use

loop at screen.

...

modify screen.

endloop

shiva

Read only

matt
Active Contributor
0 Likes
778

Please use a more informative subject in future