‎2009 Jan 13 2:37 PM
hi ..
I have a screen say 100.
on which i have 2 radio buttons which are take from the dictionary table .
Eg:
Male * Femal
I need to click only one of them .
but when i run the program both are getting selected.
so what shall i do in order to see only one radiobutton selected when i run prog
Thanks
‎2009 Jan 13 2:40 PM
hi,
need to assign both radiobutton variable to same group.
parameter: p_alv radiobutton group rad1 default 'X',
p_lst radiobutton group rad1.Then you will be able to select any one of them
‎2009 Jan 13 2:40 PM
hi,
need to assign both radiobutton variable to same group.
parameter: p_alv radiobutton group rad1 default 'X',
p_lst radiobutton group rad1.Then you will be able to select any one of them
‎2009 Jan 13 2:45 PM
this is the case when u have a selection screen..... here it is a web-dynproscreen
so i dont have parameter statment
‎2009 Jan 13 2:54 PM
Select both the radiobuttons and right click and select radiobutton group---> define.
regards,
Advait
‎2009 Jan 13 2:50 PM
Hi,
While create the screen Make the 2 radio buttions under a radio button Group.
Then only one radio button will be checked.
I think it will solve u r problem.
Thanks,
‎2009 Jan 13 3:40 PM
Hi,
First of all you will have to select both the radio buttons ,right click and define them under a radio button group.
After that depending upon the value in the dictionary set the radio button.
IF tbl-person = 'Male'.
radio1 = 'X'.
ELSE IF tbl-person = 'Female'.
radio2 = 'X'.
ENDIF.
Here 'tbl' is the name of the dictionary table and 'person' is the field which is being checked.
Hope this is useful.
Regards,
Deepthi.
‎2009 Jan 13 8:47 PM
Hi Guest,
Grouping 2 radiobuttons will solve the problem. In a group of radiobuttons, one and only can be selected at one point of time.
Hope this will help you.
Regards
Sravan