Skip to Content

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

Replace Comma with Space Not Working

Any idea why the following code prints "SAPInc" on my system? I was expecting "SAP Inc".

Thanks for any help.

REPORT zz_temp.

DATA: l_v_char2(30)  TYPE c VALUE 'SAP,Inc'.

REPLACE FIRST OCCURRENCE OF ',' in l_v_char2 with space.

WRITE: / l_v_char2.

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