Ansicht
Dokumentation

ABENCDS_PATH_EXPR_CARD_V1 - CDS PATH EXPR CARD V1

ABENCDS_PATH_EXPR_CARD_V1 - CDS PATH EXPR CARD V1

General Data in Customer Master   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

- DDIC-Based View, 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. (The variant of the path expression can, however, be affected differently on certain database systems.)

The addition 1: or *: cannot be specified as the only addition in square brackets.

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.






General Data in Customer Master   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 2573 Date: 20240329 Time: 101531     sap01-206 ( 33 ms )