很多老系统里的 SAP Fiori 项目,真正卡住的地方并不是 OData 服务本身能不能读数据,而是 Fiori elements 这类元数据驱动的 UI 框架,需要从服务 metadata 里读到足够清楚的 UI annotation。SAP Gateway 从 SAP NetWeaver 7.40 开始就可以把 CDS view 作为 OData 服务的数据源,并通过 SADL 读取 CDS 数据,读操作可以少写很多 ABAP 代码;到了 7.50 以后,CDS view 在 SEGW 中作为 datasource 的能力进一步增强,CDS 里直接写 annotation 和通过@OData.publish: true发布服务也成为更自然的路径。(SAP Learning)问题出在 SAP NetWeaver 740。这个版本已经可以让我们把 CDS view 用到 SAP Gateway 服务开发里,却没有像较高版本那样在 CDS DDL source code 里优雅地维护 UI annotation。对一个想用 List Report Page 和 Object Page 快速交付业务页面的团队来说,这种缺口很现实。服务已经能返回销售订单,Fiori elements 却不知道列表默认显示哪