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: 

Unique radio button

Former Member
0 Kudos

how can we create a unique radiobutton in an abap program

where the value of it should contain two values .

is that possible

3 REPLIES 3

Former Member
0 Kudos

YOU can create two or more radio buttons and assign them to the same radiobutton group.This way the buttons will act as a group and only one can be selected at one time :

parameters :

rad1 radiobuuton group r1 default 'X',

rad2 radiobutton group r1.

Former Member
0 Kudos

Hello,

PARAMETERS:

RAD_1 radiobuuton default 'X'.

Regs,

Venkat

Former Member
0 Kudos

Hi

What does it mean "Unique Radiobutton"?

If you mean only <u>one radio button</u> no! It doesn't make a sense, but you can create a check box:

PARAMETERS: P1 AS CHECKBOX.

U have to you at least <u>two radiobutton</u>:

PARAMETERS: P1 AS RADIOBUTTON GROUP R1 DEFAULT 'X',

P2 AS RADIOBUTTON GROUP R1 MODIF ID AAA.

Anyway you can try to hide one:

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = 'AAA'.

SCREEN-ACTIVE = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Max