How to convert Unicode characters to Non-unicode

Question: We have an interface that sends WBS Master from SAP to a 3 rd party system. But,sometimes WBS description is populated in SAP with unicode characters (eg:OUT – Cost). Is there anyway to clean these type of characters before sending to the external system.. The external system does not accept unicode characters.

These type of characters are created in SAP when the user tries to copy the description information from Excel file and paste into WBS Master.

Thankyou!!
ramya

Answer:
Unicode characters? Never heard of that. Maybe the description contains characters which can't be represented in the target system?

If so and there are only a few characters, perhaps you could do a bit of string processing, and substitute the wrong character with something the target would accept? e.g. :

case src_string(pos).
when 'â'.
src_string(pos) = 'a'.
when '€'.
src_string(pos) = 'e'.

etc.
Copyright ?2007 - 2008 www.jt77.com