Skip to Content

OData message display in Fiori List app

Hi,

Developed a Fiori List report via smart template. Data retrieval logic is in OData methods. Trying to raise a custom error message in Get Entityset method.

Message Code is as shown below.

odata-message-trigger.jpg

I can see the below custom error message in the message response in chrome debug.

f12-message.jpg

But the message doesn't appear in list report app.

Am I missing something here or is this a missing functionality in 750 SP4? Appreciate the guidance help.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jan 06 at 09:30 AM

    Hello,

    Can you explain you business case ? In which scenario, a user have an exception (business error message) when retreiving a list of object ?

    Regards,

    Joseph

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Joseph,

      The scenario is related to single data record retrieval and if the record doesn't exist and message box needs to be displayed. I tried from the BOPF backend and did not get any results, hence trying at OData level.

  • Jan 21 at 01:05 PM

    Wgile triggering, I see that you have added an 'S' (Success message)? Can you change it to 'E' and try?

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 19 at 07:35 AM

    Hi,

    Were you able to solve this ? I am having the same requirement.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 19 at 07:49 AM

    This is not a bug, it's standard behaviour. You have to catch the result of your odata call and show the message yourself in the UI5 part

    Add comment
    10|10000 characters needed characters exceeded