Application Development and Automation 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: 
Read only

How to set Function Code for Radion Buttons in Screen painter

sukhbold_altanbat
Active Participant
0 Likes
1,504

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

1 ACCEPTED SOLUTION
Read only

former_member787646
Contributor
937

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

5 REPLIES 5
Read only

Former Member
0 Likes
937

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,

Read only

former_member787646
Contributor
938

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

Read only

0 Likes
937

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

Read only

0 Likes
937

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

Read only

0 Likes
937

Hi Jonathan,

Thank you for the answer.

It worked exactly how you described.

Regards,

Sukhbold