Do you have any question about this error?
Message type: E = Error
Message class: 37 - Screen Painter
Message number: 786
Message text: Group can only contain radio buttons
The group of screen elements with which you want to define a radio
button group contains elements that are not radio buttons. Since the
elements of a radio button group belong together logically, the group
can only consist of radio buttons.
The radio button group cannot be defined.
Define the selection so that it only contains radio buttons. If
necessary, deselect any elements that fall within the selection by
holding down the Ctrl or Alt key and single-clicking them.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
37786
- Group can only contain radio buttons ?The SAP error message "37786: Group can only contain radio buttons" typically occurs in the context of SAP GUI programming, particularly when dealing with screen elements in a dialog program or a module pool. This error indicates that a group of radio buttons has been defined incorrectly, where the system expects only radio buttons to be part of that group.
Cause:
- Mixed Control Types: The error arises when a group of radio buttons (defined in a screen) contains other types of controls (like checkboxes, input fields, etc.) along with radio buttons. In SAP, a radio button group must exclusively contain radio buttons.
- Incorrect Grouping: The radio buttons may not be properly grouped using the same group name, or there may be an attempt to group controls that are not compatible.
Solution:
- Check Control Types: Ensure that all controls within the group are radio buttons. Remove any non-radio button controls from the group.
- Correct Grouping: Make sure that all radio buttons that are intended to be part of the same group share the same group name. This is done in the screen painter or in the screen attributes.
- Review Screen Layout: Open the screen in the Screen Painter and verify the properties of the radio buttons. Ensure that they are correctly set up as part of a radio button group.
- Recreate the Group: If necessary, delete the existing radio buttons and recreate them, ensuring they are grouped correctly from the start.
Related Information:
By following these steps, you should be able to resolve the error and ensure that your radio button groups function correctly within your SAP application.
Get instant SAP help. Start your 7-day free trial now.
37785
Group must contain at least 2 pushbuttons
What causes this issue? You selected a group of screen elements that you want to define as a radio button group. However, there is only one radio but...
37782
Screen limit exceeded (group not moved)
What causes this issue? You tried to move the element group to a position where at least one of its elements would have extended past the edge of the...
37788
Fixed step loops not allowed next to variable ones (group not moved)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
37789
Nested step loops are not allowed (step loop not created)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.