Skip to Content

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

How to replace u2018 changed u2018spaceu2019

Dear All

I have a problem in replaced character u2018 with u2018 u2018.

for example: STR1 is 'ABC'EFGHI' ,

I want changed 'ABC EFGHI'

How can I do

Thanks

Sun

Tags:
Former Member
Former Member replied

Hi

check the following code

text-001 : ABC'DEF

text-002 : '

DATA:
  str(7) TYPE c,
  sub(1) TYPE c,
  new(1) TYPE c.

START-OF-SELECTION.
  str = text-001.
  sub = text-002.
  new = ' '.
  WRITE / str.

  REPLACE sub WITH new INTO str.
  WRITE / str.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question