Thursday, March 8, 2012
We use MESSAGE statement to show error, warning or Information message to the user. But when it comes to Web Dynpro ABAP,  we use IF_WD_MESSAGE_MANAGER interface as message manager  for messages integration, we can access that in the Web Dynpro code wizard.
The below are the important methods in the interface.

Method
Description
REPORT_EXCEPTION
Reports a Web Dynpro Exception (May Return)
REPORT_SUCCESS
Reports a Success Message
REPORT_WARNING
Reports a Warning
REPORT_ERROR_MESSAGE
Reports a Web Dynpro Message with Optional Parameters
REPORT_MESSAGE
Reports a message
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 WD Exception Message w/ Optional Parameters
REPORT_ATTRIBUTE_ERROR_MESSAGE
Reports a WD Exception for a Context Attribute
REPORT_ATTRIBUTE_EXCEPTION
Reports a WD Exception for a Context Attribute
REPORT_ATTRIBUTE_T100_MESSAGE
Reports a WD Exception for a Context Attribute
REPORT_ELEMENT_ERROR_MESSAGE
Reports a Web Dynpro exception related to context attributes
REPORT_ATTRIBUTE_MESSAGE
Reports a message for this context attribute
REPORT_ELEMENT_EXCEPTION
Reports a Web Dynpro exception related to context attributes
REPORT_ELEMENT_T100_MESSAGE
Reports a Web Dynpro exception related to context attributes
IS_EMPTY
Query Whether Messages Exist
CLEAR_MESSAGES
Delete All Messages
HAS_VAL_ERRORS_FOR_WINDOW
Query whether there are validation messages for a window
REMOVE_MESSAGE
Deletes an individual message
GET_MESSAGES
Returns all messages
HAS_VALIDATION_ERRORS
Query whether there are validation messages
GET_MESSAGE_FOR_ID
Returns the message for a MESSAGE_ID




0 comments:

Post a Comment

Your useful comments, suggestions are appreciated.Your comments are moderated.

Followers

Contact Form

Name

Email *

Message *

Web Dynpro ABAP Book

An SAP Consultant

Follow US


Want to Contribute ?

If you are interested in writing about the new stuff you learn everyday while working, please write to the.sap.consultants@gmail.com.

Click on Contribution for more details.