Skip to Content
0
Jan 19, 2016 at 08:14 AM

SAP Web Ide Replace Service Error

122 Views

Hi all. In an fiori extension project, when I go to replace a service gives me the following error:

The original application doesn't contain an OData service

The application runs correctly with data (from standard service). From url, the custom service is working properly.

I think before I could do this. I tried deleting and downloading the application again and make a new extension project.

If I change the component.js with custom data service:

this.retail.store.stockcorrection.Component.extend("retail.store.stockcorrection.RT_STOCK_CORExtension.Component", {

metadata: {

version: "1.0",

config: {

"sap.ca.serviceConfigs": [{

"name": "RETAILSTORE_TRF_STOCK_SRV",

"serviceUrl": "/sap/opu/odata/sap/ZCUSTOM_SERVICE/",

"isDefault": true,

"mockedDataSource": "./localService/metadata.xml"

}]

},

customizing: {}

}

});

I get the following error when I run the application:

It Could be permissions(roles and profiles) problem in GW?

Thanks in advance

Attachments

Untitled.png (17.1 kB)
Untitled.png (27.6 kB)