SAP CDS COND EXPR COMP V2



Get Example source ABAP code based on a different SAP table
  


• = ABAP_CDS_DDL_OPER_V2
• <> ABAP_CDS_DDL_OPER_V2
• < ABAP_CDS_DDL_OPER_V2
• > ABAP_CDS_DDL_OPER_V2
• <= ABAP_CDS_DDL_OPER_V2
• >= ABAP_CDS_DDL_OPER_V2

ABAP_CDS_DDL - CDS View Entity, cds_cond, Comparison Operators

ABAP_SYNTAX
... lhs operator rhs ...

What does it do?
Comparison operators can be used to specify a comparison in a condition in a CDS view entity. The following table shows relational expressions rel_exp that are constructed with comparison operators: <(>rel_expr<)>True if
lhs = rhsValue of lhs is equal to the value of rhs
lhs <> rhsValue of lhs is not equal to the value of rhs
lhs < rhsValue of lhs is less than the value of rhs
lhs > rhsValue of lhs is greater than the value of rhs
lhs < = rhsValue of lhs is less than or equal to the value of rhs
lhs >= rhsValue of lhs is greater than or equal to the value of rhs
Context-dependent rules apply when specifying the operands lhs and rhs. For further details, see topic TITLE .
The tables of comparable types show which data types can be compared with each other.