REPLACE ALL OCCURRENCES OF....
In my internal table I want to replace the SPACES by a character '%20'.
I am using
REPLACE ALL OCCURENCES OF ' ' IN TABLE GT_TAB WITH '%20'.
But I am getting an exception CX_SY_REPLACE_INFINITE_LOOP.
Let me know if there is any way to replace all the SPACE in an internal table.
Loop at internal table into work area and then use REPLACE ALL for that work area.
Else try TRANSLATE keyword.