Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
SamiLechner
Advisor
Advisor
UPDATE:
The blog below has become obsolete with the new "mobile backend Generator". This is a plugin available for the SAP Web IDE which allows modelling an OData service. Existing Metadata documents can also be imported and visualised. For more information read: 

https://blogs.sap.com/2018/09/28/how-to-build-your-mobile-odata-service-from-scratch/comment-page-1/...

 

I was recently in the situation that I have a complex OData model I needed to discuss with customers. Going through the metadata document requires a lot of brain power. The previous solution from XOData does not seem to work anymore.

So, I found a brilliant blog from Denise. I modified some steps and with the following steps you can view any Metadata document inside the SAP Web IDE.

  1. open your web IDE in the SAP Cloud Platform Cockpit

  2. create a new Project from Template 

  3. Use the List Report Application and click on Next

  4. Add a project Name and Title and click Next

  5. Click on Filesystem and add your metadata.xml and click Next

  6. Click Next on the Annotation Selection

  7. Select a OData Collection for the List

  8. Click on Finish

  9. now open your project and navigate to Webapp->localService folder and double click on the metadata.xml

  10. switch the view in the bottom left corner from Source to Design 

  11. The Result should be your OData model :

8 Comments