Ansicht
Dokumentation
ABAPFIND_SHORTREF - FIND SHORTREF
Fill RESBD Structure from EBP Component Structure ROGBILLS - Synchronize billing plansThis documentation is copyright by SAP AG.
FIND
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
- ${FIRST OCCURRENCE$}$|${ALL OCCURRENCES OF$}
Defines whether the system searches for the first occurrence only or for all occurrences.
- ${$[SUBSTRING$] substring$} $| ${PCRE$|REGEX regex$}
Defines whether the system searches for a substring or a regular expression (regex).
- 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.
- TABLE itab $[FROM lin1 $[OFFSET off1$]$] $[TO lin2 $[OFFSET off2$]$]
Searches in an itab with restriction of the search range to the section from the line specified in lin1 with the offset specified in off1 up to the line specified in lin2 with the offset specified in off2.
- IN ${CHARACTER$|BYTE$} MODE
Specifies character string or byte string processing.
- ${RESPECTING$|IGNORING$} CASE
Defines whether case is respected in substring, regex, and dobj.
- MATCH COUNT mcnt
Gets the number of occurrences in mcnt.
- MATCH LINE mlin
When searching in internal tables, gets the line number of the last occurrence in mlin.
- MATCH OFFSET moff
Gets the offset of the last occurrence in moff.
- MATCH LENGTH mlen
Gets the length of the last found substring in mlen.
- 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.
- MATCH LENGTH mlen
Gets the length of the last found substring in mlen.
- 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.
RFUMSV00 - Advance Return for Tax on Sales/Purchases ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 5261 Date: 20240418 Time: 053127 sap01-206 ( 56 ms )