Get Example source ABAP code based on a different SAP table
• SECTION OF FIND • OFFSET FIND • LENGTH FIND
FIND>, section_of> Short Reference >
ABAP_SYNTAX ... SECTION $[OFFSET off$] $[LENGTH len$] OF ... >
What does it do? This addition restricts the search of the statements FIND>> and REPLACE >> in dobj> to the section from the offset> specified in off> with the length specified in len>. Without the addition SECTION>, the entire data object is searched. With SECTION>, at least one of the additions OFFSET> or LENGTH> must be specified. If an offset is specified without specifying the length, the data object dobj> is searched from the offset off> to its end. If a length is specified but no offset, the offset 0 is used implicitly. off> and len> are numeric expression positions > with the operand type i>. Apart from one exception, 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>. As an exception, the value of len> can also be -1> and this value has the same effect as omitting the addition LENGTH>.
Latest notes: The specification -1> for len> works in the same way as not using the addition LENGTH> by passing a value to the statement. NON_V5_HINTS ABAP_HINT_END
ABAP_EXAMPLE_VX5 The FIND> statement searches from offset 12 and finds the html > substring at offset 20. ABEXA 00278 ABAP_EXAMPLE_END