Skip to Content

How to throw error message in popup in solution manager

We have a custom popup and we are trying to display a blocking error message, when the user enters incorrect data.

The "blocking" part is working. However, no error message is shown, and the message is shown instead at "parent" level when trying to save the document.

Here's the code we are currently using, any help is appreciated.

data lr_message_cont type ref to cl_crm_genil_global_mess_cont.
lr_msg_service = me->view_manager->GET_MESSAGE_SERVICE( ).
lr_msg_service->add_message(
   iv_msg_type = 'E'
   iv_msg_id = 'ZSNPCR'
   iv_msg_number = '072'). "#EC NOTEXT

Thank you.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 07 at 08:19 AM

    Anyone?

    Add comment
    10|10000 characters needed characters exceeded