Skip to main content

Celonis Product Documentation

Connecting to SAP S/4HANA Public Cloud (extractor)

You can connect your SAP S/4HANA Public Cloud instance to the Celonis Platform. The default extractor provides default endpoints to extract the data for Accounts Payable, Purchase-to-Pay, and Order-to-Cash. For the extractor to work out-of-the-box you either need to follow our proposed nomenclature for CDS views or you can adjust the CDS view names based on your preferences on the data connection set-up page.

Prerequisites for connecting to SAP S/4HANA Public Cloud

To connect to your S/4HANA Public Cloud tenant, you need to set up custom CDS views in the source system that point to the correct data objects. These CDS views can be exposed and accessed via Rest APIs based on the OData standard. Our extractor uses these APIs to fetch the necessary data.

While we provide the steps for setting up custom CDS views, we recommend viewing the official documentation: SAP Help Portal - SAP S/4HANA Cloud

To create a communication user in your SAP S/4HANA Public Cloud instance:

  1. Navigate to the Maintain Communication Users app.

  2. Create a new user and provide a name, description and password.

To create a communication system and arrangement in your SAP S/4HANA Public Cloud instance:

  1. Navigate to the Communication Systems app.

  2. Create a new Communication system. You will need to provide an ID, a name for the Communication system, and the system host name.

  3. Select the Users for Inbound Communication tab.

  4. Add the communication user that you just created and select Authentication method User name and password.

  5. Go to the Communication Arrangements tab.

  6. Add the SAP_COM_0449 communication arrangement.

  7. Select the communication system that you created in Step 2.

Note

After step 2, you can create an SAP S/4HANA data connection in the Celonis Platform and then continue with steps 3, 4, and 5. This allows you to test your connection before continuing to configure it.

For more information, see: Creating a data connection between SAP S/4HANA Public Cloud and the Celonis Platform.

To create and publish CDS views for new data objects and tables to the created user:

  1. Download the CDS View Requirements from the Celonis Download Portal, see: Accessing your download portal.

  2. Navigate to the Custom CDS Views app.

  3. Create a new custom CDS View and provide a label/name.

  4. Select External API or Standard CDS View as a scenario dependent on the nature of the CDS view.

    Our Support team can provide you with a detailed spreadsheet with the required CDS views.

  5. Add a primary data source.

    Again, consult the detailed spreadsheet from Celonis Support. This provides the information you'll need for this step and steps 7 and 8.

    Note

    For some of the data sources to be visible you need to make the filter bar visible and remove the pre-defined filter “Recommended Data Source: Yes”.

  6. Optionally, add an associated data source.

  7. In the Elements tab, add the data elements.

  8. Optionally, select the Filter tab and add the described filter.

  9. Click Publish to publish the CDS view.

To create a communication scenario for the CDS views:

  1. Navigate to the Custom Communication Scenarios app.

  2. Provide an ID and a description.

    We recommend collating all created CDS views into one communication scenario.

  3. In the Inbound Services tab, add all relevant custom CDS views.

  4. Click Publish to publish the communication scenario.

To assign the communication scenario to the communication arrangement:

  1. Go to the Communication Arrangements app.

  2. Create a new communication arrangement and add the communication scenario that you created in Step 4.

  3. Select the communication system you created in Step 2. This will auto-populate the user created in Step 1.

  4. Click Save.

Creating a data connection between SAP S/4HANA Public Cloud and the Celonis Platform

After completing at least steps 1 and 2 of the prerequisites, you can create a data connection between your SAP S/4HANA instance and the Celonis Platform:

  1. Click Data Connections.

    data_connections_within_data_pool_diagram.png
  2. Click Add Data Connection and select Connect to Data Source.

  3. Select Cloud - SAP S/4HANA Public Cloud.

  4. Configure the following connection details:

    • Name: An internal reference for this data connection.

    • API URL: The URL used to connect to your SAP S/4HANA instance in the following format:

      https://<yourinstance>-api.s4hana.cloud.sap/
    • CDS Views: The default extractor provides default endpoints to extract the data for Accounts Payable, Purchase-to-Pay, and Order-to-Cash. For the Extractor to work out-of-the-box you either need to follow our proposed nomenclature for CDS views or you can adjust the CDS view names based on your preferences.

    • Username and password: The username and password for the user configured in the prerequisites.

  5. Click Test Connection and correct any issues highlighted.

  6. Click Save.

    The connection between your SAP S/4HANA Public Cloud instance and the Celonis Platform is establised. You can manage this connection at any time by clicking Options:

    managing_data_connections.png