SAP CDS GENERAL - Syntax RULES



Get Example source ABAP code based on a different SAP table
  


• // ABAP_CDS_ELEMENT
• -- ABAP_CDS_ELEMENT
• /* ABAP_CDS_ELEMENT
• */ ABAP_CDS_ELEMENT

ABAP_CDS - General Syntax Rules
The general syntax rules for the CDS DDL and CDS DCL for defining CDS objects in ABAP CDS are as follows:
Keywords
Keywords must be all uppercase, all lowercase, or in lowercase with an uppercase initial letter. Other mixes of uppercase and lowercase are not allowed.
Names
Names are not case-sensitive.
A name must contain at least 2 characters but no more than 30 characters.
A name can consist of letters, numbers, underscores (_), and slashes (/).
A name must start with a letter, slash character, or underscore. Underscores are recommended as the naming convention for CDS associations.
The separator for names with multiple parts is a period (.). Names with multiple parts can be paths, columns with a prefixed data source, and structured annotations.
The following CDS keywords cannot be used as names: