cancel
Showing results for 
Search instead for 
Did you mean: 

how to set messages to particular messagearea ui element

Former Member
0 Kudos

Hi everyone,

My requirement is to display the various messages in different parts of a view. For that, i need to take the different messagearea UI elements.

My question is how to set the message to a particular messagearea ui element.

could any body help me in this

regards

sunil

Message was edited by: sunil chiluveru

Accepted Solutions (0)

Answers (1)

Answers (1)

lajitha_menon
Contributor
0 Kudos

Hi Sunil,

Just create a MessageArea UI element, and give the messages in the usual way(wdComponentAPI.getMessageManager().reportSuccess("test");

The messages will automatically be displayed in this area.

More information is available here

http://help.sap.com/saphelp_nw04/helpdata/en/a7/68a0cb87e4c447922a46cfa2655fb4/frameset.htm

Hope it helps,

LM

Former Member
0 Kudos

hi LM,

I have more than one messagearea. and want to display some messages in one message area and few in other message area....my requirement is like that...

i want to display the message areas in differend parts of the view

hope u understands this

lajitha_menon
Contributor
0 Kudos

Hi Sunil,

I dont think you can do that with one view. I am not sure whether you can achieve the same functionality using view sets. So, divide this to multiple views, with one message area in each view. Now, use view sets to show it all in the same screen. It could be worth a try,

cheers,