ABAP Keyword Documentation → ABAP - Reference → Processing Internal Data → Character String and Byte String Processing → Statements for Character String and Byte String Processing → FIND
FIND - section_of
Other versions: 7.31 | 7.40 | 7.54
Syntax
... SECTION [OFFSET off] [LENGTH len] OF ... .
Effect
This addition restricts the search of the FIND
and REPLACE
statements in dobj
to the section from the
offset specified in off
with the length specified in len
. Without the addition, the whole data object is searched. off
and len
are
numerical print
positions of operand type i
. At least one of the OFFSET
or LENGTH
additions must be specified.
If an offset is specified without specifying the length, the dobj
data object
is searched from the off
offset to its end. If a length is specified without specifying an offset, the offset 0 is used implicitly. The values of
off
and len
must be greater than or equal to
0, and the section specified by off
and len
must be within the length of dobj
.