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

Show messages in SAP Fiori app

Hi to all,

I want to display a message into a SAP Fiori app. I made this way and the popup message appears, but it always looks like an error message and not a success message like I want.

Thanks to all for support!!

            data lv_msg_text TYPE bapi_msg.
            lo_message_container = mo_context->get_message_container( ).

              lv_msg_text = 'Modifiche effettuate correttamente'.
              CALL METHOD lo_message_container->add_message_text_only
                  iv_msg_type = 'S'
                  iv_msg_text = lv_msg_text.
              RAISE EXCEPTION TYPE /iwbep/cx_mgw_busi_exception
                  message_container = lo_message_container.
Add comment
10|10000 characters needed characters exceeded

0 Answers