SAP Knowledge Base Article - Preview

3035922 - How to enable the language fallback for OCC

Symptom

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.


Read more...

Product

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

Keywords

Language fallback, OCC, webservice, Spartacus , KBA , CEC-HCS-CCAZ-CZO , Customer Zone on Azure , How To

About this page

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

Search for additional results

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