01-11-2008 8:40 AM
is it possible to declare 2nd radio button as default one in screen which i hav created in se51.
01-11-2008 8:42 AM
01-11-2008 8:45 AM
Hi,
You can create two or more radio buttons in a group.
see radio buttons work with in a group.means only one radio button will select and other buttons are not working at that moment.so if you want to declare a radio button on a se51 you can do that.
if it is check box then there is no problem.
because if you have more than one check,you can select or de select the check boxes according to your requirement.
regards,
swami
01-11-2008 8:47 AM
In Radiobutton automatically it will come.
Whenever u crea a radiobutton,
u select all the radiobuttons.
and Goto menu EDIT->Grouping->RadiobuttonGroup->Define
hope it will useful.
- Selvapandian Arunachalam
01-11-2008 8:52 AM
Hi Kavitha,
It is possible to make second radio button as default one.we have to write this below logic in PBO EVENT ok..
loop at screen.
if screen-name = 'RADIOBUTTON2'.
radiobutton1 = space.
radiobutton2 = 'X'.
endif.
modify screen.
endloop.
Award points if helpful.
Kiran Kumar.G.A
Have a Nice Day..
Edited by: KIRAN KUMAR on Jan 11, 2008 9:53 AM
01-11-2008 9:06 AM
01-11-2008 8:55 AM
Hi Kavitha,
Parameter <p> is created with type C and length 1, and is assigned to group <radi>. The maximum length of string <radi> is 4. You can use additions TYPE and LIKE, but you must refer to a field of type C with length 1. You must assign at least two parameters to each <radi> group. Only one parameter per group can have a default value assigned using the DEFAULT addition. The default value must be 'X'. If you do not use the DEFAULT addition, the first parameter of each group ist set to 'X'.
When the user clicks a radio button on the selection screen, the respective parameter is assigned the value 'X', while all other parameters of the same group are assigned the value ' '.
REPORT DEMO.
PARAMETERS: R1 RADIOBUTTON GROUP RAD1,
R2 RADIOBUTTON GROUP RAD1 DEFAULT 'X', This gives u a default one.
R3 RADIOBUTTON GROUP RAD1,
Reward if helpful.
Thankyou,
Regards.