Start of Content Area

Background documentation MessageArea Locate the document in its SAP Library structure

The MessageArea UI element represents a placeholder that specifies where messages, such as error messages or warnings, should appear in the view.

Under certain circumstances, the Web Dynpro Framework changes the position specification of the MessageArea UI elements, if other targets have priority, for example, portal mechanisms for displaying error messages.

Note

If the MessageArea UI element should be visible, make sure that the view that contains the UI element is also visible, that is, the visibility of the view and the UI element should match.

For more information, see Messages.

See also:

Reusable Components and the Message Area

 

Runtime Class

CL_WDR_MESSAGE_AREA

 

Properties in View Designer

Name

Type

Initial Value

Bindable

ID

STRING

(automatic)

No

enabled

WDY_BOOLEAN

true

Yes

firstVisibleMessage

I

0

No

historyVisible

WDY_BOOLEAN

true

Yes

maxVisibleMessages

I

0

No

tooltip

Translatable text

 

Yes

visible

WDUI_VISIBILITY

visible

Yes

 

Events in View Designer

Name

onNavgiate

Note

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

        UIElement

        ViewElement

Dynamic Programming

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

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

enabled

ENABLED

WDY_BOOLEAN

firstVisibleMessage

FIRST_VISIBLE_MESSAGE

I

historyVisible

HISTORY_VISIBLE

WDY_BOOLEAN

maxVisibleMessages

MAX_VISIBLE_MESSAGES

I

tooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

visible

VISIBLE

WDUI_VISIBILITY

 visible: none

CL_WD_MESSAGE_AREA=>E_VISIBLE-NONE

 visible: visible

CL_WD_MESSAGE_AREA=>E_VISIBLE-VISIBLE

 

Dynamic Programming of Events

View Designer Name

Runtime Name

onNavgiate

ON_NAVGIATE

Example

You can find examples of this interface element in the system in the Web Dynpro application WDR_TEST_UI_ELEMENTS, and in the component WDR_TEST_EVENTS in the MessageArea view.

 

 

End of Content Area