Skip to Content
0
Former Member
Dec 23, 2008 at 09:33 AM

Problem with the radio buttons

17 Views

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.