Set Variant in Program
I have a requirement for a selection screen with 4 radiobuttons. Each radiobutton should trigger a selection screen variant to be displayed. I've tried using the following function modules, but it doesn't seem to work.
The radiobuttons are defined with USER-COMMAND run, but what happens is, whenever I select a different radiotbutton, the selection criteria stays the same, it only changes if I hit enter again.
Can someone give me a sample code that runs in AT SELECTION-SCREEN OUTPUT that will make this work for me?
Check below links