SAP Knowledge Base Article - Public

3724292 - Using 3rd party Web Application Proxy solution or Microsoft Entra private network end users are unable to connect or encounter connection issues when opening Stories and Models that rely on SAP BW4HANA connection in SAP Analytics Cloud

Symptom

Environment

  • SAP Analytics Cloud (Enterprise)
  • SAP BW Direct Connection
  • Web Application Proxy - WAP Server / Microsoft Entra private network or a similar Proxy solution

Reproducing the Issue

  1. Login to the Web Application Proxy.
  2. Login to SAC Tenant.
  3. Navigate to Data Analyzer and select a specific model or navigate to a specific Story or Model relying on the afflicted BW connection.
  4. Select system type BW and connection name B4D.
  5. An exception occurs in the Browser Console log with messages "Failed to load resource: the server responded with a status of 404 (Not found)" & "has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource."
  6. Attempt to access the backend BW system via SAC as an external user using the getServerInfo URL - https://<mybwinstance>/sap/bw/ina/getserverinfo?sap-client=<clientnumber>
  7. Metadata json file can be retrieved. 

Cause

  • The issue is related to Cross-Origin Resource Sharing (CORS) configuration. The backend system does not include the 'Access-Control-Allow-Origin' header in the response, resulting in blocked requests due to CORS policy.

Resolution

The solution of this issue is currently under investigation. Please follow this KBA for updates.

See Also

Keywords

cross-origin resource sharing, cors error, preflight missing allow origin header, sac live data connection, bw system, external user access, failed to load query, sac data analyzer, blocked by cors policy, access-control-allow-origin header , KBA , LOD-ANA-LDC-BW , SAC Live Data Connection BW , Problem

Product

SAP Analytics Cloud all versions