Ansicht
Dokumentation
/SEHS/C147_UNDERSCORE_PROTECT - EHS: Replace all Occurrences of '_' with '#_' in a String
Addresses (Business Address Services) CPI1466 during BackupThis documentation is copyright by SAP AG.
Functionality
This function module replaces all instances of '_' in a string with string '#_'. (You need this functionality,
if you want to use a LIKE operator in a SELECT statement and want to hide character "_". (Otherwise it would be a wildcard). You can now write
SELECT * FROM
WHERE
...
ENDSELECT.
Field I_FIELD may not contain
character "@"! Otherwise an exception is triggered. E_FIELD must be large enough to accept the result. Otherwise an exception is triggered.
Example
-
Notes
-
Further information
-
Parameters
E_FIELDI_FIELD
Exceptions
E_FIELD_TOO_SHORTOTHER_ERROR
Function Group
S/SAPLC147rdisp/max_wprun_time - Maximum work process run time SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 974 Date: 20240523 Time: 053847 sap01-206 ( 24 ms )