Get Example source ABAP code based on a different SAP table
ABAP_CDS_DDL - CDS View Entity, Joins of CDS Associations This example demonstrates how path expressions are transformed to joins in ABAP CDS.
ABAP_SOURCE_CODE DEMO CL_DEMO_CDS_ASSOC_JOINS_VE
ABAP_DESCRIPTION This example demonstrates which joins are implemented for path expressions> containing CDS associations>. The following two CDS view entities - DEMO_CDS_ASSOC_JOIN1_O_VE> and DEMO_CDS_ASSOC_JOIN1_I_VE > - access their own association _demo_join2> in path expressions of the SELECT> list and the exposed> CDS association _demo_join3> of DEMO_CDS_ASSOC_JOIN2>. DDLS DEMO_CDS_ASSOC_JOIN1_O_VE DDLS DEMO_CDS_ASSOC_JOIN1_I_VE DDLS DEMO_CDS_ASSOC_JOIN2_VE LEFT OUTER>> and INNER>> are explicitly specified in the path expressions.