AbapCatalog.buffering缓存和SE11-sflight技术属性中的缓冲含义完全一致,不解释了
ClientHandling.type,cds提供数据的源(SFLIGHT)中是否有MANDT字段。
#INHERITED – If one of the data source is client dependent then the CDS view is client dependent. If all the data sources are client independent then the CDS view is client independent.
#CLIENT_DEPENDENT- If at least one data source is client dependent, then CDS view is client dependent else results in error.
#CLIENT_INDEPENDENT – All the data sources must be client independent , then CDS view is client independent else results in error.
CDS实体的开发只能使用Eclipse for ABAP(ADT)工具,不能在SE80上直接开发。
1、新建cds
数据定义
cds名称和描述
选择新建cds模板,cds有复杂的语法,工具提供了常见的使用方式模板
2、完成生成cds代码
AbapCatalog.buffering缓存和SE11-sflight技术属性中的缓冲含义完全一致,不解释了
ClientHandling.type,cds提供数据的源(SFLIGHT)中是否有MANDT字段。
#INHERITED – If one of the data source is client dependent then the CDS view is client dependent. If all the data sources are client independent then the CDS view is client independent.
#CLIENT_DEPENDENT- If at least one data source is client dependent, then CDS view is client dependent else results in error.
#CLIENT_INDEPENDENT – All the data sources must be client independent , then CDS view is client independent else results in error.
3、激活cds模型,会在abap数据字典中生成视图
4、预览cds提供的数据
选择data preview或者直接运行cds模型代码
选择Graphical Editor图形编辑器,模型图形化更直观