Skip to Content
0
Jan 25, 2022 at 09:03 AM

404 - Component not found error while running Fiori app on SAP Cloud Foundry Launchpad

421 Views

console-logs-image.png

Hi Team,


We have migrated our existing on-premise SAP ui5 application on BAS cloud platform. I have replaced correct namespace and all the code.
I am successfully able to run the the application locally on BAS app preview as well as BTP cloud via below path.

BTP ->Subaccounts->HTML5 Applications->Click on app.

But when I run it on cloud launchpad, I get error -
404 - Component not found.

I have also observed that the component url in the network tab does not contain Business Solution which we add during app router config.
whereas, the url which is formed in BTP contains Business Solution and is running successfully.

Working BTP Cloud app url for component.js


hana.ondemand.com/3bdfff8b-34a1-4318-84b4-1f1c6205da38.Supply.comslbsupbasvesseltrackerzsupvesseltracker/~200122111349+0000~/Component.js


Non-working url of component.js when run on cloud launchpad
hana.ondemand.com/3bdfff8b-34a1-4318-84b4-1f1c6205da38.comslbsupbasvesseltrackerzsupvesseltracker/~200122111349+0000~/Component.js

Please observe that word - "Supply" is added in working url.
Here, Supply is business solution added in App router configuration while creating app in BAS.


Any assistance on this issue is welcome.

Thanks,
Anjor Wagle

Attachments