Skip to Content
0
Former Member
Sep 19, 2016 at 03:24 AM

In View Controller: OData is not defined

1058 Views

Hi Experts,

I am new in SAP UI5, I referred the example about OData & UI5 for CRUD operations.

Simple Exercise on OData and SAP UI5 Application for the basic CRUD Operation

When I code the update function in the view controller, it showed error "OData" is not defined. However I searched on the internet, there are many cases about CRUD operation used OData.request, I don't know why there is error in my case.

BTW, I used the SAP Web IDE local version.

As below is my coding with error in SAP Web IDE. As attached is my source code of view controller.

Thank you in advance and looking forward to your reply. 😊

Attachments

OData Error.jpg (90.5 kB)