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: 

Modifying selection screen

far_sid2103
Explorer
0 Kudos

Hi

Initially i have 2 parameters on the selection screen which i have made visible other 4 parameters are invisible for now.

Now I need to make the 4 invisible parameters visible and the other 2 invisible based on some condition that is happening inside start of selection.

Can someone please let me know if it is even possible or not, and if possible then how can i do it?

Thanks

Farhan

4 REPLIES 4

Sandra_Rossi
Active Contributor

If it's the Standard Selection Screen (1000), you can't change the selection screen from statements in the START-OF-SELECTION block. You must do it ideally from statements in the AT SELECTION-SCREEN OUTPUT block (process before output of the selection screen).

0 Kudos

What if I make a custom screen, then will it work?

Or if there is any alternative for what i am trying to do. Please share

0 Kudos

See my answer for the alternative (AT SELECTION-SCREEN OUTPUT).

raymond_giuseppi
Active Contributor
0 Kudos

Consider moving your code from START-OF-SELECTION to AT SELECTION-SCREEN so before leaving the selection-screen related part of your code so you can easily trigger a new PAI/PBO cycle on the selection-screen.

or consider using classic dynpro and not selection-screen for following dynpros, trying to build some complex dialog with only selection-screen may not be the best solution.