Skip to Content
1
Mar 16 at 10:37 AM

Consume SF odata in UI5 application through destination(SFAPI) created in SAP BTP CF environment

241 Views

Hi All,

I have created one UI5 App that consume SF odata through destination(SFAPI) created in SAP BTP Neo environment using webide.

UI5 App is working perfectly in Neo environment.(Consumes SF odata Perfectly)

Now the same UI5 App i have migrated to SAP BAS using sap fiori migration tool in SAP BAS (CF environment)Migration is successful without any error.

same ui5 app(migrated one in SAP BAS CF env) consume SF odata using destination(SFAPI) created in SAP BTP CF environment.

Case-1

When i am trying to run it using run configuration locally it take using ui5.yml config see image ui5.ymlconfig ui5yml-cofig.jpg app fetch data and gives result as see in image1 image1.jpg

Case-2

When i am trying to run it using run configuration locally and binding the SF destination to ui5 app destinationbind.jpg (see image-destinationbind) app doesn't fetched any data gives result as see in image2 image2.jpg

case-3

when i deploy this app to BTP CF environment and run it from BTP CF cockpit it doesn't fetch any data gives result as in image2 image2.jpg

Please help me in case 2 and case 3 issue.

Thanks

Ayush Rathod

Attachments

ui5yml-cofig.jpg (71.1 kB)
image1.jpg (81.2 kB)
destinationbind.jpg (137.0 kB)
image2.jpg (62.3 kB)