Ansicht
Dokumentation

ABENCDS_F1_CUSTOM_COMPOSITION - CDS F1 CUSTOM COMPOSITION

ABENCDS_F1_CUSTOM_COMPOSITION - CDS F1 CUSTOM COMPOSITION

CPI1466 during Backup   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

- DEFINE CUSTOM ENTITY, Composition

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

Effect

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

The CDS composition associates the current CDS entity, as a composition source, with the composition 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 custom 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 custom entity.

Example

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






RFUMSV00 - Advance Return for Tax on Sales/Purchases   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2017 Date: 20240420 Time: 174815     sap01-206 ( 32 ms )