cancel
Showing results for 
Search instead for 
Did you mean: 

Simple Question about MessageArea

Former Member
0 Kudos

Hi All,

I would like to know how to write an error message to a message area UI?

thanks,

Accepted Solutions (1)

Accepted Solutions (1)

former_member197348
Active Contributor
0 Kudos

Hi,

Same as normal message display

wdComponentAPI.getMessagemanager().reportException("your msg ",false);

MessageArea UI element automatically populates this one in the specified area

regards,

Siva

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Rami,

In webdynpro applications all the messages(Warring, error,...) are displayed at the bottom of the screen by default.

So if you want to display messages at a specified location then create a Message area, so that all the messages are automatically displayed in the specified message area.

Regards,

Sandeep Reddy.

Former Member
0 Kudos

Hi rami

Use this code

dComponentAPI.getMessageManager().reportException(String message,boolean cancleNavigation) ;

String Message ---your message

boolean cancleNavigation -- True OR False

Regards

Ruturaj

Former Member
0 Kudos

Hi Rami,

You can define these messages (error/warning/success) in the Message Editor for the Web Dynpro component & use them thru IWDMessageManager API.

Refer https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60db527d-7be4-2a10-0283-e915cfb1...

Kind Regards,

Nitin