Skip to Content
0
Dec 15, 2022 at 08:09 PM

Getting 404 error for List report app on CF deployed using Standalone approuter

690 Views

Hi Experts ,

I have developed a cap application using standalone approuter. Now when I deploy my application to CF and try to run the fiori app I am getting 404 file not found error. When I checked the network trace Metadata is not getting loaded. Here is the configs that I have maintained for my application.

I have a cap application and from mta,yaml using wizard I created standalone approuter. An approuter folder got created and the following configs got created in mta.yaml

image.png

Then in xs-app.json of approuter I have added the following:

image.png

I have created a Fiori elements list report application using my local cap service as data source to it.

In manifest of Fiori app I have this

image.png

In the xs-app.json of my Fiori list report application I have maintained the following config

image.png

Then I have deployed the application to Cloud foundry and it got deployed successfully. Now when I run the application I am getting the following error:

image.png

https://<URL of my domain>/fioridemo/goods/$metadata?sap-language=EN

Can anyone suggest where I am missing the things. I have tried in many ways but none of the approach gave the result to run the app. Please suggest the fix for my app to run on CF.

With Regards,

Partha.

Attachments

image.png (14.5 kB)
image.png (11.6 kB)
image.png (18.4 kB)
image.png (17.9 kB)
image.png (51.4 kB)