Today I was struggling with this. Wanted to change value of a selection parameter dynamically upon selection of a radio button on the selection screen. Following is the code:
Supposing you have a parameter named SVAR for which you want to set value ‘YOURVALUE’ on selection of radio R1 then you’ll write this:
IF R1 = 'X' . DELETE SVAR WHERE SIGN NE ' '. SVAR-SIGN = 'I'. SVAR-OPTION = 'EQ'. SVAR-LOW = 'YOURVALUE'. SVAR-HIGH = ''. APPEND SVAR. ENDIF.
Easy isn’t it? Well, everything is easy once you know it.. 🙂