Start of Content Area

Searching through Table Rows  Locate the document in its SAP Library structure

Using the statement:

FIND [{FIRST OCCURRENCE}|{ALL OCCURRENCES} OF] pattern
  IN TABLE itab ... [IN {BYTE|CHARACTER} MODE] ...

the internal table itab is searched through row-by-row according to the byte or character string defined by pattern. For itab, a standard table has to be specified. The row type in the table must be either byte or character, depending on which of the additions BYTE and CHARACTER MODE has been selected. Byte or character strings that cover several table rows are not found. The optional addition {FIRST OCCURRENCE}|{ALL OCCURRENCES} OF defines whether all or only the first occurrence of the search pattern is searched.

For further details and additions to the statement, see the keyword documentation.

 

End of Content Area