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

Radiobutton problem in module pool , both r checked by default.

Former Member
0 Likes
2,469

I am working on a screen design . i had created two radiobutton. when i see output both radiobuttons r by defult checked. i want one radiobutton to be check by default. i tried a lot but it is not working. i also followed edit->radiobuttongroup->define . but it was greyed so please answer me to solve this issue.

regards

banaja

I am working on a screen design . i had created two radiobutton. when i see output both radiobuttons r by defult checked. i want one radiobutton to be check by default. i tried a lot but it is not working. i also followed edit->radiobuttongroup->define . but it was greyed so please answer me to solve this issue.

regards

banaja

8 REPLIES 8
Read only

Former Member
0 Likes
1,424

Hi Banaja,

Hi,

Please check whether you are doing the grouping in change mode.

And also check, whether you are selecting the radiobuttons before define the grouping.

Thanks

Pavan

Read only

Former Member
0 Likes
1,424

Hi,

Please assign a same group in the radiobutton attributes...

This will solve your problme..

Regards

Sk

Read only

Former Member
0 Likes
1,424

Hi Banaja,

You can try out the following.

In you ABAP code declare a Global Data Element of the same type as the Screen Element. Then create a Module in the PBO of the calling screen. There you write the following statement.

<data element2> = 'X'.

Then after the execution of the PBO the ABAP and screen elements will automatically gets transfered. This will mark the second radio button as checked.

Let me know if require any more details.

Source:

https://forums.sdn.sap.com/click.jspa?searchID=14952288&messageID=5752695

Go through the above thread to get more insight into solving your problem

Have A Nice Day

Chaitanya.

Read only

Former Member
0 Likes
1,424

Hi banaja kumar bal,

first select the radio buttons (what ever you want to group) and then right lick the mouse in that you are able to found grouping. By using that just group the radio buttons.

I thik this process may help to you.

Regards,

Mahi.

Read only

former_member200872
Active Participant
0 Likes
1,424

Hi,

I think you should make sure that you followed all the steps to fix the issue.

Go to the layout of the screen.

Switch to Change mode

Select the radio buttons of your choice.

Follow the menu path you mentioned to give a group name.

The first radio button would be selected by default when you run the program (screen) after activation.

Regards,

Wajid Hussain P.

Read only

Former Member
0 Likes
1,424

The radio buttons must be selected together using ctrl key and put into a same group from

edit - > grouping -> Radio button groups -> define.

This will be disabled if the screen painter is in display mode.

Read only

Former Member
0 Likes
1,424

Hi,

Select both the radio buttons and right click.

Select the option 'radio buttons' where you have select again 'define' in that.

Assign the radio button a group. this will be automatically copied to the other radio button when you click on define.

Regards,

Sireesha

Read only

Former Member
0 Likes
1,424

thank u