ABAP HANA 751 : Logical Expressions
Logical Expressions make it possible that expressions can be written inside IF or similar constructs. It reduces lines of code to be written.
Sample Source Code: Variant 1

Output: Variant 1

Sample Source Code: Variant 2 – Complex Expressions

Output: Variant 2

Check the video for Code and Execution:
Find the code on GitHub: