日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

CDS – One Concept, Two Flavors

發(fā)布時間:2025/3/20 编程问答 25 豆豆
生活随笔 收集整理的這篇文章主要介紹了 CDS – One Concept, Two Flavors 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

If you search the web or SCN for CDS, SAP’s Core Data Services, you can easily find statements like“Core data services (CDS) is an infrastructure for defining and consuming semantically rich data models in SAP HANA.”.?On the other hand, there also seems to be something called?ABAP CDS in ABAP Dictionary. How are they connected? Let’s have a look from the ABAP (and even ABAP CDS) docu writer’s worm’s eye view.

ABAP Dictionary

In order to develop (business) applications, you need something to model your data. In the ABAP world, meaning on the ABAP application server, for this purpose you used the ABAP Dictionary or tools like the data modeler for years. The ABAP Dictionary was and is the platform independent metadata repository for database tables and database views that can be accessed in ABAP using Open SQL. The definition of the database entities is done in the form based ABAP Dictionary tool on the application server and? the according DDL is passed to the database via the DBI (Database Interface). You can examine that by looking at the “Database Object” in SE11. E.g., for a view, you see the according DDL statement CREATE VIEW.? For an ABAP program, the entities defined in the ABAP Dictionary act like global types, making it simple to declare ABAP data objects as targets or sources for DML statements in Open SQL.

HANA CDS

With the dawn of SAP HANA and the possiblity to develop applications directly on the database, not using an application server any more, the need arised, to create a meta model repository directly on the database. As with the ABAP Dictionary on the application server, there should be more in the box for you than using native SQL’s CREATE TABLE or CREATE VIEW. Especially regarding the need of enriching pure technical definitions wih semantics. And that’s one of the main reasons for SAP’s Core Data Services.

Core Data Services provide a specification for an SQL-based DDL that is enriched with further possibilities like annotations or associations that generally can be implemented on different platforms. On SAP HANA, CDS provides the possibility “to define the artifacts that make up the data-persistence model.” The DDL of CDS allows you? to define database tables, database views, data types by wrapping the according native HANA SQL statements and enriching them with semantical properties. From an ABAP programmer’s point of view, one might say: Well, OK, there’s a source code based dictionary tool directly on the HANA database. But that would be too shirt-sighted.

ABAP CDS

From the beginning, CDS was not designed for HANA alone. Also the ABAP application server should be able to benefit from the enhanced capabilities that are offered by the DDL of CDS compared to the form based ABAP Dictionary tool. Since the ABAP Dictionary with its capabilty of defining tables, views and data types was already there, the natural way of introducing CDS on the ABAP application server was to add it to the ABAP Dictionary. An ADT based source code editor allows you to create DDL sources. On activation,? the CDS entities defined in such a DDL source become full citizen ABAP Dictionary objects. They work as ABAP types that can be named after a TYPE addition and they can be accessed in Open SQL. As a first step, the advanced view building capabilities of CDS have been implemented in ABAP CDS. With many, many tables already defined in the ABAP Dictionary, theDEFINE VIEW?statement of ABAP CDS makes the full wealth of the CDS universe readily available to existing ABAP data models. You can either define sophisticated new views or simply wrap an existing table in a CDS view in order to enrich it semantically. For example, ABAP CDS offers a new authorization concept based on roles defined wih?DEFINE ROLE?(partly released wth 7.40, SP10 and fully released with ABAP 7.50) in a DCL source code. In order to let an existing table participate in the new authorization concept, you can simply create a CDS view for that table that is connected to a role. Other examples are advanced joining of tables with associations or using specific annotations in order to connect existing tables to new technologies like OData or UI5. Even in ABAP itself, CDS views are handled in an advanced way compared to classical dictionary objects – automatic client handling is an example. So, with introducing CDS views in the ABAP Dictionary one big step is already taken. Capabilities to create database tables, database functions (available with ABAP 7.50), and data types in ABAP CDS might follow. This would ultimately allow you to create data models in the ABAP Dictionary from scratch using ABAP CDS only.

ABAP CDS vs. HANA CDS

With HANA CDS and ABAP CDS we have two implementations based on the same specification. The implementations are very similar but not 100 % equal.? If you know the DDL of CDS, you should be able to understand definitions of CDS entities in both flavors. But as a rule you will not be able to copy DDL sources from HANA to ABAP and vice versa without modifications.? The implementation of HANA CDS and ABAP CDS is ongoing and with different priorities.That’s why a blog like?New Core Data Services Features in SAP HANA 1.0 SPS 10? is mainly interesting for developers working directly on SAP HANA. ABAP developers have to look for blogs like?news in ABAP CDS.

While HANA CDS has to function on SAP HANA only, ABAP CDS is open. Consequently there are some restrictions for ABAP CDS that do not exist for HANA CDS (in the same way as Open SQL is more restricted than Native SQL). A good example are built-in functions. A built-in function likeCURRENCY_CONVERSION?offered in ABAP CDS must be available on any database platform and? – very important – must behave in the same way on all platforms. Same for expressions like arithmetic expressions, aggregates or the CAST expression. Before releasing such a functionality in ABAP CDS, all platforms have to participate. Quiet a task!? And thats why ABAP CDS cannot offer all?SQL Functions?of SAP HANA yet (but?working on it?…). On the other hand,it is open! And there are also ABAP specialties like client handling or table buffering that are not available in HANA CDS, but supported in ABAP CDS.

Conclusion

SAP’s Core Data Services provide a single concept for an infrastructure for data modelling that is implemented? in SAP HANA as well as on the ABAP application server. The design principles are the same for both implementations but due to differences in the respective environments, there are naturally some differences between these flavors.

Note

To my knowledge, there is no native implementation of the CDS concept on other database platforms than on SAP HANA up to now. In order to model in CDS for databases other than HANA, you can of course use ABAP CDS in the ABAP Dictionary, and let it push down the model for you.

總結(jié)

以上是生活随笔為你收集整理的CDS – One Concept, Two Flavors的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 欧美在线性 | 精品一区二区三区四区五区六区 | 岛国精品在线播放 | 日韩欧美不卡在线 | 国产一级性生活片 | 春色伊人 | 男生女生搞黄色 | 国模婷婷 | 99人妻碰碰碰久久久久禁片 | 97超碰资源总站 | 手机在线视频一区 | 精产国品一二三产区m553麻豆 | 亚洲成人精品一区二区三区 | 波多野结衣av在线观看 | 十八岁世界在线观看高清免费韩剧 | 鸥美一级片 | 麻豆 美女 丝袜 人妻 中文 | 无码人妻久久一区二区三区 | 午夜精品久久久久久久99 | 日本成人在线看 | 五月天最新网址 | 亚洲激情啪啪 | 日本久久综合网 | 四虎影院免费 | 精品成人一区二区三区 | 国产精品国产 | 国产精久久 | 亚洲av片不卡无码久久 | 波多野结衣欲乱上班族 | 天天舔天天舔 | 亚洲在线观看一区二区 | 久久久国产成人一区二区三区 | 日本特黄色片 | 一本一道久久a久久精品综合 | 在线观看免费视频一区二区 | 91麻豆精品在线 | 色一情一乱一伦一区二区三区 | 女教师高潮黄又色视频 | 麻豆精品a∨在线观看 | 亚洲另类在线观看 | 九九资源网 | 激情丁香 | 美女张开腿让男人操 | 娇妻玩4p被三个男人伺候电影 | 91pao | 国产精品成人网站 | 美女视频免费在线观看 | 修女也疯狂3免费观看完整版 | www久久久久 | 特黄一级片 | 激情欧美一区二区免费视频 | 国产精品欧美激情在线 | 亚洲女同二女同志 | 蘑菇福利视频一区播放 | 久久性生活视频 | 超碰综合 | 久久久久69| 欧美一级片观看 | 久热这里有精品 | 国产十区 | 午夜网页 | 俺也去网站 | 亚洲美女色视频 | 青青操原 | 污网站在线播放 | 亚洲av无码片一区二区三区 | 国产精品aaaa| 青青欧美| 国产av不卡一区二区 | 日本一二三区不卡 | 天天操夜夜干 | 色葡萄影院 | 日本人dh亚洲人ⅹxx | 一级aaa毛片 | 丰满熟妇肥白一区二区在线 | 日韩一级片免费观看 | 涩涩网站在线观看 | 国产精品一线二线 | 少妇肥臀大白屁股高清 | 天天综合人人 | a天堂中文在线观看 | 国产男女网站 | 久久久久99精品成人片直播 | 在线观看免费福利 | v天堂在线观看 | 老熟妇仑乱一区二区av | 中文字幕精品亚洲 | 国产精品91在线 | 国产精品午夜福利 | 嫩草99| 黄视频免费观看 | 我要看黄色大片 | 边吃奶边添下面好爽 | 国产欧美久久久久 | 俄罗斯美女一级爱片 | 毛片2 | 欧美久久久久久久久久久久 | 午夜影院免费在线观看 | 精品人妻一区二区三区香蕉 |