Skip to content

ABAP Keyword Documentation →  ABAP - Quick Reference 

log_exp - Quick reference

Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


... { {operand1 {=|EQ|<>|NE|>|GT|<|LT|>=|GE|<=|LE 
                |CO|CN|CA|NA|CS|NS|CP|NP
                |BYTE-CO|BYTE-CN|BYTE-CA|BYTE-NA|BYTE-CS|BYTE-NS
                |O|Z|M} operand2 }
    | {operand  [NOT] BETWEEN operand1 AND operand2}
    | {operand [NOT] IN range_tab}
    | {operand IS [NOT] INITIAL}
    | {ref     IS [NOT] BOUND}
    | {oref    IS [NOT] INSTANCE OF class|intf}
    | {<fs>    IS [NOT] ASSIGNED}
    | {para    IS [NOT] SUPPLIED}
    | {para    IS [NOT] REQUESTED}
    | {contains( ... )|contains_any_of( ... )|contains_any_not_of( ... )}
    | {matches( ... )}
    | {line_exists( ... )} }
  | { [NOT] log_exp [AND|OR|EQUIV log_exp] } ...

Effect

Logical expression for formulating a condition for operands. A logical expression is a relational expression or multiple joined relational expressions, where ( ) can be used as parentheses. The result is a truth value.

Additions

  • =|EQ|<>|NE|>|GT|<|LT|>=|GE|<=|LE
    Comparison expression with relational operators for all data types.
  • CO|CN|CA|NA|CS|NS|CP|NP
    Comparison expression with relational operators for character-like data types.
  • BYTE-CO|BYTE-CN|BYTE-CA|BYTE-NA|BYTE-CS|BYTE-NS
    Comparison expression with relational operators for byte-like data types.
  • O|Z|M
    Comparison expression with relational operators for bit patterns
  • [NOT] BETWEEN
    Comparison expression used to check what belongs to an interval.
  • operand [NOT] IN range_tab
    Comparison expression used to check whether an operand meets the conditions of a ranges table range_tab.
  • IS [NOT] INITIAL
    Predicate expression used to check whether the operand operand is initial.
  • IS [NOT] BOUND
    Predicate expression used to check whether a reference variable ref is valid
  • IS [NOT] INSTANCE OF class|intf
    Predicate expression for a check to verify whether an object reference variable oref points to an object whose dynamic type is more specific or equal to the object type class or intf.
  • IS [NOT] ASSIGNED
    Predicate expression used to check whether a memory area is assigned to a field symbol <fs>.
  • IS [NOT] SUPPLIED
    Predicate expression used to check whether a formal parameter para of a procedure is filled or requested.
  • IS [NOT] REQUESTED
    Obsolete: Predicate expression used to check whether an output parameter para of a procedure is requested
  • contains , contains_...
    Predicate function used to scan a string.
  • matches
    Predicate function used to match a string with a regular expression.
  • line_exists
    Predicate function used to check the existence of a row in an internal table.
  • NOT
    Boolean operator used to negate a logical expression.
  • AND
    Boolean operator used as an AND join between two logical expressions.
  • OR
    Boolean operator used as an OR join between two logical expressions.
  • EQUIV
    Boolean operator used as an equivalence join between two logical expressions.