Connecting to SAP S/4HANA On-Premise

For data sources, you can configure a connection to an SAP S/4HANA On-Premise system.

SAP Business Technology Platform Cloud Connector must be configured to allow connection to an on-premise system. SAP Business Technology Platform Cloud Connector provides a proxy to an on-premise URL resource.

Configuring and Installing Cloud Connector

If your source system is an on-premise system, add a destination for the cloud connector.

Set up the cloud connector using principal propagation, as mentioned below:

  1. Install the Cloud Connector by following the procedure mentioned in Installation.

  2. Configure the Cloud Connector to make it operational for connections between your SAP BTP subaccount and on-premise systems. For detailed information about the initial logon and configuration, see Initial Configuration.

    Enter parameters as follows and click Save:

    Parameter

    Description

    Region

    Select the region where your subaccount is deployed.

    Subaccount

    Enter the ID of your subaccount.

    Display Name

    [optional] Enter the name to show for the subaccount in the Cloud Connector interface.

    Subaccount User

    Enter your subaccount administrator username.

    Password

    Enter your subaccount password.

    Location ID

    [optional] Specifies a short name to identify the Cloud Connector in the subaccount. This value will be used when adding the Cloud Connector instance as a destination in your subaccount. This is typically used when there are multiple Cloud Connectors connected to the same subaccount.

    Description

    [optional] Enter further information about the subaccount.

    HTTPS Proxy

    [if required in your environment] Enter parameters for your proxy.

    If your parameters are correct, the Cloud Connector will automatically connect to your subaccount.

  3. Configure access control or copy the complete access control settings from another subaccount on the same Cloud Connector by following the procedure mentioned in Configure Access Control.

  4. [optional] Configure principal propagation by following the procedure mentioned in Configure principal propagation.

  5. Create a system mapping from the Cloud Connector to the SAP S/4HANA system:

    1. In the Cloud Connector administration UI, click Cloud To On-Premise, click Add, and then complete the Add System Mapping wizard pages as follows:

      Parameter

      Description

      Back-end Type

      Select SAP Gateway and click Next.

      Protocol

      Select HTTPS and click Next.

      Internal Host / Port

      Specify the actual host and port under which the SAP S/4HANA system can be reached within the intranet. Click Next.

      Virtual Host / Port

      Specify a name for the agent instance and keep the same port as for the internal port. These values will be used adding the Cloud Connector instance as a destination in your subaccount.

      Principal Type

      If you have configured principal propagation for the data source, then select X.509 Certificate (General Usage) or X.509 Certificate (Strict Usage). If you have not configured principal propagation, but have chosen a different authentication method, for example, Basic Authentication, then select None here.

      Click Next.

      Host in Request Header

      Keep the default value Use Virtual Host and click Next.

      Description

      Optionally enter a description for the mapping, click Next, check Check Internal Host and then Finish.

      For detailed information, see Configure Access Control (HTTP) in the SAP BTP Connectivity documentation.

    2. Click the Check Availability action to see if your parameters are correct.

    3. Click the Add tool above the Resources Accessible table, enter parameters as follows, and then click Save:

      Parameter

      Description

      URL Path

      Enter /. You can specify a more specific path here (for example, /sap/opu) if you want to further restrict which paths are available to the data source.

      Enabled

      Leave selected.

      Access Policy

      Select Path and all sub-paths.

      Description

      Optionally enter a description for the resource.

Configuring Data Sources

You use details from the Cloud Connector that you set up in SAP BTP Cockpit to provide information in the data source configuration in Visualization. Make the following relevant settings in the Connection section of the data source configuration.

  • In URL, specify Host name as the proxy host name (this is also the Virtual Host used in the Cloud Connector configuration, for example, S4H). Host name is shown in SAP BTP Cockpit for the Cloud Connector under Exposed Back-End Systems. URL also specifies the service that the data source connects to in the S/4HANA system.

  • Set Proxy Type to On Premise. This makes the connection to the S/4HANA On-Premise system through the Cloud Connector.

  • [optional] If a Location ID was specified when connecting the Cloud Connector to the subaccount, set Location ID to be the same as the Master Instance name configured in the Cloud Connector in SAP BTP Cockpit.

  • In Authentication, select the authentication method. If you have configured principal propagation, select Principal Propagation. Otherwise, select Basic Authentication and enter the username and password of a technical user in the S/4HANA On-Premise system.

For more information about configuring a data source, see Creating a New Data Source.

Configuring SAP BTP Destinations

Create a PLM system integration destination as explained in Destination for Connecting to SAP S/4HANA Cloud Private Edition.