Using REPLACE in ABAP
You want to replace some characters with a space using REPLACE instruction
If you use the syntax ' ' or space, it will not work because it's treated as an empty character string. In fact, ' ' is equivalent to ''.
You need to use the syntax with backquote : ` `.