Skip to Content

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

how to delete accent symbol in Spanish language ?

Hi  experts,

When we extract the addresses, the string contains the accent symbol " ' " . We need to delete it via our coding,

Could you please provide any guidance and sample code for that?

The symbol looks like this, it should be converted to "o" .

many thanks!

Kelvin

Former Member
Former Member replied

Have a look at this snippet.

  1. DATA str TYPE string VALUE 'Grün kräft kör çå és große'.
  2. TRANSLATE str USING 'ÀAÁAÂAÃAÄAÅAàaáaâaãaäaåaĀAāaĂAăaĄAąaÇCçcĆCćcĈCĉcĊCċcČCčcÐDðdĎDďdĐDđdÈEÉEÊEËEèeéeêeëeĒEēeĔEĕeĖEėeĘEęeĚEěeĜGĝgĞGğgĠGġgĢGģgĤHĥhĦHħhÌIÍIÎIÏIìiíiîiïiĨIĩiĪIīiĬIĭiĮIįiİIıiĴJĵjĶKķkĸkĹLĺlĻLļlĽLľlĿLŀlŁLłlÑNñnŃNńnŅNņnŇNňnʼnnŊNŋn'.
  3. TRANSLATE str USING 'ÒOÓOÔOÕOÖOØOòoóoôoõoöoøoŌOōoŎOŏoŐOőoŔRŕrŖRŗrŘRřrŚSśsŜSŝsŞSşsŠSšsſsŢTţtŤTťtŦTŧtÙUÚUÛUÜUùuúuûuüuŨUũuŪUūuŬUŭuŮUůuŰUűuŲUųuŴWŵwÝYýyÿyŶYŷyŸYŹZźzŻZżzŽZžz'.
  4. TRANSLATE str USING 'ßs'.
  5. WRITE / str.

/.

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question