文章目录
The ‘replace’ field is used by string covering the other string in the abap. I will
demostrate it by next example.
report zjgltest01.
data: t(10) value 'GGYYCCFFDD',
string like t,
str1(4) value 'GGYY',
str2(4) value 'GOOD'.
string = t.
write string.
replace str1 with str2 into string.
write / string.