cancel
Showing results for 
Search instead for 
Did you mean: 

Clear Message area.

Former Member
0 Kudos

Hi everyone,

I have created a 2 tabs, in that i have inserted message area. The message will display in that message area. when i try to navigate between the tabs, the message of first tab will display in second tab also and viceversa..

I have to avoid it. Can anyone please explain me this.??

Thanks and regards,

Vijay Vikram.

Accepted Solutions (1)

Accepted Solutions (1)

RicardoRomero_1
Active Contributor
0 Kudos

Hi,

you can create an action for the event onSelect of the tabStrip. And clear the messages within this action using the method CLEAR_MESSAGES.

Regards,

Answers (2)

Answers (2)

Former Member
0 Kudos

you can use clear message method of interface if_wd_message_manager befor calling any other type of message if it is few otherwise clear before navigation.

Former Member
0 Kudos

Hello,

You can use CLEAR_MESSAGES method of IF_WD_MESSAGE_MANAGER to clear the message area.

hope this helps!

Best Regards,

Srilatha

Former Member
0 Kudos

hi ,

Do i have to write the clear message code on navigation event???

Thanks and Regards,

Vijay Vikram

Former Member
0 Kudos

Hi,

yes write the logic to clear the previous messages and display the required messages in the event handler of tabSelect.

Best Regards,

Srilatha