SAP Web Dynpro - Integration Messages



You can use the message manager to integrate messages into the message log. You can open the message manager using Web Dynpro code wizard.

You can open Web Dynpro code wizard from the tool bar. It is available when your ABAP workbench is in change mode or while editing a view or a controller.

To set ABAP workbench in the change mode, select the view and go to context to Change.

Change

Change View

You can use the following methods for triggering messages −

  • IS_EMPTY − This is used to query if there are any messages.

  • CLEAR_MESSAGES − This is used to deletes all messages.

  • REPORT_ATTRIBUTE_ERROR_MESSAGE − This is used to report a Web Dynpro exception to a context attribute.

  • REPORT_ATTRIBUTE_EXCEPTION − This is used to report a Web Dynpro exception to a context attribute.

  • REPORT_ERROR_MESSAGE − This is used to report a Web Dynpro message with optional parameters.

  • REPORT_EXCEPTION − This is used to report a Web Dynpro exception that may come back.

  • REPORT_FATAL_ERROR_MESSAGE − This is used to report a fatal Web Dynpro message with optional parameters.

  • REPORT_FATAL_EXCEPTION − This is used to report a fatal Web Dynpro exception.

  • REPORT_SUCCESS − This is used to report a success message.

  • REPORT_T100_MESSAGE − This is used to report a message using a T100 entry.

  • REPORT_WARNING − This is used to report a warning.

Advertisements