Ansicht
Dokumentation

ABENCDS_F1_CUSTOM_TP_ASSOCIATION - CDS F1 CUSTOM TP ASSOCIATION

ABENCDS_F1_CUSTOM_TP_ASSOCIATION - CDS F1 CUSTOM TP ASSOCIATION

rdisp/max_wprun_time - Maximum work process run time   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

- DEFINE CUSTOM ENTITY, To-Parent Association

... ASSOCIATION TO PARENT target ON $projection.cds_cond ...

Effect

Defines a CDS to-parent association in the element list of a CDS custom 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. The only difference is that the addition AS_assoc is not used. The name of the CDS composition is declared using the name _to_parent in the element list of the CDS custom entity.

Example

The following DDL source code shows a CDS custom entity that defines a CDS to-parent association to another CDS custom entity:






CL_GUI_FRONTEND_SERVICES - Frontend Services   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 2219 Date: 20240424 Time: 181919     sap01-206 ( 32 ms )