An example of CDS view extension

64 阅读1分钟

Created by Wang, Jerry, last modified on Jan 23, 2017

  1. create a CDS view with following source code:

Once activated, you see two fields in SQL view as expected.

  1. Create another CDS view which extends the view created in step one with additional two fields: PRODUCT_TYPE & UPNAME.

Once activated, you will find these two fields are extended via traditional ABAP append structure in SQL view.

Consumer does not know whether a field is coming from original extensible view or from extension view, it is completely transparent.

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