Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Replace '|' with Space

HI

I should replace ' | ' with space .

I am using 'Replacing all occurances ' but its not replacing with space .

please give inputs on this

thanks

kamesh

Former Member
Former Member replied

REPLACE doesn't work well when replacing with a space. Use TRANSLATE instead:

DATA: f1(10) VALUE '1234|567|8'.
TRANSLATE f1 USING '| '.

Rob

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question