Dear Forum participants,
I have a simple radiobutton group:
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
PARAMETERS : R3ALL RADIOBUTTON GROUP RG3,
R3DEL RADIOBUTTON GROUP RG3,
R3CCC RADIOBUTTON GROUP RG3.
SELECTION-SCREEN END OF BLOCK B1.
Which I then use in the code for instance:
if r3all = 'X'.
write : / r3all.
elseif r3del = 'X'
write : / r3del.
elseif r3CCC = 'X'.
write : / r3CCC.
The selection and code works fine if I don't select a variant.
If I call a selection screen variant with one of the radio buttons set (for instance with r3del = 'X'), then changing the radiobutton selection on the screen after the having called up the variant is ignored. Debug in the code shows that r3del is always set, even if I selected another button like r3CCC.
Anyone know why or how I can fix this behavior? Or is this and SAP bug?