ITPub博客

首页 > 应用开发 > IT综合 > SAP CDS redirect view支持写操作吗,一个实验来验证

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

原创 IT综合 作者:i042416 时间:2019-12-16 23:22:39 0 删除 编辑

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

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.

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:


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

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:

Insertion failed:

要获取更多Jerry的原创文章,请关注公众号"汪子熙":


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24475491/viewspace-2668894/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
测试

注册时间:2018-01-20

  • 博文量
    3822
  • 访问量
    1981828