SAP CDS COND EXPR CASE V1



Get Example source ABAP code based on a different SAP table
  



ABAP_CDS_DDL - DDIC-Based View, cds_cond, CASE
Rules for conditions cds_cond in a complex case distinction of a ABAP_CDS_V1_VIEW view:
All relational operators are allowed.
lhs expects a field of a data source data_source.
A field of a data source data_source, a literal with optional domain prefix, a parameter, a session variable, or a built-in function can be specified for rhs (with the exception of the operator LIKE).
A field of a data source can be specified using a path expression path_expr.element, as long as the CDS associations of the expression do not have any non-SQL CDS entity as association targets and the expression is unique:
The cardinality of the contained CDS associations is to-one.
The path expression only contains
filter conditions with addition 1:. element can be used to specify an element of the association target of the last CDS association of the path.
Other expressions and function calls are not allowed.