FIND IN TABLE - options
Short Reference
ABAP Syntax ... [{RESPECTING|IGNORING} CASE]
[MATCH COUNT mcnt]
{ {[MATCH LINE mlin]
[MATCH OFFSET moff]
[MATCH LENGTH mlen]}
| [RESULTS result_tab|result_wa] }
[SUBMATCHES s1 s2 ...] ...
What does it do? The addition MATCH LINE returns the number of the
row in which the last substring was found using
FIND IN TABLE in data object mlin . The following can be
specified for mlin :
An existing variable that expects the data type i .
An inline declaration DATA(var) . The
declared variable has the data type i .
If the substring is not found, mlin retains its previous value
or stays initial.
The remaining additions used for searching in the individual table
rows have the same meaning as in the statement
FIND for elementary character strings and byte
strings.
If the addition RESULTS is used, the row numbers of each
occurrence in the component LINE of the table row in question in
result_tab or the row number of the last occurrence are also
saved to result_wa and the rows in result_tab are sorted
by the columns LINE , OFFSET , and LENGTH .
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved