2007 Mar 27 7:43 AM
Hi,
I am trying to write a utility that "normalises" customer names.
One of the things it needs to be able to do is to strip out non-alphanumeric characters.
For example: "Bill's Biscuits" would become "Bills Biscuits"
I know I can do a simple <variable> CO '0123456789ABCDEF...(etc)" to make this work for simple English characters but this needs to work in other languages (e.g. French) that have accents above the letters.
So, what I want to do is to convert the accented characters into non-accented characters. Is there a standard SAP function module that can do this? Otherwise I'm going to have to get my schoolboy French books out to find all of the possible accented characters!
Thanks,
Tristan
2007 Mar 27 8:07 AM
hi Tristan,
use fm prepare_string
and finally abap command condense ... no-gaps.
A.
Hi,
I am trying to write a utility that "normalises" customer names.
One of the things it needs to be able to do is to strip out non-alphanumeric characters.
For example: "Bill's Biscuits" would become "Bills Biscuits"
I know I can do a simple <variable> CO '0123456789ABCDEF...(etc)" to make this work for simple English characters but this needs to work in other languages (e.g. French) that have accents above the letters.
So, what I want to do is to convert the accented characters into non-accented characters. Is there a standard SAP function module that can do this? Otherwise I'm going to have to get my schoolboy French books out to find all of the possible accented characters!
Thanks,
Tristan
2007 Mar 27 8:07 AM
hi Tristan,
use fm prepare_string
and finally abap command condense ... no-gaps.
A.
2007 Mar 28 2:32 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |