Ansicht
Dokumentation

C147_TOTAL_REPLACE - NOTRANSL: EHS: alle Vorkommen eines Strings durch anderen String ersetz

C147_TOTAL_REPLACE - NOTRANSL: EHS: alle Vorkommen eines Strings durch anderen String ersetz

TXBHW - Original Tax Base Amount in Local Currency   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

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_FIELD
I_FIELD
I_PATTERN
I_REPL_STRING

Exceptions

E_FIELD_TOO_SHORT
REPL_STR_CONTAINS_PATTERN

Function Group

C147

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 918 Date: 20240523 Time: 125540     sap01-206 ( 30 ms )