
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 edited at designtime in the Web Dynpro ABAP authoring environment (see Web Dynpro Text Browser).
To allow development of accessible applications, the tooltip property is not checked during design time, since there is no need for a tooltip with this UI element (see Accessibility in Web Dynpro ABAP Applications).
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 |
|
| styleClassName | STRING | Yes | |
Translatable text |
No |
||
DOKU_OBJ |
No |
||
Translatable text |
Yes |
||
WDUI_VISIBILITY |
visible |
Yes |
You can use either property text or textDocumentName.
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 |
|
| styleClassName | STYLE_CLASS_NAME | STRING |
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.