Skip to Content
0

OData message display in Fiori List app

Jan 05 at 01:16 PM

130

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Joseph BERTHE Jan 06 at 09:30 AM
0

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

Show 1 Share
10 |10000 characters needed characters left 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.

0
Krishna Kishor Kammaje
Jan 21 at 01:05 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded