Skip to Content
0
Former Member
Aug 11, 2011 at 11:41 AM

Itab - replace all occurences of

31 Views

Hi all,

I want to replace all occurences of '--' with '?'.

REPLACE ALL OCCURRENCES OF '--'

IN TABLE gt_wf WITH '?'.

But then all next fields will be shifted by one place because '--' are two characters and '?' is just one character.

When I would replace '--' with '??' there would be no problem.

Adding a space has no success in the end of the ?.

I think a line in the itab will be seen as one big string.

Regards