Ansicht
Dokumentation
ABENCDS_ABSENT_TO_PARENT_ASSOC - CDS ABSENT TO PARENT ASSOC
ABAP Short Reference General Material DataThis documentation is copyright by SAP AG.
- DEFINE ABSTRACT ENTITY, to-parent association
... ASSOCIATION TO PARENT target $[ON $projection.cds_cond$] ...
Effect
Defines a CDS to-parent association in the element list of an CDS abstract entity.
The CDS to-parent association associates the current CDS entity, as a association source, with the association target target specified in the definition of the CDS to-parent association.
CDS to-parent associations are specialized CDS associations and the same rules apply as described in topic CDS DDL - CDS View Entity, ASSOCIATION TO PARENT. There's only one exception to the rules described in topic CDS DDL - CDS View Entity, ASSOCIATION TO PARENT: If the association target of a to-parent association is another CDS abstract entity, then the ON condition is not mandatory and can be left out.
Example
The following DDL source code shows a CDS abstract entity that defines a CDS to-parent association to another CDS abstract entity:
Addresses (Business Address Services) TXBHW - Original Tax Base Amount in Local Currency
This documentation is copyright by SAP AG.
Length: 2315 Date: 20240426 Time: 072413 sap01-206 ( 37 ms )