Skip to Content
0

Show messages in SAP Fiori app

Mar 03, 2017 at 09:12 AM

48

avatar image
Former Member

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
                EXPORTING
                  iv_msg_type = 'S'
                  iv_msg_text = lv_msg_text.
              RAISE EXCEPTION TYPE /iwbep/cx_mgw_busi_exception
                EXPORTING
                  message_container = lo_message_container.
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers