当前位置:主页 > 云计算服务 >

对象存储_数据库隔离性_企业级

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.

-Chandra

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

,中国云,大数据是什么意思,自助建站开发,消费返现,免费企业管理软件

猜你喜欢

微信公众号