cancel
Showing results for 
Search instead for 
Did you mean: 

Display sap-message created by CAP Backend when calling function imports

gregorw
Active Contributor

Hello SAP Fiori Elements Experts,

in a SAP Cloud Application Programming Model application I can use req.info and req.error to fill the sap-message HTTP header. I've added an action checkConsistency which is bound to the Orders entity in my sample project bookshop-demo. Following this forum post CAP / Fiori execute bound action for multiple entities in Fiori worklist page from seegerm I've added the needed annotations and see now a button "Check Consistency" when I list the orders:

Unfortunately the message does only appear after I've implemented a adaptTransientMessageExtension following the documentation Adapting Transient Messages that Come from the Backend. My expectation would be that all messages provided by the backend are displayed. Unfortunately the error returned from Order Number 1 results in this error page:

And the information returned from Oder Number 2 isn't displayed at all.

Looking forward for your insights.

Best regards
Gregor

gregorw
Active Contributor

Filed the incident 459459 / 2020 on this topic.

Accepted Solutions (0)

Answers (0)