Symptom
When applying sap-language parameter in an OData Call with a desired idiom, records are returning in English or in system's default language instead of returning in the specified language.
Environment
Cloud for Customer
Cause
The sap-language parameter can be used only for languages available in the system logon options.
Resolution
The language needs to be maintained in your system via Business Configuration scoping, following the steps below:
- Go to the Business Configuration Work Center.
- Go to the Implementation Projects view.
- Select the relevant change project and click Edit Project Scope.
- Click Next and navigate to step 4 - Questions.
- Select All Elements.
- Expand Built-in Services and Support > Business Environment > Address and Languages.
- Under Languages section, there are the scoping questions "Do you need XYZ as a solution language?" (where XYZ is the language).
- Check the languages that you need and uncheck the languages that you do not need.
- Click Next and Finish.
See Also
Keywords
sap-language, OData parameter, OData, Languages, Idioms , KBA , LOD-CRM-INT-API , OData API (C4C Only) , How To
Product
SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions