on 02-03-2010 7:18 AM
Hi,
today i´ve got a question concerning the message area UI element. On my view I´ve one oif this. What I want to do now is to react on the ONNAVIGATE event.
I thought this event is triggered everytime the user clicks a message which is displayed as a link? But unfortunatley the event handler isn´t processed.
Anybody knows when this event occurs? Could it be that the message ha to be a specific type?
Many thanks in advance,
Andy
Edited by: Andy Dingfelder on Feb 3, 2010 9:31 AM
In the meantime i´ve found a parameter for the REPORT_ATTRIBUTE_MESSAGE method of the message manager called ENABLE_MESSAGE_NAVIGATION. Setting this value to true seems to have no effect. The event ONNAVIGATE still isn´t triggered.
Andy
You can find an example in the system in the WDR_TEST_MSG_AREA component in Test onNavigate Action of MessageArea.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could be possible..
what they were doing in that view is raising a t100 message with method report_attribute_t100_message with parameter enable_message_navigation = abap_true.
Then on click of message event onNaviagte will be triggered which has code something like this
data l_message type if_wd_message_manager=>ty_s_message.
l_message = wd_this->message_manager->get_message_for_id( message_id ).
Here they were fetching the details of message which was clicked on, you can write your own logic.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.