ABAP Keyword Documentation → ABAP - Reference → ABAP Syntax → ABAP Statements → Operands → Functions and Expressions at Operand Positions → Operand positions for functions and expressions
numerical expression positions
Numerical expression positions are read positions in which numerical data objects, arithmetical expressions, and predefined functions, or functional methods and method chains, whose return value has a numerical data type, can be specified. The following numerical expression positions exist:
- Arguments of functions
- Numerical arguments of string functions
- Numeric arguments of extremum functions
- Counters and positions:
- Operand
n
in the statementDO n TIMES
- Operand
sec
in the statementWAIT UP TO sec SECONDS
- Operand
num
in the statement
SHIFT ... BY num PLACES
- Operands
bitpos
andval
in the statementSET BIT bitpos ... TO val
.
- Operand
bitpos
in the statementGET BIT bitpos ...
.
- Position specifications in statements
FIND
andREPLACE
:
- Operands
off
andlen
in the statements
FIND ... IN SECTION ... OF
REPLACE ... IN SECTION ... OF
- Operands
lin1
,off1
,lin2
andoff2
in the statements
FIND ... IN TABLE ... FROM lin1 OFFSET off1 TO lin2 OFFSET off2 ...
REPLACE ... IN TABLE ... FROM lin1 OFFSET off1 TO lin2 OFFSET off2 ...
- Operands
off
andlen
in the statement
REPLACE SECTION OFFSET off LENGTH len OF ...
- Specification of the row number
idx
with reference to a table index during access to an internal table in: