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
nin the statementDO n TIMES
- Operand
secin the statementWAIT UP TO sec SECONDS
- Operand
numin the statement
SHIFT ... BY num PLACES
- Operands
bitposandvalin the statementSET BIT bitpos ... TO val.
- Operand
bitposin the statementGET BIT bitpos ....
- Position specifications in statements
FINDandREPLACE:
- Operands
offandlenin the statements
FIND ... IN SECTION ... OFREPLACE ... IN SECTION ... OF
- Operands
lin1,off1,lin2andoff2in 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
offandlenin the statement
REPLACE SECTION OFFSET off LENGTH len OF ...
- Specification of the row number
idxwith reference to a table index during access to an internal table in: