I am new in SAP UI5, I referred the example about OData & UI5 for CRUD operations.
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. 😊