IF_WD_MESSAGE_MANAGER
This interface is used as a message manager for messages integration, and is available to application developers in the Web Dynpro Code Wizard.
Only the most important methods are listed below.

Note that the RAISE methods are deprecated. For this reason you should not use them.
Also note that the msg_user_data parameter used with most of the methods is only available for special purposes. For this reason you should not use it.
For the relevant methods you can use the optional VIEW parameter to enter the name of the window or view in which you want to display the message.
So that application messages are not kept in the message manager for the duration of a round trip (whereby these messages must be created anew for each round trip), permanent messages are available. This enables a validity period to be inserted for a message. Possible validity periods are:
● Life span of the component
● Life span of the controller.
● Life span of the context (only for messages that relate to a context attribute)
The parameters IS_PERMANENT and SCOPE_PERMANENT_MSG are available for this.
Reports a Web Dynpro exception (may revert)
For a description of the individual parameters for this method, see the method documentation in the system.
Reports a success
message (
)
For a description of the individual parameters for this method, see the method documentation in the system.
Reports a warning
(
).
For a description of the individual parameters for this method, see the method documentation in the system.
Reports a Web Dynpro exception for a context attribute
This method reports an error message for a context attribute. An error message with a context reference influences the flow of the Web Dynpro phase model. If this type of error message is generated before an action handler is called (for example, in WDDOBEFOREACTION methods), actions of the type standard are no longer executed. Subsequent navigation and WDDOMODIFYVIEW methods are also not executed. However, validation-independent actions are executed even if error messages exist. Subsequent navigation and WDDOMODIFYVIEW methods are also executed.
For a description of the individual parameters for this method, see the method documentation in the system.
Reports a Web Dynpro exception for a context attribute
This method reports an error message for a context attribute. An error message with a context reference influences the flow of the Web Dynpro phase model. If this type of error message is generated before an action handler is called (for example, in WDDOBEFOREACTION methods), actions of the type standard are no longer executed. Subsequent navigation and WDDOMODIFYVIEW methods are also not executed. However, validation-independent actions are executed even if error messages exist. Subsequent navigation and WDDOMODIFYVIEW methods are also executed.
For a description of the individual parameters for this method, see the method documentation in the system.
Reports a Web
Dynpro error message (
) with
optional parameters. You can
transfer a string here. This
should be either a user-defined
OTR text or a text
from an exception class. Use
hard coding for the text to ensure it can be easily translated.
For a description of the individual parameters for this method, see the method documentation in the system.
Queries whether or not there are any messages
Reports a message using a T100 entry
For a description of the individual parameters for this method, see the method documentation in the system.
You can find an example in Integration of Messages in the Message Log.
This method reports a termination message. The reporting of a message of this type in the following methods causes the Web Dynpro application to terminate with a runtime error:
● WDDOINIT
● WDDOEXIT
● WDDOMODIFYVIEW
● Within an inbound plug event handler
If a message of this type is generated in WDDOBEFORENAVIGATION or WDDOPOSTPROCESSING methods or within an action handler, processing is terminated at the point in question and an error message is displayed.
For a description of the individual parameters for this method, see the method documentation in the system.
Reports a fatal WDA message with optional parameters.
The reporting of a message of this type in the following methods causes the Web Dynpro application to terminate with a runtime error:
● WDDOINIT
● WDDOEXIT:
● WDDOMODIFYVIEW
● Within an inbound plug event handler
If a message of this type is generated in WDDOBEFORENAVIGATION or WDDOPOSTPROCESSING methods or within an action handler, processing is terminated at the point in question and an error message is displayed.
For a description of the individual parameters for this method, see the method documentation in the system.
Deletes all messages.
For a description of the individual parameters for this method, see the method documentation in the system.
Reports a Web Dynpro exception to a context attribute
Reports a Web Dynpro exception for context attributes.
This method reports an error message for a context element. An error message with a context reference influences the flow of the Web Dynpro phase model. If this type of error message is generated before an action handler is called (for example, in WDDOBEFOREACTION methods), actions of the type standard are no longer executed. Subsequent navigation and WDDOMODIFYVIEW methods are also not executed. However, validation-independent actions are executed even if error messages exist. Subsequent navigation and WDDOMODIFYVIEW methods are also executed.
For a description of the individual parameters for this method, see the method documentation in the system.
Reports a Web Dynpro exception for context attributes.
This method reports an error message for a context element. An error message with a context reference influences the flow of the Web Dynpro phase model. If this type of error message is generated before an action handler is called (for example, in WDDOBEFOREACTION methods), actions of the type standard are no longer executed. Subsequent navigation and WDDOMODIFYVIEW methods are also not executed. However, validation-independent actions are executed even if error messages exist. Subsequent navigation and WDDOMODIFYVIEW methods are also executed.
For a description of the individual parameters for this method, see the method documentation in the system.
Reports a Web Dynpro exception for context attributes.
This method reports an error message for a context element. An error message with a context reference influences the flow of the Web Dynpro phase model. If this type of error message is generated before an action handler is called (for example, in WDDOBEFOREACTION methods), actions of the type standard are no longer executed. Subsequent navigation and WDDOMODIFYVIEW methods are also not executed. However, validation-independent actions are executed even if error messages exist. Subsequent navigation and WDDOMODIFYVIEW methods are also executed.
For a description of the individual parameters for this method, see the method documentation in the system.
This method deletes the message for a specified ID.
This method can be used to determine whether or not error messages with a context reference exist for a particular window.
For a description of the individual parameters for this method, see the method documentation in the system.
This method can be used to check whether or not there are error messages with a context reference.
For a description of the individual parameters for this method, see the method documentation in the system.
This method returns a list of all available messages.
For a description of the individual parameters for this method, see the method documentation in the system.
