Skip to Content
0
Jun 13, 2017 at 04:59 AM

How to read OData in sapui5 xml view

789 Views Last edit May 27, 2020 at 06:18 PM 3 rev

Hi

This is the first time for me to develop sapui5 application. I've developed a split app with xml views. Now I'm trying to read the OData service to display a list in the master view.

I've followed this tutorial to set up the data source and model:

https://www.sap.com/developer/tutorials/sapui5-webide-setup-datasource.html

After that I've tried to create the list by following this tutorial:

https://www.sap.com/developer/tutorials/sapui5-webide-add-list.html

But I couldn't make it work. I've read multiple blogs of how to read data but I couldn't understand.

This is the OData I've create in GateWay.

Could anyone please help me to understand?

Thanks

Attachments

capt.png (8.1 kB)