小编：Currently I am going through openSAP course on Build Your Own SAP Fiori App in the Cloud and there come across one question about creation of EDMX file. There are different ways to create edmx file as answered in the course discussion for
Currently I am going through openSAP course on Build Your Own SAP Fiori App in the Cloud and there come across one question about creation of EDMX file.
There are different ways to create edmx file as answered in the course discussion forum by Yoram Friedman
Now in case if you are not able to use 3rd party EDMX generator tools or find it difficult to use SAP Web IDE OData Model Editor and want to leverage the efforts of OData modelling done on backend OData developer team then there is simple way for it.
Assuming that backend developers (SAP Gateway OData developers) at least started creating OData service using transaction SEGW with properly defined OData artifacts such as entity, entitySet, association/navigation etc. but they do not want to spend time to implement complete backend logic. In such scenarios, if OData service is registered then in Gateway Client transaction /IWFND/GW_CLIENT using $metadata query we can see the complete metadata of OData service as shown below.
You can either select menu Goto –>Service Metadata
Or after executing $metadata, click on Response in Browser
In both cases, it will open the metadata file in the browser as shown below,
Now you can simply save this file as .edmx or .xml and can easily use it for creation of mock data inside your Fiori application from SAP Web IDE.
As shown below, we can use .xml or .edmx file
you can refer 5 easy steps to create a Fiori app using an EDMX file & testing it by leveraging the #SAPWebIDE mock service by Jitendra Kansal for further steps and details.
This is really good to know.
Thanks for sharing Chandra.
Thanks for sharing
Latest version of Gateway Client transaction ( /IWFND/GW_CLIENT ) has a separate menu entry "Metadata->Display in Browser".，双线云服务器，腾讯云 返利，云数据库使用，阿里云建淘客，数据存储网络