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

Messages not displayed on WEBUI

Hi experts,

I have a problem when I try to display messages on Webui.

When I go to a customer view and I click a button ("PRINT") without filling some fields, I shoud see some messages but they don´t appear. I implemented this messages using cl_crm_genil_global_mess_cont class.

l_global_messages TYPE REF TO cl_crm_genil_global_mess_cont

l_global_messages->add_message( iv_msg_type = lc_e

iv_msg_id = lc_zm_crm

iv_msg_number = lc_572

iv_show_only_once = lc_x ).

I know it´s well implemented because if I click CANCEL button first, and then I click PRINT button as I done before...NOW I can see the messages. They only disply if I click CANCEL button first. It´s really strange.

I also reallise that no one message is shown the first time, not only my implemented messages but also the standards.

I hope you can help me, sorry for my bad english.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on May 14, 2014 at 01:57 PM

    Hi Ruben,

    What if you do as follows?.

    l_global_messages TYPE REF TO cl_bsp_wd_message_service.

    l_global_messages ?= cl_bsp_wd_message_service=>get_instance( ).

    l_global_messages>add_message("u'r message").



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.