Ansicht
Dokumentation

ABENCDS_ABSTRACT_ENTITIES - CDS ABSTRACT ENTITIES

ABENCDS_ABSTRACT_ENTITIES - CDS ABSTRACT ENTITIES

Addresses (Business Address Services)   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

- Abstract Entities

A CDS abstract entity is defined in the DDL source code of a CDS data definition in the ABAP Development Tools (ADT) using the statement DEFINE ABSTRACT ENTITY in the CDS DDL of the ABAP Core Data Services (CDS). DCL source code in a CDS abstract entity can also be displayed in Repository Browser in ABAP Workbench.

A CDS abstract entity represents all type attributes of a CDS entity:

  • A structured type defined using an element list
  • Optionally a parameter interface defined using input parameters

An instance of a CDS abstract entity is not created as a database object and client handling is not defined. A CDS abstract entity can be used as follows:

  • ABAP CDS

  • ABAP Programs
  • The structured type of the CDS abstract entity is known in ABAP programs. Like the type of any CDS entity, it can be used after the addition TYPE. The attributes of the structured type can be evaluated using RTTI.

  • Frameworks

  • The parameters and the CDS associations of CDS abstract entities can be evaluated by frameworks such as the RAP framework.

Notes

CDS abstract entities can be employed in the following cases:

  • They can be used as data types whose type attributes go beyond the regular DDIC structures in the ABAP Dictionary. Examples of this use case can be found in ABAP RAP.
  • They can be used as prototype definitions of data models without being created as instances of data objects.





SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 6130 Date: 20240425 Time: 082958     sap01-206 ( 63 ms )