Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

oData Unit value getting changed

ankitkesarwani1611
Discoverer
0 Likes
910

Hi experts,

I had developed oData service and in one entity set there is a unit field in case of English browser language its working fine but when I changed the browser language to Portuguese the unit vale is getting changed by the standard method while converting i.e. from MON to MES. Find the attached image.

before-convertion.png

after-convertion.png

Can anyone tell me what is the issue?

Thanks

Ankit

2 REPLIES 2
Read only

RalfHandl
Product and Topic Expert
Product and Topic Expert
802

This is the expected behavior: the "code" for units of measure in ABAP systems is language-dependent, here the code for "month" is MON in English (for "month") and MES in Portuguese (for "mês").

It's a feature, not a bug 🙂

Read only

0 Likes
802

Thanks Ralf for your valuable feedback.

I have another entity set which contains the same unit property but that value is not getting changed in case of Portuguese language. Why so ? 😞