SAP CDS FDL



Get Example source ABAP code based on a different SAP table
  



ABAP_CDS - Function Definitions
CDS function definitions are defined in the CDS function definition language ( CDS FDL) of ABAP CDS . CDS function definitions allow the definition of user-defined CDS functions that encapsulate algorithms into reusable code which can be used operand positions of CDS entities. CDS function definitions can be used to define the following CDS functions:
CDS scalar functions



Latest notes:

CDS table functions are CDS data definitions defined in DDL source code. CDS table functions encapsulate AMDP functions, but they are CDS entities and they belong to the technical category of CDS data definitions. CDS table functions have the characteristics of CDS data definitions: they can be used as data source in other CDS entities and for typing in ABAP using the TYPE statement. Despite the name, a CDS table function is not a CDS function definition.
The FDL source code of a function definition for a CDS function is edited in a different editor than the DDL source code of a CDS data definition , the DDLA source code of a CDS annotation definition , the DDLX source code of a CDS metadata extension, and the DCL source code of a CDS role for CDS access control. The ADT documentation describes how to create the different types of source code.
NON_V5_HINTS
ABAP_HINT_END