05-18-2006 5:18 PM
05-18-2006 5:20 PM
hi,
PARAMETERS : p_sumrep RADIOBUTTON GROUP rad1 .
Close the thread if problem is solved.
but once u click u will not be able to deselect. u have to do it programatically.
Message was edited by: Manoj Gupta
05-18-2006 5:21 PM
There is no logic in create only one radio button.
Replace it for checkbox.
Regards.
05-18-2006 5:22 PM
from help....see the part in <b>BOLD</b>...
Addition 13
... RADIOBUTTON GROUP radi
Effect
The parameter appears on the selection screen as a radio button. All parameters assigned to the same group radi in this way, form a group of radio buttons on the selection screen. When one is selected, all of the others are not selected. The name of the radio button group can be up to four characters long.
When you define a radio button parameter, you cannot specify a length. However, you can use the LIKE addition to refer to a field with length 1 and type C or the TYPE addition to specify length 1 and type C.
The addition does not affect the way in which the parameter is displayed (as in the AS CHECKBOX additino). You can arrange the parameters as you like using the SELECTION-SCREEN statement.
Notes
You can assign a user command to the radio button group using the USER-COMMAND ucomm addition. Since all of the buttons in the same group have the same command, you can only use this addition with the first parameter in the group.
<b>A RADIOBUTTON group must have at least two parameters, of which only one (at most) can have a DEFAULT addition. The DEFAULT value must be 'X'.</b>
In the database INCLUDE DBldbSEL, RADIOBUTTON parameters, like all others, must have the addition FOR TABLE dbtab. All of the parameters in a group must belong to the same table dbtab.
You cannot use a group name radi in a program if it has already been used in DBldbSEL.
Unlike in the case of "normal" parameters, the system does not jump to the AT SELECTION-SCREEN ON p event (in fact, it is syntactically not allowed). Instead, there is an event AT SELECTION-SCREEN ON RADIOBUTTON GROUP radi for the entire group. If this event contains a Error or Warning message, the entire radio button group is ready for input when the selection screen is redisplayed.
05-18-2006 5:24 PM
HI Priya,
There is no point in creating one radio button.
U can replace it with checkbox..
Rgds,
Prakash
05-18-2006 5:26 PM
Hi Priya,
Use the following :
PARAMETERS: r1 RADIOBUTTON GROUP rad1.
Also, refer the demo programs :
DEMO_AT_SELECTION_ON_RADIO
DEMO_DYNPRO_CHECK_RADIO
DEMO_SEL_SCREEN_PARAM_RADIOB
<b>Reward points if it helps and close the thread.</b>
Regards,
Amit Mishra
Message was edited by: Amit Mishra
05-18-2006 5:29 PM
Hi,
There is no use of Creating only one Radio button.
Radio button purpose is to select either one option or other.
Better you use Checkbox in this case instead of creating Radio button.
Thanks,
Pramod