Skip to Content
author's profile photo Former Member
Former Member

WD abap - destroy success message

Hello,

I have a screen where I do the following:

CALL METHOD l_message_manager->report_success

EXPORTING

message_text = 'Changes were successfully saved!'.

when I navigate to another screen messsage area is still there but without the message.

How can I destroy message area without calling reset_view method?

Thank you.

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2006 at 05:56 PM

    Georgy,

    In WD Java there is a way to make message area invisible via UI control property bound to context attribute of type Visibility.. Or to call destroyElement on MessageArea in wdDoModifyView. Try something like this in WD ABAP.

    VS

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 28, 2006 at 11:32 PM

    Hi Georgy,

    The message is still visible, because success and warning messages are kept in the message history. It can be accessed by pressing the "show details" button on the message area. If the message area was hidden, it would be impossible for a user to access the message history.

    Currently, the fact that there are items inside of the history is not visualized. Hence users get confused :). We are working on solving this issue by either displaying an additional hint or allowing to switch off the history.

    Best regards,

    Thomas

    Add comment
    10|10000 characters needed characters exceeded