SAP CDS PATH EXPR ATTR V2



Get Example source ABAP code based on a different SAP table
  


• [ ] ABAP_CDS_PATH_EXPR

ABAP_CDS_DDL - CDS View Entity, path_expr, attributes

ABAP_SYNTAX
... [ $[cardinality$] $[INNER$|${LEFT OUTER$}$] $[WHERE$] $[ cds_cond$] ] ...

What does it do?
For every CDS association _assoc of a path expression of a CDS view entity, attributes for this part of the path expression can be defined in square brackets [ ] . The following attributes can be specified:
With cardinality, the cardinality of the section can be specified.
With INNER$|${LEFT OUTER$} the join type can be specified.
With $[WHERE$] cds_cond a filter condition cds_cond can be specified.

ABAP_EXAMPLE_VX5
The CDS view entity contains path expressions with filter conditions in the FROM clause, in the SELECT list, and in the WHERE clause.
DDLS DEMO_SALES_CDS_PATH_EXPR_1
ABAP_EXAMPLE_END