Background:
MTA project (SAPUI5) unable to consume xsodata service when you have set both xs-app.json and mta.yaml
As an alternative, we can consume the same xsodata via destination through ajax call.
Project Structure:
MTA.yaml (NodeJS module)
MTA.yaml (SAPUI5 module)
XS-APP.json
- Created HDB Module, generated a calculation view
- Created NodeJS Module, wrapped the above calculation view with a xsodata;
- Created a HTML Module (SAPUI5 Application) project template
- Add destinations in neo-app.json
- Create Destination
- SAPUI5 ajax or oData call
CONCLUSIONS:
Please find the development detail from the below github.
https://github.com/ramonlee/mymta
If successful, you should see the expected service out illustrated below.