cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro Java - Messages

Former Member
0 Kudos

Hi,

In my application, I want to delete all error messages when user licks on back button, because those messages are still displayed in the previous view.

How can I do? which method has to be called?

Many thanks

Karim

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Surender Dahiya

I tried to changes lifespan property of the view , but with no success.

Isn't it possible to use a method form message manager?

Thanks for all your answers

Karim

former_member201361
Active Contributor
0 Kudos

hi,

Gunja is right ,initialize the attributes again.

for more information refer this link

[http://help.sap.com/saphelp_nw04/helpdata/en/99/34be5f4ee2974a8e7e127c4aeacd9b/frameset.htm]

thanks and Regards

Fazal

Former Member
0 Kudos

Hi,

Try changing ur view properties go to view Properties.

change the lifespan property to WHEN VISIBLE..

This will serve ur purpose.

Regards

Surender Dahiya

Former Member
0 Kudos

Hi Karim,

In the method say <b>Back()</b> you are calling the outbound plug ie., you are using the code

wdThis.wdFire<outboundPlug>();

Are having code to display the messages in the <b>Back()</b>?

or

Are you calling any methods inside <b>Back()</b> which contains the code to display messages?

This might be one of the reason.

Best Wishes

Idhaya R

Former Member
0 Kudos

"because those messages are still displayed in the previous view"

That's not normal. How do print out your messages?