cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CAPM Hybrid Testing - 404 not found error while calling Backend OData services

Sunil_Ch
Newcomer
0 Kudos

Hello All,

We are trying to set up local debugging for the existing CAPM full stack application which was already deployed on BTP Cloud Foundry. We have generated .CDSRC.PRIVATE.JSON file using CDS BIND command for all the services including destination service. We have upgraded CDS package from 5*  to 

 "@sap/cds""^7.2.1" as CDS BIND command doesn't work in the lower version.  We are using 2 OData-v2 services in UI as below
 
1) CAPM Service - OData V2 -Server.js - get Call ends with 404 Not found
const proxy = require('@sap/cds-odata-v2-adapter-proxy');
const cds = require('@sap/cds');
module.exports = cds.server;

cds.on('bootstrap', (app=> {
    app.use(proxy({
        isoDate: true
    }))
});
2) CPI Service - OData V2. - get Call ends with 404 Not found
 
 
Below is the screenshot of services in Manifest..json file
 
Sunil_Ch_0-1709789233897.png

 

 

 
This application is running successfully on BTP currently. UI is loading successfully but not able to connect to back end services in Manifest while we set up for Hybrid testing. Would any one please point me the issue ? Thanks.
 

Accepted Solutions (0)

Answers (0)