Hi Guys,
In the selection screen i have 2 radio buttons PO and RP.
user is allowed to select either of the one so i have created 1 radio button group.
scenario 1:
when user clicks on radio button 1 and then click the submit button.
now he wants to change his selection so he again enter and click the radio button 2 and click on subnit button.
if he goes again he can see the radio button 2 selected.so it is working fine.
Scenario 2:
when user clicks on radio button 2 and then click the submit button.
now he wants to change his selection so he again enter and click the radio button 1 and click on subnit button.
if he goes again he can see the radio button 2 selected.so it is not working fine.
The coding is as follows:
on action submit i have writtent the following code
IF ls_iohncust_values-repplanonly IS NOT INITIAL.
IF ls_iohncust_values-repplanonly EQ 'PO'.
ls_profgen_custval-cust_attr = 'REPONLY'.
ls_profgen_custval-cust_value = 'X'.
ELSEIF ls_iohncust_values-repplanonly EQ 'RP'.
ls_profgen_custval-cust_attr = 'REPPLAN'.
ls_profgen_custval-cust_value = 'X'.
ENDIF.
ENDIF.
Kindly let me know why scenario 2 is not working.