Skip to Content
author's profile photo Former Member
Former Member

Parameters with radiobutton

Hi,

I want to use only one radiobutton on the selection screen.

I have declared the parameters statement like this.

PARAMETERS: p_screen RADIOBUTTON GROUP rad1.

When I try to execute the program it is giving error as

'The radiobutton group "RAD1" contains only one PARAMETER'.Can anyone tell me what would be the reason for this.

Regards,

Hema

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

12 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 11:22 AM

    Hi,

    For radio buttons you need to choose options between two or more. If you provide only 1 option, definately it will throw an error.

    Thanks,

    Sriram Ponna.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 11:23 AM

    hi

    for an radio button u need minimum two field

    like this way

    PARAMETER p_alv RADIOBUTTON GROUP alv.

    PARAMETER p_class RADIOBUTTON

    GROUP alv DEFAULT 'X'.

    Cheers

    Snehi Chouhan

    Edited by: snehi chouhan on Jun 17, 2008 1:25 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 11:23 AM

    Hi Hema,

    Radio button genrally we use for selection,

    so there should be atleast two radio buttons,

    If there is only one what is the use of that,

    if at all ur requirement is based on this selection u can place check box instead of radio button

    Regds,

    Murali.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 11:23 AM

    HI,

    You cannot use only one radio button on the selection screen, the concept of radio button is giving choice to user to select any of the options. Instead you can use check box.

    Rgds,

    Bujji

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 11:24 AM

    Hi,

    Provide two options to choose from :

    
    PARAMETERS: p_screen RADIOBUTTON GROUP rad1,
                            p_screen1 RADIOBUTTON GROUP rad1.
    
    

    Thanks,

    Sriram Ponna.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 11:24 AM

    Hi Hema,

    Radio buttons are declared in a group.

    You cannot declare only one radiobutton. If u need only one, why dont you go for checkbox instead of radio button.

    Thanks,

    Keerthi.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 11:25 AM

    Hi

    We cannot declare one radiobutton for that purpose we use check box

    parameters:

    p_screen as checkbox.

    if there are multiple selections and we can select only one at a then we use radio button.

    for your purpose we can use checkbox.

    Hope it helps u.

    Regards

    Manjari.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 17, 2008 at 11:28 AM

    Hema,

    this is the basic thing radio button always appear in group like two or four and so on.

    simply as in your requirement you have to use checkbox instead of radio button.

    please reward for good ans.

    Amit.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 17, 2008 at 12:00 PM

    Yes...it will give error.Why should you create a radio-button with only one parameter.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 12:16 PM

    HI,

    Radio button is for selecting the single from multiple (options).

    If u want a single option use CHECKBOX it will solve your problem.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.