Skip to Content
Former Member
Mar 03, 2017 at 09:12 AM

Show messages in SAP Fiori app

103 Views Last edit Mar 03, 2017 at 09:14 AM 3 rev

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.