Ansicht
Dokumentation

ABAPFIND_SHORTREF - FIND SHORTREF

ABAPFIND_SHORTREF - FIND SHORTREF

General Material Data   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

FIND

Reference



Syntax

FIND [{FIRST OCCURRENCE}|{ALL OCCURRENCES} OF]
     {[SUBSTRING] substring} | {REGEX regex} IN
     { {[SECTION [OFFSET off] [LENGTH len] OF] dobj}
     | {TABLE itab [FROM lin1 [OFFSET off1]]
                   [TO   lin2 [OFFSET off2]]} }
     [IN {CHARACTER|BYTE} MODE]
     [{RESPECTING|IGNORING} CASE]
     [MATCH COUNT  mcnt]
     { {[MATCH LINE   mlin]
        [MATCH OFFSET moff]
        [MATCH LENGTH mlen]}
     | [RESULTS result_tab|result_wa] }
     [SUBMATCHES s1 s2 ...].


Effect

Searches for character strings or byte strings or for regular expressions in a character-like or byte-like data object (dobj) or in an internal table (itab).

Additions

  • SECTION $[OFFSET off$] $[LENGTH len$] OF dobj
    Searches in a character string or byte string (dobj) with restriction of the search range to the section starting from the offset specified in off with the length specified in len.
  • MATCH LINE mlin
    When searching in internal tables, gets the line number of the last occurrence in mlin.
  • RESULTS result_tab$|result_wa
    Gets the properties of all occurrences or the last occurrence in an internal table (result_tab) or a structure (result_wa).
  • SUBMATCHES s1 s2 ...
    When searching for regular expressions, gets the content of the subgroup tabs of the last occurrence in s1, s2, and so on.
  • RESULTS result_tab$|result_wa
    Gets the properties of all occurrences or the last occurrence in an internal table (result_tab) or a structure (result_wa).
  • SUBMATCHES s1 s2 ...
    When searching for regular expressions, gets the content of the subgroup tabs of the last occurrence in s1, s2, and so on.





BAL Application Log Documentation   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 5261 Date: 20240420 Time: 073533     sap01-206 ( 50 ms )