Ansicht Dokumentation

Wir wachsen stetig und suchen neue Kollegen (m/w/d)! Schauen Sie sich unsere offenen Position an, um eine passende Herausforderung zu finden!

ABAPFIND_SHORTREF - FIND SHORTREF

ABAPFIND_SHORTREF - FIND SHORTREF

Vendor Master (General Section)   Vendor Master (General Section)  
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.





Fill RESBD Structure from EBP Component Structure   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 5261 Date: 20230129 Time: 061237     sap01-206 ( 61 ms )