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

Problem with the radio buttons

Hi,

I created three radio buttons in the layout.But when i am executing the tcode all the three radibuttons are getting selected even after i code in the PBO like this

DATA: input TYPE i,

output TYPE i,

X1(1) TYPE c, X2(1) TYPE c, X3(1) TYPE c, "radio buttons

box1(1) TYPE c, box2(1) TYPE c, box3(1) TYPE c, exit(1) TYPE c.

MODULE init_screen_100 OUTPUT.

CLEAR input.

X1 = 'X'.

CLEAR: X2, X3.

ENDMODULE.

MODULE user_command_0100 INPUT.

output = input.

box1 = X1.

When i debug X2,X3 are cleared but while showing the screen all three are getting selected.Please suggest where i am wrong.

Thanks

K Srinivas

box2 = X2.

box3 = X3.

IF exit NE space.

LEAVE PROGRAM.

ENDIF.

ENDMODULE.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Dec 23, 2008 at 09:35 AM

    Hi

    You need to define a group for the radio buttons

    in screen painter

    First select the radio buttons then go to

    Editgroupingradiobutton grouping--define

    Best Regards

    Ramchander Roa.k

    Edited by: ramchander krishnamraju on Dec 23, 2008 10:35 AM

    Edited by: ramchander krishnamraju on Dec 23, 2008 10:36 AM

    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.