Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Radiobutton

Former Member
0 Kudos

Is there any way to give only one radio button, please help me in this .

What is the process to give only one radio button(If two radio buttons only possible,

How can i use that only one radio button.

The user needs only one radio button to use

Thanks

4 REPLIES 4

Former Member
0 Kudos

Hi,

What u can do is define two radiobuttons:

PARAMETERS : RADIO1 RADIOBUTTON GROUP G1,

RADIO2 RADIOBUTTON GROUP G1 NO-DISPLAY.

This will not display Radiobutton RADIO2. But here always RADIO1 will be selected and user cant unselect the radiobutton.

Why dont u use a checkbox instead.

Regards,

Himanshu

Former Member
0 Kudos

have you checked my answer in your previous post with am question??

REPORT ychatest LINE-COUNT 30.

PARAMETERS : r1 RADIOBUTTON GROUP rad,
             r2 RADIOBUTTON GROUP rad.

AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF screen-name EQ 'R2'.
      screen-active = 0.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.

Former Member
0 Kudos

Hi Ahammad

Just elaborate ur business requirement. B'coz I havent come across a requirement like this.

Regards,

Suresh.

Former Member
0 Kudos

Hi Ali,

u need to declare 2 radio buttons and make it 1 button invisible.

PARAMETERS : R1 RADIOBUTTON GROUP RADIO,

R2 RADIOBUTTON GROUP RADIO.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF SCREEN-NAME EQ 'R2'.

SCREEN-ACTIVE = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Regards,

Vara Prasad