Symptom
- When extracting Business Partner data via the OData service API_BUSINESS_PARTNER under communication scenario SAP_COM_0008 with a communication user (CC User), language-dependent text fields appear in English.
- The same fields created or viewed by business users appear in default language set in Fiori.
Environment
SAP S/4HANA Cloud Public Edition
Cause
Communication User (CC User) is a technical user used to run background jobs and it operates with default language set (English) but the CB user is a business user that uses the the default language set in the Fiori.
Resolution
The default language for the Communication users cannot be changed but when calling an API , the language can be passed with which the communication user logs on to the system. To do so, pass the language when calling the API by adding the parameter for the language to the URL.
Sample URL: /sap/opu/odata/sap/API_BUSINESS_PARTNER/A_BusinessPartner?sap-language=LANGUAGE ID
Example: URL: /sap/opu/odata/sap/API_BUSINESS_PARTNER/A_BusinessPartner?sap-language=JA (For Japanese language)
Keywords
communication user, default language, language setting, api_business_partner, sap_com_0008, odata, business partner, language-dependent text, company description, localization, maintain communication users, english vs japanese, technical user language, text fallback, web service language behavior , KBA , LO-MD-BP-WS , Web Service for Business Partner , Problem
SAP Knowledge Base Article - Public