The Explanation UI element is used to display single-line or multi-line help texts for UI element or a Web Dynpro application. The help text is generally edited at design time by the relevant documentation developer or technical editor (but not by the software developer) in the Web Dynpro ABAP authoring environment.
To permit the development of accessible applications, the tooltip property is not checked during design time, since there is no real need for a tooltip with this UI element.
For more information, see:
Help Texts for Web Dynpro Applications
Formats for UI Element Explanation
Example of the Visual Display
Runtime Class |
CL_WD_EXPLANATION |
Properties in View Designer
Name | Type | Initial Value | Bindable |
---|---|---|---|
STRING |
(automatic) |
No |
|
WDUI_CONTEXT_MENU_BEHAVIOUR |
inherit |
No |
|
WDY_MD_UI_ELEMENT_REFERENCE |
No |
||
WDUI_EXPLANATION_DESIGN |
standard |
No |
|
WDY_BOOLEAN |
true |
Yes |
|
Translatable text |
No |
||
DOKU_OBJ |
No |
||
Translatable text |
Yes |
||
WDUI_VISIBILITY |
visible |
Yes |
Other properties that can be inherited are defined in the related higher-level classes. The related UI elements are:
For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. But note that the spelling format and use of upper/lower case is different.
Dynamic Programming of Properties
View Designer Name | Runtime Name | Type |
---|---|---|
CONTEXT_MENU_BEHAVIOUR |
WDUI_CONTEXT_MENU_BEHAVIOUR |
|
contextMenuBehaviour: inherit |
CL_WD_EXPLANATION=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT |
|
contextMenuBehaviour: provide |
CL_WD_EXPLANATION=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE |
|
contextMenuBehaviour: suppress |
CL_WD_EXPLANATION=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS |
|
CONTEXT_MENU_ID |
WDY_MD_UI_ELEMENT_REFERENCE |
|
DESIGN |
WDUI_EXPLANATION_DESIGN |
|
design: emphasized |
CL_WD_EXPLANATION=>E_DESIGN-EMPHASIZED |
|
design: standard |
CL_WD_EXPLANATION=>E_DESIGN-STANDARD |
|
ENABLED |
WDY_BOOLEAN |
|
TEXT |
WDY_MD_TRANSLATABLE_TEXT |
|
TEXT_DOCUMENT_NAME |
DOKU_OBJ |
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
VISIBLE |
WDUI_VISIBILITY |
|
visible: none |
CL_WD_EXPLANATION=>E_VISIBLE-NONE |
|
visible: visible |
CL_WD_EXPLANATION=>E_VISIBLE-VISIBLE |
You can find examples in the system in the Web Dynpro applications WDR_TEST_UI_ELEMENTS and WDR_TEST_HELP.