Application Development 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: 

SELECTION-SCREEN

Former Member
0 Kudos
159

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

former_member1245113
Active Contributor
0 Kudos
137

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

former_member1245113
Active Contributor
0 Kudos
138

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

agnihotro_sinha2
Active Contributor
0 Kudos
137

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.

0 Kudos
137

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

0 Kudos
137

I think it's ok

at selection-screen output

if param........

loop at screen

.

.

.

visible = 1.

endloop

Thanks

former_member203501
Active Contributor
0 Kudos
137

hi see this ...

if param = 'X'.

call screen 100 .

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

endif.

Former Member
0 Kudos
137

hi

you may use

loop at screen.

...

modify screen.

endloop

shiva

matt
Active Contributor
0 Kudos
137

Please use a more informative subject in future