Entering content frame

Background documentation IF_WD_MESSAGE_MANAGER Locate the document in its SAP Library structure

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.

Methods

Note

Note that the RAISE methods are deprecated. For this reason you should not use it.

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 parameter VIEW to enter the name of the window or view in which you want to display the message.

REPORT_EXCEPTION

Reports a Web Dynpro exception (it may come back)

REPORT_SUCCESS

Reports a success message (This graphic is explained in the accompanying text)

REPORT_WARNING

Reports a warning (This graphic is explained in the accompanying text)

REPORT_ATTRIBUTE_ERROR_MESSAGE

Reports a Web Dynpro exception to a context attribute

REPORT_ATTRIBUTE_EXCEPTION

Reports a Web Dynpro exception to a context attribute

REPORT_ERROR_MESSAGE

Reports a Web Dynpro error message (This graphic is explained in the accompanying text) with optional parameters. You can transfer a string here. This should be either a user-defined Structure linkOTR Text or a text from an exception class. Use hard coding for the text to ensure it can be easily translated.

IS_EMPTY

Queries whether there are any messages

REPORT_T100_MESSAGE  

Reports a message using a T100 entry

REPORT_FATAL_EXCEPTION

Reports a fatal Web Dynpro exception

REPORT_FATAL_ERROR_MESSAGE

Reports a fatal WDA message with optional parameters

CLEAR_MESSAGES

Deletes all messages.

REPORT_ATTRIBUTE_T100_MESSAGE

Reports a Web Dynpro exception to a context attribute

 

 

Leaving content frame