Skip to Content
0
Former Member
Jun 09, 2009 at 01:27 PM

Reg: REPLACE statement

47 Views

Hi all,

I am using the below shown statement:

lv_data = ' "YellLive","Acc1st,"January",2009,"Account","Summary_",sch'.

REPLACE ALL OCCURRENCES OF '","' in lv_data with ','.

REPLACE ALL OCCURRENCES OF '",' in lv_data with ','.

REPLACE ALL OCCURRENCES OF ',"' in lv_data with ','.

Basically i want to remove the (") from the variable LV_DATA

Above statements are working fine in ECC 6.0, but not in 4.6C (as, 'ALL OCCURRENCES OF' is not allowed here).

I have to use the same logic in 4.6C

Can someone suggest some solution, but even i dont want to Iterate the Variable LV_DATA and SEARCH, as it will cause Performance problem (as this logic is to be used on the bulk of data in loop).

Thanks and regards,

Pankaj.