Symptom
You can succesfully connect to BW via BW Live Connection in SAC, but when creating a model you get the following error:
--------
Application Error: Error [Application]: (#10) No json inside
--------
When opening Chrome's developer tools you can see the following:
------------
Uncaught (in promise)
e.exports.sap.fpa.ui.infra.service.ExceptionFirefly {status: 10, code: "FIREFLY_ERROR", message: "Application Error: Error [Application]: (#10) No json inside", severity: 1, stach: "Errora at e.exports.sap.fpa.ui.infra.service.Ex~ce_of_main-chunk.f6c0P33e73485ee9c962.js:20:5210)"
------------
Environment
- SAP Analytics Cloud
- SAP NetWeaver
- SAP BW/4HANA
- SAP S/4HANA
Reproducing the Issue
- Try to create a model using BW Live connection in SAC;
- You will see the following error:
Cause
From the backend configuration for Live Data Connection, the cross-site cookies was not properly allowed.
Resolution
First, you must configure your SAP on-premise data source to issue cookies with the following attributes:
- SameSite=None
- Secure
This will ensure Chrome and other browsers allow cross-site access to your SAP on-premise data source cookies from SAP Analytics Cloud. Without these settings, user authentication to your live data connections will fail, and Story visualizations based on these connections will not render.
How to configure that can be found on: SameSite Cookie Configuration for Live Data Connections | SAP Help Portal
Second, on your browser cookies settings, check if it was confirmed that the back-end server (BW, SAP S/4HANA etc.) is allowed to access third party cookies.
In Chrome: Go to chrome://settings/content/cookies, and either 'Block third-party cookies' should be turned off, or you have to add the hostname of the back-end system to the 'Allow' section.
See Also
Keywords
Configuration, BW, Live, direct, cookies, browser, Chrome, IE, Internet, Explorer, Firefox, SameSite, no json inside , KBA , LOD-ANA-LDC-BW , SAC Live Data Connection BW , Problem