Ansicht
Dokumentation

ABENCDS_ABSENT_COMPOSITION - CDS ABSENT COMPOSITION

ABENCDS_ABSENT_COMPOSITION - CDS ABSENT COMPOSITION

CPI1466 during Backup   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

- DEFINE ABSTRACT ENTITY, composition

... COMPOSITION $[ [min..max] $] OF target ...

Effect

Defines a CDS composition in the element list of a CDS abstract entity.

The CDS composition associates the current CDS abstract entity, as a association source, with the association target target specified in the definition of the CDS composition.

CDS compositions are specialized CDS associations and they work in the same way as described in topic CDS DDL - CDS View Entity, COMPOSITION. The only difference is that in CDS compositions in CDS abstract entities, the addition AS is not used. The name of the CDS composition is declared using the name _compos in the element list of the CDS abstract entity.

Example

The following DDL source code shows a CDS abstract entity that defines a CDS composition to another CDS abstract entity:






Fill RESBD Structure from EBP Component Structure   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 2104 Date: 20240329 Time: 030536     sap01-206 ( 31 ms )