Ansicht
Dokumentation
ABAPREPLACE_SHORTREF - REPLACE SHORTREF
rdisp/max_wprun_time - Maximum work process run time TXBHW - Original Tax Base Amount in Local CurrencyThis documentation is copyright by SAP AG.
REPLACE
Syntax
REPLACE { { [{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]]} }
WITH new
[IN {CHARACTER|BYTE} MODE]
[{RESPECTING|IGNORING} CASE]
[REPLACEMENT COUNT rcnt]
{ {[REPLACEMENT OFFSET roff]
[REPLACEMENT LENGTH rlen]
[REPLACEMENT LINE rlen]}
| [RESULTS result_tab|result_wa] } }
| { SECTION [OFFSET off] [LENGTH len] OF dobj
WITH new
[IN {CHARACTER|BYTE} MODE] } }.
Effect
Replaces character strings or byte strings in a character-like or byte-like data object dobj
or in an internal table itab with the content of new. Determines the characters or bytes
to be replaced using a search for substrings or regular expressions or by specifying the offset and length directly.
Additions
- ${FIRST OCCURRENCE$}$| ${ALL OCCURRENCES OF$}
Defines whether the first occurrence found or all occurrences found are replaced with the content of the data object new.
- ${$[SUBSTRING$] substring$} $| ${PCRE$|REGEX regex$}
Defines whether a substring or a regular expression regex is searched for and replaced.
- SECTION $[OFFSET off$] $[LENGTH len$] OF
Specifies a section of dobj from the offset specified in off and the length specified in len. Either the section to be searched or the section to be replaced.
- TABLE itab $[FROM lin1 $[OFFSET off1$]$] $[TO lin2 $[OFFSET off2$]$]
In an internal table itab, performs replacements while restricting the search range to the section from the line specified in lin1 with the offset specified in off1 to the line specified in lin2 with the offset specified in off2.
- IN ${BYTE$|CHARACTER$} MODE
Specifies character string or byte string processing.
- ${RESPECTING$|IGNORING$} CASE
Specifies whether the search is case-sensitive.
- REPLACEMENT COUNT rcnt
Gets the number of replacements in rcnt.
- REPLACEMENT LINE rlin
Gets the table line of the last replacement in rlin.
- REPLACEMENT OFFSET roff
Gets the offset of the last replacement in roff.
- REPLACEMENT LENGTH rlen
Gets the length of the last replacement in rlen.
- RESULTS result_tab$|result_wa
Gets the attributes of all replaced positions or the last replaced position in an internal table result_tab or a structure result_wa of type MATCH_RESULT.
Gets the offset of the last replacement in roff.
- REPLACEMENT LENGTH rlen
Gets the length of the last replacement in rlen.
- RESULTS result_tab$|result_wa
Gets the attributes of all replaced positions or the last replaced position in an internal table result_tab or a structure result_wa of type MATCH_RESULT.
BAL_S_LOG - Application Log: Log header data rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 5807 Date: 20240419 Time: 232619 sap01-206 ( 50 ms )