I've created a SAP Fiori Freestyle Project on SAP Business Application Studio, but when I select "Run Configurations" it does not shows me the "Data Source" option to bind the destination to my project.
In my subaccount I have 2 destinations available for consume OData services.
What do I need to do to be able to consume these destinations?
Which template did you use to create the UI?which target runtime did you choose? CF or ABAP?
In case of CF, did you use central approuter or standalone approuter
The MTA.yaml and xs-app.json should be updated automatically.
Please verify the following:
1. in xs-app.json you have a route to a destination
2. In MTA.yaml in case it is CF project
you have destination resource and approuter module requires the destination
e.g. xs-app.json
.....
"routes": [ {
"source": "^/myserviceroute/(.*)$"
, "target": "/$1",
"destination": "mydestinationname",
"authenticationType": "none" }, ]
.....
e.g. MTA
...
modules:
- name: mysampleapprouter
type: approuter.nodejs
...
requires:
- name: my_destination
resources:
- name: my_destination
parameters:
service-plan: lite
service: destination
Please share the destination set up, and the manifest.json
I assume your destination refers to the actual odata service
check item 7 in the blog regarding destination
in your case
Make sure that the following properties are set in Additional Properties of the destination:
also and make sure the package.json and ui5.yaml and xs-app.json include the right content as mentioned in the blog.
Alternatively just create a UI with UI5 and compare the package.json, ui5.yaml and xs-app.json to your project
Hi
I can advise how to make it work using the generated templates
It looks your destination is host only so please remove the full_url attribute
In addition please share the xs-app.json
Add a comment