2009 Feb 26 8:24 AM
Hi All !!!
i am creating an hr infotype inwhich i have screen in which i have 3 radiobuttons , i have created all radiobuttons in layout ,
At a time of execution it showing all3 buttons seleted but i want that selectio of buttons by user,
in declaration i have declared as below
DATA : RB1 TYPE C,
RB2 TYPE C.
CAN ANYBODY TELL ME HOW TO SO;VE THESE PROBLEM
2009 Feb 26 8:28 AM
hi,
In screen painter...
Select all radio buttons ....
Right click on the seleceted radio buttons
Select
Radio Button Group------>Define...
Hope it solves ur problem
Thanks & Regards
2009 Feb 26 8:28 AM
2009 Feb 26 8:29 AM
2009 Feb 26 8:33 AM
One radiobutton and only one is selected at a time, what you wrote indicates that your three rtadiobuttons are not member of a single group.
Go to SE51 and select all the three checkboxes and then convert them into a radiobutton group.
Regards
2009 Feb 26 8:41 AM
Hello Paresh,
please provide Group to your radio button declaration.
Like below code :
PaRAMETERS: r_xyz1 radiobutton group r1,
r_xyz2 radiobutton group r1,
r_xyz3 radiobutton group r1,
Hope it will Help you.
Have a Nice Day,
Regards,
Sujeet
2009 Feb 26 8:43 AM
Hi,
Whenever you take multiple radiobuttons on screen of same group i.e., if you want only one of them to be selected at a time, then you need to define them into a single group.
To do so follow these simple steps:
Select all radio buttons --> Right click on the seleceted radio buttons --> Select Radio Button Group -->Define
Now when you execute, only one radiobutton will be selected at a time.
And remember that you need to declare variables (no of variabels same as no of radiobutton taken on screen and of same name) to hold the value corresponding to the radiobutton is selected.
data : v_rb1(1) type c,
v_rb2(1) type c.
"and so on.
Hope this helps you.
Thanks & Regards,
Tarun Gambhir
2009 Mar 02 7:45 AM