Skip to Content

Display BOPF custom message in Fiori App


Have created a Fiori transactional app via Smart template. Have a BOPF Action in the app. Trying to trigger a custom message in the Action class to be displayed as Message box in Fiori List report page. I get a ugly Message box as shown in the attachment.

This is the ugly message box currently seen


BOPF Action message code is as below. The Message box is seen if et_failed_key is passed. If the et_failed_key is not passed, the message box is not seen.


Also used the below alternative code


With the above codes, I can see the message in the service response in F12 debug mode.


BOPF Action class is defined as below


But unable to see the message in the app.

The Ui5 Version is


Appreciate any ideas and suggestions.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 24, 2018 at 11:07 AM

    Hi Sujin Appukuttan,

    Thanks very much for your very detail article, I encountered a trouble that the response body did contain the error message, but the front-end didn't show up.

    Can you help me to solve this issue?

    The message content of "Test Message" is not shown in the front-end.



    Add comment
    10|10000 characters needed characters exceeded

  • Jan 25, 2018 at 12:45 PM

    Hello Sujin,

    When you call add_message method in your action class, try adding blow Importing parameters as well.

    iv_lifetime = /bobf/cm_frw=>co_lifetime_state

    iv_key = IT_KEY[ 1 ]-KEY
    iv_node = is_ctx-node_key



    Add comment
    10|10000 characters needed characters exceeded