Direct Live Connection with CORS

An overview of Direct Live Connections using CORS.

The following diagram shows how a typical connection works when accessing on-premise data from the customer domain:

Benefits

SAP recommends this configuration for these reasons:

  • You will have direct connectivity with no additional devices required. Your browser directly connects SAP Analytics Cloud, IdP, and backend data sources by securely unlocking the Same Origin Policy (see Understanding the Same-Origin Policy and CORS).

  • Because there are no additional devices, such a direct connection enables better performance.

  • This configuration is easy to set up.

  • It's available for HANA, BW, BOE Universe, and S/4HANA.

Network and Security Settings

  • In such a configuration, when your browser is in a public domain, the on-premise data source's server address has to be allowlisted, and inbound access has to be authorized.

  • Outbound access from your domain to SAP Analytics Cloud and SAP Cloud Identity have to be opened.

Prerequisites and Limitations

Mandatory browser settings:
  • Allow pop-up windows from your SAP Analytics Cloud domain. For example: [*.]sapanalytics.cloud, [*.]hanacloudservices.cloud.sap, [*.]hcs.cloud.sap, or [*.]analytics.sapcloud.cn.

  • Allow third-party cookies from the SAP HANA server's domain.

CORS does not work in a mixed HTTPS/HTTP scenario. The SSL server certificate of the HANA XS system must be a valid one that is trusted by your organization's web browsers, and it must match the HANA system's fully qualified domain name.

SAP HANA: CORS has to be enabled in the HANA database.

Setting Steps

Step

Description

Owner

Enabling INA

HANA, BW, S/4HANA, Universe fully support INA

Data Source Expert

Enabling CORS

HANA, BW, S/4HANA, Universe fully support CORS

Data Source Expert

Enabling SSL

Configure valid SSL certificate. Refer to SAP Note 2502174Information published on SAP site

Security Expert

Enabling Pop-Ups in Browser

See Google Chrome documentation

Security Expert

Allowing third-party browser cookies

See Google Chrome documentation

Security Expert