09-27-2006 7:41 AM
how can we create a unique radiobutton in an abap program
where the value of it should contain two values .
is that possible
09-27-2006 7:44 AM
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.
09-27-2006 7:52 AM
09-27-2006 7:56 AM
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