Saturday, 4 January 2014

Linking Logical Expressions Together in SAP ABAP

Linking Logical Expressions Together in SAP ABAP


There are a whole set of ABAP operators which can be used with logic statements. With the IF statement so far the equals (=) operator has been used. The following can also be used here.

ABAP Operators : = , <>, <, >, <=, >=


(from left to right: equal to, NOT equal to, less than, greater than, less than OR equal to, greater than OR equal to. These can also be written with their text equivalents, in order: EQ, NE, LT, GT, LE, GE. The text versions are not commonly used.)

Logical expressions can be linked with the operators OR, AND and NOT. For example, one could add to the previous IF statement
Linking Logical Expressions Together in SAP ABAP
OR and NOT operate can also be used in exactly the same way

No comments:

Post a Comment