Ansicht
Dokumentation

ABENCDS_F1_CONDITIONAL_EXPRESSION - CDS F1 CONDITIONAL EXPRESSION

ABENCDS_F1_CONDITIONAL_EXPRESSION - CDS F1 CONDITIONAL EXPRESSION

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

- cond_expr

... rel_expr
  | $[NOT$] cond_expr $[AND$|OR cond_expr$] ...



Effect

Formulates a condition in a CDS view whose result is true or false. A condition is either a single relational expression rel_expr or an expression constructed from the Boolean operators NOT, AND, and OR in which parenthesized full conditions cond_expr using parentheses ( ... ) are possible.

The relational expressions rel_expr from which a condition cond_expr can be constructed are as follows:

  • Interval comparisons using BETWEEN
  • Pattern comparisons using LIKE

The Boolean operators work as follows:

  • NOT negates the result of the following condition.
  • An AND join is true if both joined conditions are true.
  • An OR join is true if at least one of the joined conditions is true.

The operator NOT is a stronger binding than AND, which itself is a strong binding than OR. This produces implicit parentheses, which can be overridden by explicit parentheses.






Fill RESBD Structure from EBP Component Structure   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 3387 Date: 20240328 Time: 235528     sap01-206 ( 39 ms )