简体   繁体   English

SAP oData 服务 - 如何链接两个实体集

[英]SAP oData Service - How to link two entity sets

In my first SAP fiori app I have created two entities in the odata Gateway in SAP backend.在我的第一个 SAP fiori 应用程序中,我在 SAP 后端的 odata 网关中创建了两个实体。 One for the main entity called 'Notification' and one for some value help field entity called 'Status'.一种用于称为“通知”的主要实体,另一种用于称为“状态”的某些值帮助字段实体。 Now I want to get the key of Notification when selecting the data for status entity so that each notification entity gets its individual Status value help depending on the key of the notification entity.现在我想在选择状态实体的数据时获取通知的键,以便每个通知实体根据通知实体的键获得其单独的状态值帮助。 How can i solve this?我该如何解决这个问题?

Regards Michael问候迈克尔

I would suggest that you create an association for the two entities to connect them.我建议您为这两个实体创建一个关联来连接它们。 在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM