SAP LOGEXP EQUIV



Get Example source ABAP code based on a different SAP table
  


• EQUIV ABAP_BOOLEAN_OPERATOR

ABAP_LOGEXP - EQUIV

ABAP_SYNTAX
ABAP_KEY ... log_exp1 EQUIV log_exp2 ...

What does it do?
Combining two logical expressions log_exp with EQUIV creates a new logical expression that is true if both expressions are true or both expressions are false. If one of the expressions is true and the other one is false, the combined expression is false.
Within a parenthesis level, only two logical expressions can be combined using EQUIV.



Latest notes:

The operator EQUIV binds weaker than NOT, AND, and OR.
The operator EQUIV implements an equivalence operation. Negating such an operation using NOT is the same as using an XOR operation (eXclusive OR). It is true if one of the expressions is true and the other one is false.
NON_V5_HINTS
ABAP_HINT_END

ABAP_EXAMPLE_VX5
The condition in the IF statement is true if o1, o2 , and o3, o4 are either both equal or both unequal.
ABEXA 01097
ABAP_EXAMPLE_END