Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Set Variant in Program

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!

Tags:
Former Member
Former Member replied

Hi,

Check below links

selection screen, dynamic enable and disable of blocks

http://www.jt77.com/development2/programming-00701.html

http://help.sap.com/saphelp_nw04/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/content.htm

Regards,

Atish

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question