Skip to Content
0
Dec 16, 2022 at 10:11 AM

How to get OData error raised by Target of the Control in SAP MDK

244 Views Last edit Dec 16, 2022 at 10:23 AM 2 rev

Hi Experts,
I have one object table for which I have defined the Target to Entity set for the container section table as below.

image.png

with this target I load the data for the Object table which the binding is via String Target to the Navigation Property.

image.png

Data loading is fine, and it shows data properly in the table as well.

Only issue I am facing is if there is error thrown by EntitySet from the BE, those errors are not shown on the UI and I just see a blank ObjectTable, Here I would like to show the error received from the BE or even a static error message would suffice. Please suggest on how can I capture the event after this call fails.

Bill Froelich Jitendra Kumar Kansal

Attachments

image.png (59.1 kB)
image.png (31.4 kB)