Skip to Content
Technical Articles
Author's profile photo Professor MH

HowTo “SAP Analytics Cloud <-> S/4HANA Integration” in 5 STEPS

Overview

Just 5 Steps for SAP Analytics Cloud <-> S/4HANA Integration

1. Enable /sap/bw/ina/service/v2 in your S/4HANA backend
2. Set Parameter : icf/cors_enabled=1
3. Whitelist the SAP Analytics Cloud tenant url  via /nUCONCOCKPIT 
4. Configure to allow pop-up for your SAP Analytics Cloud tenant url
5. Create connection to your S/4HANA Backend system in your SAC Tenant


 

Let’s delve into the intricate details underlying each elementary step, uncovering a deeper understanding of their complexities:

Procedure

  1. Enable /sap/bw/ina/service/v2 in your S/4HANA:

    • Login to SAP S/4HANA  –> SICF –> default_host –> sap –> bw –> ina.
    • Right click and activate the services if it is inactive
  2. Set Parameter : icf/cors_enabled=1

    • Txn RZ11 –> Parameter Name = “icf/cors_enabled” –> Display –> change value –> set New Value=1
      Note:
      The paramter value set with these steps will be lost after a system restart.
      As a post step please add the parameter entry "icf/cors_enabled=1" in Default/Instance profile of the system immediately. RZ10 --> Select Default/Instance Profile and add the above parameter.​

       

  3. Whitelist the SAP Analytics Cloud tenant url via /nUCONCOCKPIT

    • Scenario –> HTTP Allowlist Scenario –> ensure mode of “Cross-origin Resource sharing”=Active Check.
    • Double click on the line item “Cross-origin Resource sharing” –> edit mode  –> Under Allow add new entry with below values
    • Service Path: /sap/bw/ina
      Host rule: Add your SAP Analytics Cloud Set the parameter name to host. For example, mytenant.us1.sapbusinessobjects.cloud.
      Allowed Methods: Mark against GET, HEAD, POST, and OPTIONS
      Allowed Headers:

      x-csrf-token,content-type,x-sap-cid,mysapsso2,authorization,accept-language​

      Exposed Headers:

      X-CSRF-TOKEN,SAP-REWRITEURL,SAP-URL-SESSION-ID

      Allow Credentials: Mark against the checkbox

      Here’s how it looks after populating all the parameters

  4. Configure to allow pop-up for your SAP Analytics Cloud tenant url

    • Allow pop-up windows from the SAP Analytics Cloud domain: [*.]sapbusinessobjects.cloud.
      Allow 3rd party cookies from the SAP S/4HANA server’s domain.
  5. Create connection to your S/4HANA Backend system in your SAC Tenant

    • From the home/landing page, click on three line (top left of the screen) –> Connections –> Add Connection –> Fill in the details as per the selections in the screenshot

 

Taking one step further:

How to Consume the S4HANA Live Data connection created in SAC tenant:

 

Known Issues:

Your S/4HANA Backend system should be configured with valid working SSL. If it is not, The creation of the connection step might not succeed.

Remedy : Configure SSL for S/4HANA system from here

 

Conclusion

SAP Analytics Cloud can now access various data/views from the SAP S/4HANA system.

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Shailendar ANUGU
      Shailendar ANUGU

      Hi,

      It's not recommended to put * as hosts rule, it should be SAC URL, so that the services are not exposed any external tools.

       

      Thanks,

      Shailendar

      Author's profile photo Professor MH
      Professor MH
      Blog Post Author

      Hi Shailender Agree, I have rereferred this in "Host rule: Add your SAP Analytics Cloud Set the parameter name to host. For example, mytenant.us1.sapbusinessobjects.cloud."