‎2008 Jul 17 10:33 AM
Hi,
I have faced problem of grouping 3 radio buttons in screen painter (no graphical editor). How to do it?
I have checked similiar threads in SDN, but those are for graphical editor.
http://saptechnical.com/Tutorials/ABAP/Checkbox/page1.htm
http://saptechnical.com/Tutorials/ABAP/Checkbox/page2.htm
Regards,
Sukhbold
‎2008 Jul 17 11:18 AM
Hi
Select the radio buttons that you want to group then click the mouse right button and choose Define.
Enter the FCODE for one of the radio buttons in the group, it will appear the same for other radio buttons in the group
Hope this would help you.
Murthy
‎2008 Jul 17 11:03 AM
Hi,
U want to create radio button in the selection screen then u can create like this
PARAMETERS : c1 AS CHECKBOX USER-COMMAND cd,
r1 RADIOBUTTON GROUP rad,
r2 RADIOBUTTON GROUP rad.
AT SELECTION-SCREEN OUTPUT.
IF c1 = 'X'.
LOOP AT SCREEN.
IF screen-name = 'R1'.
screen-input = '0'.
screen-active = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
IF screen-name = 'R1'.
screen-input = '1'.
screen-active = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Thanks,
‎2008 Jul 17 11:18 AM
Hi
Select the radio buttons that you want to group then click the mouse right button and choose Define.
Enter the FCODE for one of the radio buttons in the group, it will appear the same for other radio buttons in the group
Hope this would help you.
Murthy
‎2008 Jul 17 11:24 AM
Hi Murthy,
How to select all the radio buttons in numerical editor (not in graphical editor) ?
Regards,
Sukhbold
Edited by: Sukhbold Altanbat on Jul 17, 2008 6:49 PM
‎2008 Jul 18 12:52 AM
Lucky for you there are some of us dinosaurs around who still like the older editor... once you have defined your radio buttons (usually these are one above the other), you click on the top radio button then click the button on the toolbar marked "Graphical Element" (CtrlShiftF6)... you'll then see the screen title change to "Screen Painter: Change Radio Buttons" and there will be a button "Define Graphic Group" (CtrlShiftF8)... click the last radio button in the group, then that button to define the group.
Jonathan
‎2008 Jul 18 5:05 AM
Hi Jonathan,
Thank you for the answer.
It worked exactly how you described.
Regards,
Sukhbold