Ansicht
Dokumentation

ABENCDS_F1_ABSENT_ASSOCIATION - CDS F1 ABSENT ASSOCIATION

ABENCDS_F1_ABSENT_ASSOCIATION - CDS F1 ABSENT ASSOCIATION

General Material Data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

- DEFINE ABSTRACT ENTITY, association

... ASSOCIATION $[ [min..max] $] TO target ON cds_cond
                $[ WITH DEFAULT FILTER cds_cond $] ...


Effect

Defines a CDS association in the element list of an CDS abstract entity. The CDS association uses an ON condition to associate the current CDS entity with a association target target. The same rules apply that are described in topic CDS view entity, ASSOCIATION with the following differences:

  • The addition AS _assoc is not used. The CDS association is declared using the name _assoc, after which the addition ASSOCIATION is specified in the element list.

A CDS association defined using the addition ASSOCIATION in the element list of a CDS abstract entity is always exposed. It cannot, however, be used in any SQL path expressions, neither in ABAP CDS or in .

Note

A CDS association of a CDS abstract entity cannot be used anywhere where it could produce instances of join expressions.

Example

The following DDL source code shows a CDS abstract entity that exposes a CDS association with another CDS abstract entity:






ROGBILLS - Synchronize billing plans   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 3225 Date: 20240329 Time: 081009     sap01-206 ( 46 ms )