Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Program Flow Logic 

Conditional Expressions

A conditional expression is a constructor expression that creates a value or raises a class-based exception as specified by a logical expression or a case distinction. Conditional expressions are constructed using the following conditional operators:

Other versions: 7.31 | 7.40 | 7.54


COND - Conditional Operator

SWITCH - Conditional Operator

COND, SWITCH - result

COND, SWITCH - Type Inference for Actual Parameters

Conditional Operator, Type Inference