Ansicht
Dokumentation

ABENDDIC_CDS_ABSTRACT_ENTITIES - DDIC CDS ABSTRACT ENTITIES

ABENDDIC_CDS_ABSTRACT_ENTITIES - DDIC CDS ABSTRACT ENTITIES

RFUMSV00 - Advance Return for Tax on Sales/Purchases   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

ABAP CDS - Abstract Entities

An abstract CDS 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 an abstract CDS entity can also be displayed in Repository Browser in ABAP Workbench.

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

  • A structured type defined using an element list
  • A parameter interface defined using input parameters (if applicable)

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

  • ABAP CDS
  • An abstract CDS entity can be specified as a target data source of an association. An association of this type can be published only and cannot be created as an instance of a join expression.

  • An abstract CDS entity cannot be used as a data source of SELECT statements or used by CDS path expressions in other CDS entities.

  • ABAP Programs
  • The structured type of the abstract CDS 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.

  • An abstract CDS entity cannot be used as a data source of SELECT statements or used by path expressions in .

  • Frameworks

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

Notes

Abstract CDS entities can be employed in the following cases:

  • They can be used as prototype definitions of data models without being created as instances of data objects.





BAL Application Log Documentation   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 5511 Date: 20240419 Time: 094407     sap01-206 ( 59 ms )