Skip to Content
0

How to throw error message in popup in solution manager

Feb 01 at 04:11 PM

33

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Bruno Esperança Feb 07 at 08:19 AM
0

Anyone?

Share
10 |10000 characters needed characters left characters exceeded