Details

You will

In this tutorial you will learn how to establish connectivity between SAP Cloud Platform and your SAP NetWeaver on-premises system. You will set up SAP Cloud Connector in your on-prem environment and allow SAP Cloud Platform to reach certain resources on your SAP NetWeaver server. Finally, you will set up a destination in SAP Cloud Platform to allow access to the EPM Manage Products OData service.

Step 1: Install SAP Cloud Connector for Linux

In this step you will download and install SAP Cloud Connector on openSUSE inside your VirtualBox VM.

Enter command sudo rpm -i com.sap.scc-ui-XXX.x86_64.rpm (replace XXX with the given version number e.g. 2.9.0-7).

Note: You can autocomplete the package name with the Tab key while entering the command sudo rpm -i com..

Press the Return key to start the installation process:

Enter command sudo service scc_daemon status.

Result: SAP Cloud Connector is successfully installed and the connector daemon is running on the Linux guest OS.

Step 2: Connect cloud connector to trial account

Once SAP Cloud Connector has been installed and the connector daemon has been started, you can log on and perform the initial configuration. You will also establish a connection between the cloud connector and your SAP Cloud Platform (SAP CP) trial account.

Result of Step 5: You successfully set up the initial configuration of the SAP Cloud Connector that is running on your Linux VM (i.e. in your own corporate network). It is connected with Your SAP CP trial account hosted on the SAP Cloud Platform trial landscape hanatrial.ondemand.com.

Result of Step 6: You have configured your SAP Cloud Connector to allow access from your SAP Cloud Platform account to all HTTPS resources underneath the path https://localhost:44300/sap/*.

Step 5: Take snapshot of Linux VM in VirtualBox

In the Linux VM window select menu item Machine | Take snapshot.

Enter snapshot name NetWeaver & Cloud Connector and click OK.

Step 6: Create HTTP destination in trial account

Based on the exposed SAP S/4HANA back-end system that is connected with your SAP CP trial account you now create a new HTTP destination. It points to the virtual back-end host http://s4h:443 and will be used in SAP Web IDE for building a new application.

In Google Chrome, open your SAP Cloud Platform Cockpit.

Navigate to your trial account overview by clicking on Neo Trial.

In the Connectivity | Cloud Connectors view a new host entry is added.

Result: Now the cloud knows about the SAP back-end system and can access it via connectivity destinations to be defined next.

(Virtual) Host

Protocol

Back-End Type

Resources

s4h:443

HTTP

ABAP System

Available

In the SAP CP Cockpit tab of your browser open Connectivity | Destinations.

Click on New Destinations and fill in the following settings:

Destination Configuration

Property

Value

Name

s4h-onpremise-http

Type

HTTP

Descriptor

S/4HANA HTTP API

URL

http://s4h:443

Proxy Type

OnPremise

Authentication

BasicAuthentication

User

DEVELOPER

Password

this password was assigned by you after logging on for the first time with the user DEVELOPER. The tutorial recommended to use the password Appl1ance.

In the section Additional Properties, click on New Property and create the following two properties:

With the HTTP destination in place you can use SAP Web IDE to browse the OData services that are exposed by the SAP S/4HANA on-premises back-end.

In Google Chrome browser open your SAP Web IDE in a new tab:

Open your SAP Cloud Platform Cockpit

Navigate to your trial account overview by clicking on Neo Trial

Open Services

Search for and open service SAP Web IDE

Click on Go to Service

On the Welcome page in section Create a Project click on New Project from Template.

Click on tile List Report Application and click Next.

Enter “Project Name” Test, “Title” Test and click Next.

In the “Data Connection” step keep the default source Service Catalog selected and choose the system entry S/4HANA HTTP API from the dropdown list to load all exposed services into the table.

In the filter field enter PROD to view all matching OData services including EPM_REF_APPS_PROD_MAN_SRV.

Click Show Details to get closer information on the selected EPM_REF_APPS_PROD_MAN_SRV OData service.

Click the Cancel button in the upper right corner of the template creation dialog. We come back to SAP Web IDE later when we create the UX extension part.

Result of Step 9: The SAP Cloud Connector is installed on your Linux VM with a secure connection between your SAP CP trial account and the SAP back-end system. The OData service EPM_REF_APPS_PROD_MAN_SRV can be selected in SAP Web IDE to build an application consuming it. This proves that everything is working as it should.