Get Example source ABAP code based on a different SAP table
Numeric Expression Positions Numeric expression positions are read positions> where numeric data objects>, constructor expressions>, arithmetic expressions>, table expressions>, and built-in functions >, or functional method calls > 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 specifications 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 ...>>
Specification of the line number idx> with respect to a table index when accessing internal tables in the following:
READ TABLE itab • idx ...>>
LOOP AT itab ...FROM idx1 TO idx2 ...> >
INSERT itab ... • idx ...>>
INSERT LINES OF jtab FROM idx1 TO idx2 ...>>
APPEND LINES OF jtab FROM idx1 TO idx2 ... >>
MODIFY itab • idx ...>>
DELETE itab • idx ...>>
DELETE itab FROM idx1 TO idx2 ...>>
ABAP_EXAMPLE_VX5 Specifies a built-in function lines( itab )> for specifying the loop passes of a DO>> loop. ABEXA 01178 ABAP_EXAMPLE_END