ABAP Keyword Documentation → ABAP - Reference → ABAP Syntax → ABAP Statements → Operands → Functions and Expressions in Operand Positions → Operand Positions for Functions and Expressions → Reader Positions for Functions and Expressions
Numeric Expression Positions
Numerical expression positions are reader positions in which numeric data objects, arithmetic expressions, and predefined functions, or functional methods and method chainings whose return value has a numeric data type, can be specified. The following numeric expression positions exist:
- Arguments of functions
- Numeric arguments of string functions
- Numeric arguments of extremum functions
- Counters and positions:
- Operand
compof the statementASSIGN COMPONENT comp OF STRUCTURE
- Operand
nof the statementDO n TIMES
- Operand
secof the statementWAIT UP TO sec SECONDS
- Operand
numof the statement
SHIFT ... BY num PLACES
- Operands
bitposandvalof the statementSET BIT bitpos ... TO val.
- Operand
bitposof the statementGET BIT bitpos ....
- Positions specified in the statements
FINDandREPLACE:
- Operands
offandlenof the statements
FIND ... IN SECTION ... OFREPLACE ... IN SECTION ... OF
- Operands
lin1,off1,lin2, andoff2of 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
offandlenof the statement
REPLACE SECTION OFFSET off LENGTH len OF ...
- The row number
idxspecified with respect to a table index when accessing an internal table in: