cancel
Showing results for 
Search instead for 
Did you mean: 

Deploy SAPUI5 application - Required destination is missing

former_member604839
Discoverer
0 Kudos

Dear all,

I'm deploying a SAPUI5 application from SAP Web IDE to SAP Cloud Platform but when I check the corresponding HTML5 app named arimadf2v3ticket I see that under Required Destination the destination IOTAS_COLDSTORE is missing even though I've defined it in neo-app.json file:

neo-app.json

{ "welcomeFile": "/webapp/index.html", "routes": [{ "path": "/backend/", "target": { "type": "destination", "name": "IOTAS" }, "description": "SAPUI5 Test Resources" }, { "path": "/coldstore/", "target": { "type": "destination", "name": "IOTAS_COLDSTORE" }, "description": "SAPUI5 Cold Store Test Resources" }, { "path": "/backend-image/", "target": { "type": "destination", "name": "IOTAS-FILEIMAGE" }, "description": "SAPUI5 Test Resources" }, { "path": "/resources", "target": { "type": "service", "name": "sapui5", "entryPath": "/resources" }, "description": "SAPUI5 Resources" }, { "path": "/test-resources", "target": { "type": "service", "name": "sapui5", "entryPath": "/test-resources" }, "description": "SAPUI5 Test Resources" }, { "path": "/sap/opu/odata", "target": { "type": "destination", "name": "BP3", "entryPath": "/sap/opu/odata" }, "description": "BP3" }, { "path": "/IOTAS-ADVANCEDLIST-THING-ODATA", "target": { "type": "destination", "name": "IOTAS-ADVANCEDLIST-THING-ODATA" }, "description": "IOTAS-ADVANCEDLIST-THING-ODATA" }, { "path": "/IOTAS-DETAILS-THING-ODATA", "target": { "type": "destination", "name": "IOTAS-DETAILS-THING-ODATA" }, "description": "IOTAS-DETAILS-THING-ODATA" }, { "path": "/IOTAS-COMPOSITE-EVENTS-ODATA", "target": { "type": "destination", "name": "IOTAS-COMPOSITE-EVENTS-ODATA" }, "description": "IOTAS-COMPOSITE-EVENTS-ODATA" }, { "path": "/DigitalFeature", "target": { "type": "destination", "name": "DigitalFeature" }, "description": "Send OdP to DigitalFeature" },{ "path": "/DST_TICKET", "target": { "type": "destination", "name": "DST_TICKET" }, "description": "Send ticket to c4c system" }], "sendWelcomeFileRedirect": true, "headerWhiteList": [ "apiKey" ] }

The destination IOTAS_COLDSTORE is defined under Destination in SAP Cloud Platform.

Please let me know how to fix the problem.

Thank you.

Best regards.

Bye Luigi Alboino

saurabh_vakil
Active Contributor
0 Kudos

How are you defining the dataSource configuration in your manifest.json file?

View Entire Topic
mgm12
Explorer

Hey Luigi Albonio,

can you please provide your ui5.yaml file and a screenshot of your dist folder?

I think I had the same issue. For me it worked to fix the namespace in the ui5.yaml file.

Cause my neo-app.json file wasn't in the root of the dist folder after building the application.

Best regards,

Miguel