Skip to Content
0
Former Member
Oct 03, 2008 at 08:30 AM

Removing in # symbol in text .

330 Views

Hi experts ,

This is the code in develpment server to remove # symbol in the purchase order text

SPLIT p_text AT c_# INTO l_text l_text1.

REPLACE ALL OCCURRENCES OF cl_abap_char_utilities=>horizontal_tab IN l_text WITH ' '.

REPLACE ALL OCCURRENCES OF cl_abap_char_utilities=>horizontal_tab IN l_text1 WITH ' '.

CONCATENATE l_text l_text1 INTO p_text SEPARATED BY ' '.

It is working fine in Development server , however , it is not working in PRODUCTION SERVER.

before writing the above code , i tried the code below .

REPLACE ' # ' WITH ' ' INTO p_text.

Even it is also not working in production server .

could you please tel me any alternative other than REPLACE AND SPLIT commands .

Pls.help in this regard .

Regards ,

kiran