Skip to Content

Connect Your SAP BTP Trial Account to SAP S/4HANA for Content Consumption

Set up SAP Cloud Connector to give your SAP BTP trial subaccount access to the SAP S/4HANA system that you configured for content exposure in the previous tutorial and create runtime and design-time destinations for the SAP S/4HANA system on SAP BTP.
You will learn
  • How to setup connectivity on SAP Cloud Connector
  • How to create runtime and design time destinations for content federation
SibylleBSibylle BrehmJune 1, 2022
Created by
February 17, 2021


  • You have an SAP BTP trial account.
  • You have access to both an SAP Cloud Connector and an SAP S/4HANA demo/test system that you want to connect to your SAP BTP trial account. These systems might be provided to you by the instructor in a workshop or you might have set them up from the SAP Cloud Appliance Library yourself. Please make sure that you have the server names, ports and a user and password available.
  • Step 1
    1. Open the URL of your SAP Cloud Connector in Chrome.

      In your SAP S/4HANA trial CAL system, you can access it by connecting via Remote Desktop Connection. You can find the link to the SAP Cloud Connector and the initial password in the Welcome page that can be accessed via the Welcome Chrome icon on the desktop.

    2. Enter your user name and password and click Login.

      SAP Cloud Connector Login
    3. If required, enter a new password.

  • Step 2

    If this is the first time SAP Cloud Connector is started, you will see the Define Subaccount page. Otherwise, the Connector Overview page opens.

    1. On the Connector Overview Page, click Add Subaccount to add your SAP BTP trial account.

      Connector Overview

      On the Define subaccount page, you can directly start entering the details of your SAP BTP trial.

      Define subaccount
    2. To find the right information to enter into SAP Cloud Connector, access your SAP BTP trial in a second browser tab at

    3. Click Go To Your Trial Account, then click the trial tile.

      Trial subaccount
    4. You can find the required information to enter in the SAP Cloud Connector form on this Overview page. You can identify the region, the provider and the subaccount ID in the General section.

      Copy the region, e.g. US East (VA).

      BTP Cockpit Overview
    5. Go back to the SAP Cloud Connector tab. In the form, click the Select icon in the Region field.

      Select icon
    6. Paste the region of your trial account and select the right entry in the list. Make sure you select the right provider.

      Select region
    7. Go back to the BTP Cockpit Overview page and copy the subaccount ID into the Subaccount field.

    8. Enter an easily identifiable display name, e.g. your SAP BTP trial’s subdomain into Display Name.
    9. Enter the email address and password that you use to login to your SAP BTP trial into Login E-Mail and Password.
    10. If you have attached another SAP Cloud Connector to your SAP BTP trial account already, enter any unique Location ID here to distinguish this SAP Cloud Connector from the existing one. Otherwise, you can leave this field empty.
      Add Subaccount dialogue
    11. Click Save.

    You have connected your trial subaccount and can now see it in the subaccount dashboard. The status is still yellow, as backend access has not been configured yet.

    Subaccount dashboard
  • Step 3

    In this step, you specify the on-premise backend system that your trial should be able to access.

    1. You can see that the newly connected subaccount is already selected. Click Cloud To On-Premise in the menu on the left side of the screen.

    2. Click the plus icon on the Access Control tab to add your on-premise system.

      Add System
    3. Keep the default ABAP System and click Next.

      Select backend type
    4. Select HTTPS as protocol for communication with your on-premise system and click Next.

      Select protocol
    5. Enter the internal host name of your SAP S/4HANA system and the internal port. If you are using a system from the SAP Cloud Appliance Library (CAL), you can find the IP address in the details of your instance. The port is 44300 in this case. Then click Next.

      Enter internal host
      IP End Point
    6. Enter s4hana as Virtual Host and 44300 as Virtual Port and click Next.

      You can choose any virtual host name and port here, but you need to reuse the ones defined here when creating a destination later.

      Enter virtual host
    7. In the next screen, just click Next.

      Keep default

      In a productive environment, we recommend that you use Principal Propagation or some other more advanced authentication concepts. In this tutorial, we just use the quickest and simplest approach for the sake of time.

    8. Click Next.

      Keep default
    9. If you want, enter a description. Then click Next.

    10. In the summary, check the Check Internal Host checkbox and click Finish.

    Summary screen

    You now see a new entry in the mappings table. The icon in the Check Result column should be green, but the status is still grey, as no accessible resources have been defined yet.

    System Mapping Overview
  • Step 4
    1. In the lower table Resources of s4hana:44300 click the plus icon.

      Add icon
    2. Enter / in URL Path.

      Enter URL

      Usually you would define this in a more fine granular way, but since this is just a demo system, we will keep it simple.

    3. Select Path And All Sub-Paths in Access Policy.

    4. Click Save.

    You now see a new entry in the lower table and the status of the entries in both tables should be green. SAP Cloud Connector configuration is now finished. You can leave the SAP Cloud Connector now.

    summary screen
  • Step 5

    The design-time destination is used to fetch the federated content from the content provider system during design-time.

    1. Go back to the browser tab with your SAP BTP trial subaccount Overview page.

    2. In the menu, navigate to Connectivity > Destinations.

      Go to Destinations
    3. Click New Destination.

      Destination screen
    4. Fill in the form:

      Field Name Value
      Name s4hanadt
      Type HTTP
      Description SAP S/4HANA system
      URL http://s4hana:44300/sap/bc/ui2/cdm3/entities
      Proxy Type OnPremise
      Authentication BasicAuthentication
      User <User ID on your SAP S/4HANA system>
      Password <Password of the user>

      If you entered a Location ID in SAP Cloud Connector, enter the same value here in Location ID as well.

    5. Click New Property to add an additional property to your destination.

      Design-time Destination
    6. Enter sap-client and the client of your SAP S/4HANA system, e.g. 100 for SAP S/4HANA trial (CAL) systems, as property name and value.

    7. Click Save.

    Additional property
  • Step 6

    The runtime destination is used to launch federated applications at runtime.

    1. Below the destination that you just created, click Clone.

      Clone Destination
    2. Change the Name of the new destination to s4hanart.

    3. Change the URL to http://s4hana:44300 .

    4. Enter the password again.

    5. Click New Property to add the following properties to your destination. You can type in the property name, if it is not available in the dropdown list.

      Property Name Value
      HTML5.DynamicDestination true
      sap-platform ABAP (type the property name)
      sap-service A string that consists of the first two characters 32 and the instance number of the ABAP application server, 3200 for your CAL system (type the property name)
      sap-sysid <System ID of your SAP S/4HANA system> - S4H for your CAL system (type the property name)
    6. Click Save.

    Runtime Destination

    Which destination(s) do you need to define to enable content federation from an SAP S/4HANA system?

Back to top