SAP CDS redirect view支持写操作吗,一个实验来验证

简介:

According to this wiki, write back on CDS view is not supported:

clipboard1

And also it is defined in ABAP help that only read operation is supported. For other operation like write, you have to still use original database table.

clipboard2

Test on write operation attempt

I have a CDS view Zp_Mara_Redirect and its corresponding database view is zmara_cds.
When I try to insert some entry to CDS view, I get following error message:

clipboard3

When I try to insert some entry to CDS view's underlying database view, still not possible either.

clipboard4

Once the database table is redirected to a CDS view, the database itself is not supported to be changed by ABAP code. See this example below:

clipboard5

Insertion failed:

clipboard6

本文来自云栖社区合作伙伴“汪子熙”,了解相关信息可以关注微信公众号"汪子熙"。

相关文章
|
6月前
|
供应链 数据挖掘 BI
什么是 SAP S/4HANA 的 VDM Layering Architecture 的 VDM Composite View
什么是 SAP S/4HANA 的 VDM Layering Architecture 的 VDM Composite View
37 0
|
6月前
|
供应链 数据挖掘 BI
什么是 SAP S/4HANA 的 VDM Layering Architecture 的 CDS Dimension View
什么是 SAP S/4HANA 的 VDM Layering Architecture 的 CDS Dimension View
36 0
|
16天前
|
Web App开发 开发者 存储
介绍一个 webp 格式转 png 格式的软件:XNConvert
介绍一个 webp 格式转 png 格式的软件:XNConvert
21 6
介绍一个 webp 格式转 png 格式的软件:XNConvert
|
16天前
|
数据库 存储 BI
SAP ABAP CDS View 源代码存储的数据库表揭秘和其他相关数据库表介绍试读版
SAP ABAP CDS View 源代码存储的数据库表揭秘和其他相关数据库表介绍试读版
10 0
SAP ABAP CDS View 源代码存储的数据库表揭秘和其他相关数据库表介绍试读版
|
16天前
|
数据库
迈入 SAP CDS View 世界的前置知识 - SAP ABAP 数据库视图介绍试读版
迈入 SAP CDS View 世界的前置知识 - SAP ABAP 数据库视图介绍试读版
9 0
迈入 SAP CDS View 世界的前置知识 - SAP ABAP 数据库视图介绍试读版
|
16天前
|
数据库 SQL 应用服务中间件
SAP ABAP CDS View 和 HANA CDS View 相同点和不同点辨析
SAP ABAP CDS View 和 HANA CDS View 相同点和不同点辨析
17 0
SAP ABAP CDS View 和 HANA CDS View 相同点和不同点辨析
|
6月前
|
数据建模 BI
什么是 SAP S/4HANA 的 VDM Layering Architecture 的 CDS Hierarchy View
什么是 SAP S/4HANA 的 VDM Layering Architecture 的 CDS Hierarchy View
28 0
|
5月前
SAP CRM note 的修改操作实现
SAP CRM note 的修改操作实现
34 0
|
5月前
|
API
SAP OData V2 和 V4 里针对日期类型的字段进行过滤操作(filter)的正确语法试读版
SAP OData V2 和 V4 里针对日期类型的字段进行过滤操作(filter)的正确语法试读版
35 1
|
6月前
|
设计模式 SQL 数据建模
SAP Virtual Data Model 和 CDS View 的关联关系
SAP Virtual Data Model 和 CDS View 的关联关系
30 0