ABAP Keyword Documentation → ABAP - Reference → ABAP Syntax → ABAP Statements → Operands → Functions and Expressions at Operand Positions → Operand positions for functions and expressions
General Expression Positions
General expression positions are read positions in which suitable data objects, calculation expressions, predefined functions, or functional methods and method chainings can be specified. The following general expression positions exist:
- Right side of statement
COMPUTE
without the additionEXACT
,
- Operands of arithmetic expressions and of bit expressions,
- Operands of logical expressions,
- Actual parameters for input parameters of methods
in
CALL METHOD
,CREATE OBJECT
, andRAISE EXCEPTION
.
- Arguments of predefined numerical functions if they are themselves executed in an arithmetic expression.
The type restrictions defined by the operand type apply in the operand positions. For example, no numerical functions can be specified in a bit expression.
Other versions: 7.31 | 7.40 | 7.54
Notes
Specifying functional methods as actual parameters of methods enables the nesting of method calls in an operand position.
- The three types of calculation expression can be executed as operands of logical expressions, but they cannot be mixed in one calculation expression.