Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
630
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



  1. Created HDB Module, generated a calculation view

  2. Created NodeJS Module, wrapped the above calculation view with a xsodata;


  3. Created a HTML Module (SAPUI5 Application) project template

    • Add destinations in neo-app.json




  4. Create Destination


  5. 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.

Labels in this area