Skip to Content
0
Former Member
Dec 02, 2015 at 12:12 PM

Umlaute (ö, ä, ü, ß) as filter in oData service

682 Views

Hi guys,

how can I handle for example german special chars in a oData call? When I do the oData call, I get no data back from it because in the backend there is no entry found in the database.

For example in a filter statement:

When I console.log the string it is: /sap/opu/odata/sap/J_8I_MCAPP_SRV/bedatawuSet/$count?$filter=Datkr eq 'CKM' and BeCode eq 'CMWANNEFÜLLEN'

At the get request which is send to the backend it is:

/sap/opu/odata/sap/J_8I_MCAPP_SRV/bedatawuSet/$count?$filter=Datkr%20eq%20%27CKM%27%20and%20BeCode%20eq%20%27CMWANNEF%C3%9CLLEN%27

At the backend I get for the corresponding filter attribute:
CMWANNEFA#LLEN

So how can I handle this?

Thank you in advance,

Bastian