SAP S/4HANA Cloud Connections

Use an SAP S/4HANA Cloud connection to access or import extraction-enabled ABAP Core Data Services views (ABAP CDS views) from SAP S/4HANA Cloud.

This topic contains the following sections:

For information about the required prerequisites in the connected systems and SAP Datasphere, see Prepare Connectivity to SAP S/4HANA Cloud.

Supported Features

Feature

Additional Information

Replication Flows

You can use the connection to add source objects to a replication flow (see Select Source and Target Connections for Replication Flows). (recommended for replication scenarios)

For information about minimum system versions and other prerequisites, see SAP S/4HANA and Other ABAP Sources for Replication Flows.

You can replicate the following data:
  • standard and custom CDS view entities that are exposed using the ABAP SQL service from SAP S/4HANA Cloud (see Using ABAP SQL Services for Accessing Data from SAP S/4HANA Cloud or SAP BTP ABAP Environment)

  • extraction-enabled ABAP CDS views that are C1-released, that is views with annotation @Analytics.dataextraction.enabled: true and that are available in the connected system (access via ABAP Pipeline Engine)

    For more information, see:

Remote Tables

You can use remote tables imported from the connection either to access data directly live in the connected source (federation) or to copy the data into SAP Datasphere (replication).

You can access the following data:
  • for federation: standard and custom CDS view entities that are exposed using the ABAP SQL service from SAP S/4HANA Cloud (recommended for federation scenarios)

    For more information, see Using ABAP SQL Services for Accessing Data from SAP S/4HANA Cloud or SAP BTP ABAP Environment.

  • for federation and replication: ABAP CDS Views exposed as OData services for data extraction. Data is accessed via Cloud Data Integration. (legacy)

    For remote tables, real-time replication is supported. For information about any constraints, see Replicate Data Changes in Real-Time.

Model Import

You can use the connection to import semantically-rich entities from SAP S/4HANA Cloud and all their sources and dependencies. For more information, see Importing Entities with Semantics from SAP S/4HANA.

Data Flows

You can use the connection to add source objects to a data flow (see Creating a Data Flow).

You can access the following data:
  • extraction-enabled ABAP CDS views that are C1-released, that is views with annotation @Analytics.dataextraction.enabled: true and that are available in the connected system (access via ABAP Pipeline Engine)

    For more information, see:

Configuring Connection Properties

Connection Details

Property

Description

Application Server

Enter the name of the API-URL from the communication arrangements that you set up in SAP S/4HANA Cloud (without https://), for example myXXXXX-api.s4hana.ondemand.com or myXXXXX-api.s4hana.cloud.sap.

For more information about the required communication arrangements, see Prepare Connectivity to SAP S/4HANA Cloud.

Client

Enter the system client number.

System ID

Enter the system ID of the system to which you want to connect.

Language

Enter a two-digit ISO language code, EN for English or DE for German, for example. Object and field descriptions in the data flow editor of the Data Builder are then shown in the specified language. If you don't enter any language code, the application uses the default logon language of the SAP S/4HANA system.

Port

Enter the port number of the WebSocket RFC connection endpoint. The default port number is 443.

Authentication

Property

Description

Authentication Type

Select the authentication type to use to connect to SAP S/4HANA Cloud.

You can select:
  • X.509 Client Certificate

  • User Name And Password for basic authentication

The default is X.509 Client Certificate.

Credentials (X.509 Client Certificate)

If Authentication Type = X.509 Client Certificate:

Property

Description

Certificate

To upload the certificate or certificate chain that is used to authenticate to the remote system, click (Browse) and select the file.

Private Key

To upload the private key, click (Browse) and select the file.

Private Key Password

[optional] If the private key is encrypted, enter the password required for decryption.

Credentials (User Name and Password)

If Authentication Type = User Name And Password:

Property

Description

User Name

Enter the user name that is used to connect to the SAP S/4HANA system.

Password

Enter the user password.

Remote Tables

Property

Description

Data Provisioning Option

Select the middleware to use when connecting to and accessing SAP S/4HANA Cloud:

  • None (default): if you don't want to use remote tables.

  • Data Provisioning Agent: if you want to use federation and replication via SAP HANA smart data integration CloudDataIntegrationAdapter (legacy), or if you want to use model import.

  • Direct: if you want to federate data from the source objects of the connection and access them remotely in the source system using the ABAP SQL service (recommended for federation scenarios).

[if Data Provisioning Option = Data Provisioning Agent or Direct] Data Access

[read-only] Displays how data from source objects can be accessed:

  • Remote and Replication: if you selected data provisioning option Data Provisioning Agent (using the SAP HANA smart data integration CloudDataIntegrationAdapter).

  • Remote Only: if you selected data provisioning option Direct (using the ABAP SQL service).

[if Data Provisioning Option = Data Provisioning Agent] Data Provisioning Agent

Select an agent from the list of agents configured for SAP Datasphere.

[if Data Provisioning Option = Direct] Type Map

Specify how ABAP data types are mapped to SAP HANA data types:

  • native: no conversion of ABAP data types

  • semantic: conversion of the ABAP data types to an ABAP-independent data format

  • semanticDatsTimsAsWchar: like semantic, except that the ABAP types DATS and TIMS are mapped to the ODBC type SQL_WCHAR to allow for lossless conversion of date literals and time literals

Replication Flows

Property

Description

Fast Serialization

Turn on RFC fast serialization to help improve replication flow performance by avoiding unnecessary, costly conversions in ABAP. This can be useful particularly in cases of large data volumes. The default is On.

Features

Feature

Description

Replication Flows

Replication Flows are enabled without the need to set any additional connection properties.

Remote Tables

To enable Remote Tables, complete the connection properties in the Remote Tables section.

Model Import

To enable Model Import, in the Remote Tables section select data provisioning option Data Provisioning Agent and then select an agent.

Data Flows

Data Flows are enabled without the need to set any additional connection properties.