11-29-2022 4:34 PM
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
11-29-2022 7:08 PM
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).
11-30-2022 4:33 AM
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
11-30-2022 12:48 PM
11-30-2022 10:51 AM
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.