on 10-11-2006 10:23 AM
Hi All,
we work with 2 WD-applications reporting their message in the messagearea of WD-application#1
How can I report messages without losing existing messages?
I found note 940762 in this forum saying that it is possible to collect message using the parameter is_permanent or/and scope_permantent_msg.
example:
CALL METHOD lr_message_manager->report_exception
EXPORTING
message_object = lr_exc_core
IS_PERMANENT = ABAP_FALSE
SCOPE_PERMANENT_MSG = 0.
Can anyone describe the differences between the 2 options?
What else can I do to collect messages?
Thanks, Martin
Hi Martin,
if you just use IS_PERMANENT, you have to remove your messages, when they should not be displayed anymore. If you set scope_permanent_msg e.g. to if_wd_message_manager=>co_msg_scope_controller and you set a controller reference, the message will be removed, when the controller is deleted.
Regards, Regina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.