‎2008 Aug 08 10:34 AM
hi all,
i need only one radio button in my selection screen.please tell me how to write without using group.
PARAMETERS : x_bukrs RADIOBUTTON GROUP rb1.
thanks in advance.
‎2008 Aug 08 10:35 AM
‎2008 Aug 08 10:37 AM
‎2008 Aug 08 10:35 AM
hi
minimum u must have 2 radio button
else u can opt for checkbox .
Cheers
Snehi
‎2008 Aug 08 10:36 AM
Hi
what is the purpose of using single radio button on the selection screen.
Better to go for check box.
‎2008 Aug 08 10:37 AM
Hi,
I think you can not craete single radiobutton, because you always have to assign it to a group when you declare it.
But you can declare single checkbox.
Regards,
Sujit
‎2008 Aug 08 10:37 AM
Hii!
It is not possible to have only one radiobutton in radio button group. But u can do it by programming. Just have a look at this code
REPORT z_sdn.
PARAMETERS:
p_num RADIOBUTTON GROUP rad1 DEFAULT 'X' USER-COMMAND abc MODIF ID abc,
p_char RADIOBUTTON GROUP rad1 MODIF ID xyz.
AT SELECTION-SCREEN OUTPUT.
IF p_num EQ 'X'.
LOOP AT SCREEN.
IF screen-group1 EQ 'ABC'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
IF screen-group1 EQ 'XYZ'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Regards
Abhijeet
‎2008 Aug 08 10:39 AM
Some thing like this possible..
REPORT ztest_radion.
PARAMETERS : x_bukrs RADIOBUTTON GROUP rb1 DEFAULT 'X',
x2 RADIOBUTTON GROUP rb1.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'X2'.
screen-active = 0.
screen-invisible = 0.
modify screen.
ENDIF.
ENDLOOP.You can define 2 , but display only one.
‎2008 Aug 08 10:41 AM
One solution is only threre. Create a Screen in screen painter with one radio button
rgds
rajesh
‎2008 Aug 08 10:50 AM
Hi sai latha,
Radiobuttons itself means selecting between more than one option. So, single radiobutton has no meaning and It is not possible to have single radiobutton on the selection screen.
If you want to have single selection then go for checkbox.
Regards,
Sravanthi
‎2008 Aug 08 10:52 AM
Hi,
You cannot declare a single radio button, always radiobutton have to be two minimum , its like either or, if you want one than go for a check box.
This is not possible
PARAMETERS : x_bukrs RADIOBUTTON GROUP rb1.have to be mininum like this:
PARAMETERS : x_bukrs RADIOBUTTON GROUP rb1.
PARAMETERS : x_bukrs1 RADIOBUTTON GROUP rb1.With luck,
Pritam.
‎2008 Aug 08 11:14 AM
Hi ,
It absolutely makes no sense to have only One Radio Button.
See if you select the Radio Button , then there is no option for you to Deselect it.
Its always advisable to have Check Box instead of Radio Button.