Start of Content Area

Background documentation Group Locate the document in its SAP Library structure

The Group UI element is a UI element container and can be used to group multiple UI elements under one common title. The appearance of this UI element looks like a display panel with a colored background.

The enabled property has no effect on the UI element children you inserted into the Structure linkUI Element Container. If, for example, you set the enabled property to false in the group UI element, an input field inserted in it is not automatically deactivated. If the UI element children in this group UI element are also to be deactivated, you must set the relevant property for each UI element separately.

Examples of the Display

Group with Primary Color

This graphic is explained in the accompanying text

 

Group with Secondary Color and Tool Bar

This graphic is explained in the accompanying text

 

Group mit SAP Color

This graphic is explained in the accompanying text

Note

To enable the development of Structure linkaccessible applications, the accessibilityDescription property is checked during the syntax check if the caption property is not set.

The tooltip property is not checked.

A tooltip does not necessarily have to be set for this UI element, but it could make sense to set it if it contains detailed semantic information.

 

Runtime Class

CL_WD_GROUP

 

Properties in View Designer

Name

Type

Initial Value

Bindable

ID

STRING

(automatic)

No

Structure linkaccessibilityDescription

Text

 

Yes

Structure linkdefaultButtonId

STRING

 

Yes

Structure linkdesign

WDUI_GROUP_DESIGN

primarycolor

Yes

Structure linkenabled

WDY_BOOLEAN

true

Yes

Structure linkhasContentPadding

WDY_BOOLEAN

true

Yes

Structure linkheight

STRING

 

Yes

Structure linkscrollingMode

WDUI_SCROLLING_MODE

none

Yes

Structure linktooltip

Text

 

Yes

Structure linkvisible

WDUI_VISIBILITY

visible

Yes

Structure linkwidth

STRING

 

Yes

 

Aggregations in View Designer

Name

Cardinality

Type

Structure linkElement

0..n

Structure linkUIElement

Structure linkHeader

1..1

Structure linkCaption

Structure linkToolbar

0..1

Structure linkToolBar

Note

Other properties that can be inherited are defined in the associated higher-level class. The associated UI elements are:

      ScrollContainer

      Structure linkUIElementContainer

      Structure linkUIElement

      Structure linkViewElement

Dynamic Programming

For dynamic programming, the same properties, events and aggregations are available as in View Designer. Bear in mind the different spellings.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

Structure linkaccessibilityDescription

ACCESSIBILITY_DESCR

WDY_MD_TRANSLATABLE_TEXT

Structure linkdefaultButtonId

DEFAULT_BUTTON_ID

STRING

Structure linkdesign

DESIGN

WDUI_GROUP_DESIGN

 design: primarycolor

CL_WD_GROUP=>E_DESIGN-PRIMARYCOLOR

 design: sapcolor

CL_WD_GROUP=>E_DESIGN-SAPCOLOR

 design: secondarybox

CL_WD_GROUP=>E_DESIGN-SECONDARYBOX

 design: secondaryboxcolor

CL_WD_GROUP=>E_DESIGN-SECONDARYBOXCOLOR

 design: secondarycolor

CL_WD_GROUP=>E_DESIGN-SECONDARYCOLOR

Structure linkenabled

ENABLED

WDY_BOOLEAN

Structure linkhasContentPadding

HAS_CONTENT_PADDING

WDY_BOOLEAN

Structure linkheight

HEIGHT

STRING

Structure linkscrollingMode

SCROLLING_MODE

WDUI_SCROLLING_MODE

 scrollingMode: auto

CL_WD_GROUP=>E_SCROLLING_MODE-AUTO

 scrollingMode: both

CL_WD_GROUP=>E_SCROLLING_MODE-BOTH

 scrollingMode: none

CL_WD_GROUP=>E_SCROLLING_MODE-NONE

Structure linktooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

Structure linkvisible

VISIBLE

WDUI_VISIBILITY

 visible: none

CL_WD_GROUP=>E_VISIBLE-NONE

 visible: visible

CL_WD_GROUP=>E_VISIBLE-VISIBLE

Structure linkwidth

WIDTH

STRING

 

Dynamic Programming of Aggregations

View Designer Name

Runtime Name

Cardinality

Structure linkElement

CHILDREN

0..n

Structure linkHeader

HEADER

1..1

Structure linkToolbar

TOOLBAR

0..1

Example

You can find an example of this UI element in the system in the Web Dynpro application, WDR_TEST_UI_ELEMENTS.

 

 

End of Content Area