An SAP UI5 application has been developed using Web IDE or Web IDE Full-Stack and it works fine when testing from Web IDE and when deployed to SAP cloud platform. However, when it is deployed to ABAP repository it is generating 404 Not Found errors for OData requests.
This is the code:
var serviceuri = "/<destination pointing to ABAP gateway>/sap/opu/odata/<OData service>";
var oModel = new sap.ui.model.odata.ODataModel(serviceuri, true, "****", "*****")
SAP Cloud Platform and ABAP Gateway
destinations, ABAP, Web IDE, full-stack, service URI, /sap/opu/odata , KBA , CA-UI5-COR , Core and Runtime , OPU-GW-COR , Framework , CA-WDE , SAP Web Development Environment [SAP Web IDE] , Problem
About this pageThis is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.