The following sections summarize the language elements of the DDL and DCL of the ABAP CDS, arranged by topics.
•DDL
◦CDS Views
◦CDS View Enhancements
•DCL
◦CDS Roles
◦CDS Access Policies In addition to the language elements show here, CDS source code can also contain annotations for metadata. DDL CDS Views Keywords and Additions Language Element Meaning
DEFINE VIEW ... AS Defines a CDS view
WITH PARAMETERS Defines input parameters of a CDS view
SELECT [DISTINCT] ... FROM SELECT statement of a CDS view
INNER JOIN ... ON Inner join in a SELECT statement
LEFT|RIGHT OUTER JOIN ... ON Outer join in a SELECT statement
ASSOCIATION ... TO ... AS ... ON Defines an association for a path expression in a SELECT statement
1: Attribute of a path expression
INNER ... WHERE Attribute of a path expression
LEFT OUTER ... WHERE Attribute of a path expression
KEY ... AS Element of a SELECT list
$EXTENSION.* Elements of an enhancement in a SELECT list
WHERE ... WHERE clause of a SELECT statement
GROUP BY ... GROUP-BY clause of a SELECT statement
HAVING ... HAVING clause of a SELECT statement
UNION ALL ... UNION clause of a SELECT statement Expressions Operators Meaning
MAX, MIN, AVG, SUM, COUNT Aggregate expressions in a SELECT statement
+, -, *, / Arithmetic expressions in a SELECT statement
CASE, WHEN, THEN, ELSE, END Case distinctions in a SELECT statement
CAST Casting expression in a SELECT statement
=, <>, <, >, <=, >=, BETWEEN, LIKE, IS NULL, NOT, AND, OR Relational expressions in a SELECT statement Predefined Functions Function Meaning
ABS, CEIL, DIV, DIVISION, FLOOR, MOD, ROUND Numeric functions in a SELECT statement
CONCAT, LPAD, REPLACE, SUBSTRING String functions in a SELECT statement
COALESCE Coalesce function in a SELECT statement
CURRENCY_CONVERSION, UNIT_CONVERSION, DECIMAL_SHIFT Conversion functions in a SELECT statement CDS View Enhancements Keywords and Additions Language Element Meaning
EXTEND VIEW ... WITH Enhancement of a CDS view with an CDS view enhancement DCL CDS Roles Keywords and Additions Language Element Meaning
DEFINE ROLE ... GRANT SELECT ON Defines a CDS role
WHERE, AND, OR WHERE clause in the definition of a CDS role
... = ASPECT pfcg_auth ... Condition for mapping roles
... =|<>|<|>|<=|>=|LIKE|IS NULL ASPECT ... Condition for assignment roles
... =|<>|<|>|<=|>=|LIKE|IS NULL ... Literal condition CDS Access Policies Keywords and Additions Language Element Meaning
DEFINE ACCESSPOLICY Defines a CDS access policy
DEFINE ASPECT ... AS Defines a CDS aspect
SELECT FROM SELECT statement of an CDS aspect
WHERE $user IN WHERE clause of the SELECT statement of an CDS aspect

ABAP CDS - Language Elements的更多相关文章

  1. ABAP CDS - Syntax

    The syntax of the DDL and of the DCL of the ABAP CDS comprises elements of the general DDL and DCL o ...

  2. 教程:基于访问控制的ABAP CDS视图权限

    Hi! 对每一个CDS视图,我们都可以通过DCL(Data Control Language)定义访问控制.在这篇文章中,我会介绍ABAP CDS视图中非常重要的一面:权限管理. 本文的阐述基于我正在 ...

  3. ABAP CDS Table Function介绍与示例

    Core data services(以下简称CDS)可以指两样东西,一个是HANA CDS,一个是ABAP CDS. 如我们所知,HANA CDS只支持HANA数据库,ABAP CDS理论上支持多种 ...

  4. 【ABAP CDS系列】ABAP CDS中的系统信息

    公众号:SAP Technical 本文作者:matinal 原文出处:http://www.cnblogs.com/SAPmatinal/ 原文链接:[ABAP CDS系列]ABAP CDS中的系统 ...

  5. ABAP CDS - SELECT, association

    ABAP CDS - SELECT, association Syntax ... ASSOCIATION [ [min..max] ] TO target [AS _assoc] ON cond_e ...

  6. ABAP CDS-Part 1(ABAP CDS实体)

    文章翻译自Tushar Sharma的文章,转载请注明原作者和译者! 目录 预备条件 一.概述 二.ABAP CDS实体(CDS Entity) a.定义ABAP CDS Views b.ABAP C ...

  7. ABAP CDS - DEFINE VIEW, name_list

    Syntax ... ( name1, name2, ... ) ... Effect Defines the element names of a CDS view in ABAP CDS in a ...

  8. ABAP CDS - DEFINE VIEW, view_annot

    Syntax ... @annotation ... Effect Specifies Annotation annotation in the definition of a CDS view of ...

  9. HANA CDS与ABAP CDS

    如果你在网络或者SCN上面搜索CDS,即SAP的Core Data Services,你会很容易地找到类似“Core Data Services(CDS)是一个在SAP HANA中用于定义和消费富语义 ...

随机推荐

  1. Vuecli版本调整

    1.当前版本号查看 1.Windows+R打开命令提示符2.输入cmd3.vue --version或者vue -V(大写V) 2.版本操作 安装指定版本 情况一:目前处于3.0及以上 版本查看和卸载 ...

  2. Java语言学习day21--7月27日

    ###01接口的概念 * A:接口的概念 接口是功能的集合,同样可看做是一种数据类型,是比抽象类更为抽象的"类". 接口只描述所应该具备的方法,并没有具体实现,具体的实现由接口的实 ...

  3. 介绍关于MSSQL当前行中获取到上一行某列值的函数 Coalesce

    记录一个小知识点,在SQLGrid中,在当前行显示上一行某列值的函数** Coalesce **的使用. 显示上一行是有啥子用? 经常有人百度SQL上一行减下一行的写法,但是没几个文章是用最简单直接的 ...

  4. 接口测试 Mock 实战(二) | 结合 jq 完成批量化的手工 Mock

    因为本章的内容是使用jq工具配合完成,因此在开始部分会先花一定的篇幅介绍jq机器使用,如果读者已经熟悉jq,可以直接跳过这部分.先来看应用场景,App 经常会有一些信息展示的列表页,比如商家的菜品.股 ...

  5. Git&Gitee

    目录 Git Git介绍 安装 命令学习 Git的作用 git与svn比较 Git,GitHub,GitLab,Gitee Git工作流程 Git常用命令 在仓库目录终端下 - 设置全局用户 在仓库目 ...

  6. 记一次sql注入的解决方案

    点赞再看,养成习惯,微信搜索「小大白日志」关注这个搬砖人. 本文在公众号文章已同步,还有各种一线大厂面试原题.我的学习系列笔记. 今天业务提了个模糊查询,一听就知道这种问题有坑,肯定涉及到sql注入, ...

  7. vue 设置动态标题

    在 router/index.js 文件中设置 meta:{title:'标题'} 和 router.beforeEach,即可实现功能, 代码如下: import { createRouter, c ...

  8. 微信小程序绑定函数如何携带参数

    一开始以为微信小程序的语法是和VUE的语法一样的,直接@click="click(field)",结果却不是这样的 在微信小程序中我们需要设置一个 data-set ,然后在绑定的 ...

  9. Python学习4(字典的内存分布)

    1.字典:是python数据类型之一,字典通过花括号来包含数据项,字典的每个元素由2个部分组成,键:值,字典是根据键来找对应的值. data = {"name": "Et ...

  10. .net 项目使用 JSON Schema

    .net 项目使用 JSON Schema 最近公司要做配置项的改造,要把appsettings.json的内容放到数据库,经过分析还是用json的方式存储最为方便,项目改动性最小,这就牵扯到一个问题 ...