Skip to Content
Sep 23 at 11:50 AM

Not able to connect from SAP Fiori to SAP CPI after abap-deploy via SAP BAS. Getting 404 error

120 Views Last edit Sep 23 at 12:54 PM 2 rev

We have a requirement to send data from SAP UI5 to SAP CPI in cloud-foundry. I am running locally and it is working fine . But after deploying in abap env we are getting 404 error code, can you all please look at below scenario and help if I am missing out something. This is now on high priority any sort of help would be much appreciated.

Please note below:

I have create a FIORI app in SAP Business application studio having Target Runtime as Cloud Foundry .

Created a destination name "CloudIntegration_***_******_Cloning" in subaccount

Tested the destination "CloudIntegration_***_******_Cloning" giving 200 ok.

Modified xs-app.json to include a route for redirection of API calls to destination


Modified mainfest.json


Modified ui5.yaml to add destination as running locally.


Ajax call for calling the destination. And getting the desired output.


But after deploying it in abap we are getting 404 error.

Is it not connecting to SAP BTP destination?

No other files have been changed.

Any sort of help would be much appreciated




image.png (25.6 kB)
image.png (12.1 kB)
image.png (42.6 kB)
image.png (29.7 kB)
image.png (8.4 kB)