Ansicht
Dokumentation

ABENCDS_PATH_EXPR_CARD_V2 - CDS PATH EXPR CARD V2

ABENCDS_PATH_EXPR_CARD_V2 - CDS PATH EXPR CARD V2

BAL Application Log Documentation   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

- CDS View Entity, path_expr, Cardinality

...  1$|*: ...

Effect

Specifies the cardinality of the current CDS association:

  • If the attribute 1: is specified, the current CDS association is declared as unique.
  • If the attribute *: is specified, the current CDS association is declared as non-unique.

The addition 1: makes it possible to use filter conditions in path expressions, which are used in WHERE clauses or HAVING clauses. In a clause like this, it overwrites the cardinality of the CDS association. Please be aware that the transformation into a join expression can vary depending on the database system used.

The addition 1: or *: cannot be specified as the only addition in square brackets. It must always be combined with a filter condition.

Note

The addition 1: prevents a syntax error if a path specified with filter conditions or with a non-unique cardinality is used in a WHERE clause or HAVING clause. However, at runtime, there's no check to validate whether the condition achieves the required unique cardinality.






BAL Application Log Documentation   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2706 Date: 20240426 Time: 230305     sap01-206 ( 38 ms )