cancel
Showing results for 
Search instead for 
Did you mean: 

How to consume the oData Services in BAS and run locally

yogeshwarans
Explorer
0 Kudos

Hello All,

 we are in process of migration from neo to cloud foundry trying to create a new SAP fiori app and trying to add the OData services.after adding tried to run locally in BAS but the oData service metadata is failing to load.

Steps followed:

Created a new sap Fiori app in BAS

  • Trying to consume on-premise OData service or any other APIs
  • Added the service in BTP destinations
  • Added the same in Xs-app.json
  • Added the service in data sources in manifest.json
  • Added the same in models in manifest.json
  • And tried to run the app locally from BAS after running locally in the developer tools network I’m able to see metadata is failing for the service which i added.

    Could anyone please help me...

    Thanks,

    Yogesh.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Yogesh,

Please make sure you created the destination with all appropriate properties as explained in SAP Business Application Studio documentation: https://help.sap.com/docs/bas/sap-business-application-studio/connecting-to-external-systems

You can also use the Guided Answers for connectivity issues troubleshooting: https://ga.support.sap.com/dtp/viewer/index.html#/tree/2827/actions/41344:41346:57775

Also, if you create a new SAP Fiori application from SAP Business Application Studio, make sure to use the "New Project from Template" option for generating the application from your selected oData service, through your destination. 

You can also use the "Service Center" view to explore all OData services from systems connected through destinations in your SAP Business Application Studio account.

Best Regards,

Rotem