ARTICLE
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 comp of the statement
ASSIGN COMPONENT comp OF
STRUCTURE
Operand n of the statement
DO n TIMES
Operand sec of the statement
WAIT UP TO sec SECONDS
Operand num of the statement
SHIFT ... BY num PLACES
Operands bitpos and val of the statement
SET BIT bitpos ... TO val .
Operand bitpos of the statement
GET BIT bitpos ... .
Positions specified in the statements FIND and REPLACE :
Operands off and len of the statements
FIND ... IN SECTION ... OF
REPLACE ... IN SECTION ... OF
Operands lin1 , off1 , lin2 , and off2 of 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 and len of the statement
REPLACE SECTION OFFSET off LENGTH len
OF ...
The row number idx specified with respect to a table index when
accessing an internal table in:
READ TABLE itab INDEX idx ...
LOOP AT itab ...FROM idx1 TO idx2 ...
INSERT itab ... INDEX idx ...
INSERT LINES OF jtab FROM idx1 TO idx2
...
APPEND LINES OF jtab FROM idx1 TO idx2 ...
MODIFY itab INDEX idx ...
DELETE itab INDEX idx ...
DELETE itab FROM idx1 TO idx2 ...
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved