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: 

Set Variant in Program

Former Member
0 Kudos

Hi,

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.

RS_SUPPORT_SELECTIONS

RS_VARIANT_CONTENTS

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?

Thanks!

1 ACCEPTED SOLUTION
3 REPLIES 3

0 Kudos

Hi,

I recommend you to post your code and we can see what add or correct if there's something worg.

cya,

Dimas

Former Member
0 Kudos

Hi Atish,

Your third link on events made me realise I was using the wrong event to process my code! I should've used AT SELECTION-SCREEN ON RADIOBUTTON GROUP instead of AT SELECTION-SCREEN OUTPUT.

Thanks and the points are yours!