Connecting to SAP S/4HANA Cloud

Objective

After completing this lesson, you will be able to connect SAP Sustainability Control Tower to SAP S/4HANA Cloud.

Integrating SAP S/4HANA Cloud

Follow these steps to connect to SAP S/4HANA Cloud.

The image shows the two steps to connect the SAP S/4HANA cloud.

Step 1: Configuring SAP S/4HANA Cloud

Let's look at the configuration required to expose the CDS view I_GLAccountLineItemRawData in SAP S/4HANA Cloud as an external API for consumption.

In SAP Sustainability Control Tower, the CDS view I_GLAccountLineItemRawData is used to replicate financial data from SAP S/4HANA Cloud, including the most important business entities, such as G/L accounts, company codes, cost centers, or profit centers.

Prerequisites

You have created at least one authorization group ID with a CDS view allowlist in the Manage Your Solution application, in the section Configure Your Solution with the self-service configuration Define Allowlists for CDS view extraction (Application Area: Application Platform and Infrastructure. Sub Application Area: Data Extraction).

If you are using SAP Central Business Configuration, you can define a CDS view allowlist in the configuration activity Define Allowlists for CDS View Extraction (Configuration ActivitiesGeneral SettingsFurther SettingsDefine Allowlists for CDS View Extraction).

Communication Arrangements

Let's look at the setup of communication arrangements required for this scope item. The table outlines the communication setups that must be enabled in SAP S/4HANA Cloud for communication with web services.

ID of Communication ArrangementName of Communication Arrangement
SAP_COM_0531SAP Data Hub - ABAP CDS OData Integration

Follow the links provided in the table to know the procedures for setting up communication arrangements.

Steps to Create the Communication ArrangementLinks
Create a Technical Communication UserCreating a Technical Communication User | SAP Help Portal
Create the Communication SystemCreate the Communication System | SAP Help Portal
Create the Communication ArrangementCreate the Communication Arrangement | SAP Help Portal

Step 2: Setting up the Destination (Cloud)

Follow the given steps to set up the destination.

  1. Go to the SAP BTP cockpit and navigate to Subaccount + Connectivity + Destinations.
  2. Select New Destination and fill in the details below.

    Destination Configuration

    Field NameValue
    NameSAP_SCT_S4H
    TypeHTTP
    DescriptionA description of your choice, for example Connection to <your system>.
    URLEnter the actual host by which SAP S/4HANA Cloud system can be reached over the internet, for example, https://myxxxxxx-api.s4hana.ondemand.com.
    Proxy TypeInternet
    AuthenticationBasicAuthentication
    User<The technical communication user that is used in SAP S/4HANA Cloud>. For more information, see Configuring SAP S/4HANA Cloud.
    Password<The password of the technical communication user>. For more information, see Configuring SAP S/4HANA Cloud.
  3. Select Save.