SAP CDS SYSTEM CLASSES



Get Example source ABAP code based on a different SAP table
  


SAP_ONLY
VERSION 5 OUT
• IF_DD_DDL_HANDLER ABAP_SYSTEM_CDS
• IF_DD_DDL_UTILITIES ABAP_SYSTEM_CDS
• CL_DD_DDL_ANALYZE ABAP_SYSTEM_CDS
• CL_DD_DDL_FIELD_TRACKER_MASS ABAP_SYSTEM_CDS

ABAP_CDS - System Classes and Interfaces
Besides the CDS Read API CL_DD_CDS_READ_API_FACTORY, the following system classes and interfaces can be used to evaluate the metadata of CDS entities:
IF_DD_DDL_HANDLER
Instantiated using the method CREATE of the system class CL_DD_DDL_HANDLER_FACTORY.
Can be used to deal with lifecycle aspects of CDS entities.
IF_DD_DDL_UTILITIES
Instantiated using the method CREATE_UTIL_PUBLIC of the system class CL_DD_DDL_HANDLER_FACTORY.
Offers functions for evaluating the metadata of CDS entities.
CL_DD_DDL_UTILITIES
Instantiated using the method CREATE_UTIL_ACCESS of the system class CL_DD_DDL_HANDLER_FACTORY.
Offers functions for evaluating the metadata of CDS entities.
CL_DD_DDL_ANALYZE
Offers methods for analyzing a piece of CDS source code.
IF_DD_CDS_ROOT_COMPOSITION
Evaluates root and composition relationships of CDS entities.
CL_DD_DDL_FIELD_TRACKER_MASS
Can be used to analyze the elements of a CDS view.
VX_EXA_ONLY

ABAP_EXAMPLE_VX
Example for reading a DDL source and getting the SQL statement using the methods of the handler interface IF_DD_DDL_HANDLER.
ABEXA 01759
ABAP_EXAMPLE_END
VX_EXA_ONLY

ABAP_EXAMPLE_VX
The following code snippet demonstrates some of the functionality of the interface IF_DD_DDL_UTILITIES.
ABEXA 01760
ABAP_EXAMPLE_END
VX_EXA_ONLY

ABAP_EXAMPLE_VX
The following code snippet demonstrates some of the functionality of the system class CL_DD_DDL_ANALYZE.
ABEXA 01761
ABAP_EXAMPLE_END