cancel
Showing results for 
Search instead for 
Did you mean: 

data not loading from odata service after deploying to sap cf

jyothiradityak
Participant

Hi Experts,

While practising Fiori App in BAS, i am not getting any data fro OData service at step 11. I have binded the destination service and was able to test it as in step 8 Link from BAS. However after deploying and by using the new URL of the deplaoyed service, I am not able to get the data. It has loaded the page, but data is not shown. Deployed app url.

Please find attached xs-app.json and manifest.json files in FioriDemo>Businesspartners folder path

xs-app.txt

manifest-json.txt

View Entire Topic
Robin-Qiu
Product and Topic Expert
Product and Topic Expert

I encountered the same problem and found the issue was caused by the wrong OData uri.

You need to modify the dataSources part in the manifest.json file as following:

 "dataSources": {
      "GWSAMPLE_BASIC": {
        "uri": "/nsBusinessPartners/sap/opu/odata/iwbep/GWSAMPLE_BASIC/",
        "type": "OData",
        "settings": {
          "odataVersion": "2.0",
          "localUri": "localService/metadata.xml"
        }
      }
    }