Ansicht
Dokumentation
/SEHS/C147_TOTAL_REPLACE - EHS: Replace all Occurrences of a String with a Different String
CL_GUI_FRONTEND_SERVICES - Frontend Services CPI1466 during BackupThis documentation is copyright by SAP AG.
Functionality
This function module replaces all instances of I_PATTERN in field I_FIELD with string I_REPL_STRING. The final result is contained in field E_FIELD. The complete string I_PATTERN is inserted into the field. The defined length of I_REPL_STRING is inserted into the field. The system triggers an exception, should the defined length of E_FIELD not be large enough to accept the new string. I_REPL_STRING may not contain string I_PATTERN. The system triggers an exception should this be the case.
Example
-
Notes
-
Further information
Help for ABAP command REPLACE
Parameters
E_FIELDI_FIELD
I_PATTERN
I_REPL_STRING
Exceptions
E_FIELD_TOO_SHORTREPL_STR_CONTAINS_PATTERN
Function Group
S/SAPLC147ROGBILLS - Synchronize billing plans SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 924 Date: 20240425 Time: 175600 sap01-206 ( 29 ms )