Skip to Content
1
Former Member
Jun 13, 2017 at 08:52 PM

Configuring sap-language in Target mapping of the SAP Fiori tile is giving error

347 Views Last edit Aug 30, 2017 at 03:09 PM 2 rev

Hi,

The SAP UI5 application is configured in Fiori to open in a new window and passing language parameter is not working as expected.

I had configured the sap-language in Tile -> target mapping ->default value as %%User.env.sap-language%%

When running the application opens a blank page and is throwing an error:

Uncaught Error: found in negative cache: 'sap/ui/core/Core.js' The given language does not adhere to BCP -47. Can anyone please help and let me know whether we can pass language in the configuration or no?

The URL the application opens is as below:

index.html?sap-language=%25%25User.env.sap-language%25%25&sap-ushell-defaultedParameterNames=%5B%22sap-language%22%5D