SAP Knowledge Base Article - Preview

3035922 - How to enable the language fallback for OCC


When requesting data from OCC interface with URL language parameter and there is no data of requested language, empty content will be responded, while not the expected data of its fallback language.
For instance, German has English as its fallback language, when requesting product data with URL parameter ‘&lang=de’, and product has {name[de]=null and name[en]=test}, then empty will be returned for product name. 
It can be demonstrated in any frontend using OCC, e.g., Spartacus.



SAP Commerce Cloud 1808 ; SAP Commerce Cloud 1811 ; SAP Commerce Cloud 1905 ; SAP Commerce Cloud 2005 ; SAP Commerce Cloud 2011 ; SAP Commerce Cloud 6.7


Language fallback, OCC, webservice, Spartacus, CTTD , KBA , CEC-COM-CPS , SAP Commerce , CEC-COM-CPS-WEB , Store frontend, Web CMS, Accelerators , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.