Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to verify that SAP CDS redirect view supports write operations

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

In this issue, the editor will bring you about how to verify SAP CDS redirect view support for writing operations. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.

According to this wiki, writing back to the view on CD is not supported:

Only read operations are also defined in the ABAP help. For other operations, such as writes, you must still use the original database table.

Write operation attempt test

I have a CDS view Zp_Mara_Redirect, and its corresponding database view is zmara_CDS.

When I try to insert some entries in the CD view, I get the following error message:

When I tried to insert some entries into the underlying database view of the CDS view, it was still impossible.

Once the database table is redirected to the CDS view, the ABAP code does not support changing the database itself. See the following example:

Insertion failed:

The above is the editor to share with you how to verify that SAP CDS redirect view supports write operations. If you happen to have similar doubts, please refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report