Skip to Content

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

syntax error

REPLACE all occurances of '-' WITH space INTO lv_temp.

Please advise

regards

Kumar

Tags:
Former Member
replied
[code]In that case declare one itab and concatenate those

check the modified one

REPORT abc.

DATA : BEGIN OF itab OCCURS 0,
            str(50),
       END OF itab.

DATA : cha(50) VALUE 'cha-sek-jskjfsjf',
       str(2000).

SPLIT cha AT '-' INTO TABLE itab.

loop at itab.

 concatenate str itab-str into str separated by space.

 endloop.

 write : str.

Message was edited by: Chandrasekhar Jagarlamudi

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