Connecting to 10 different remote sources using Da...
Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
In the spirit, of celebrating 10 years of HANA, I thought I would extend the 10 concept to DWC.
Having worked through quite a few Data Warehouse Cloud (DWC) connection requirements, I thought I would get this written down, and even better create a quick video of showing the connections being created.
Using the following to 10 connection types;
SAP ECC
SAP S/4HANA
SAP BW/4HANA
MSSQL Database
Oracle Database
HANA OnPrem SP5
HANA Cloud
ODATA
OpenSQL Access
HDI Containers
If you want to watch it all being built live (In 1 take) - please watch the video below. It shows each connection being made live. Otherwise if you want some screen shots, see the points under the video.
@SAP Employees, the un-blurred version is available internally.
The blog version:
Currently within DWC, the adapter approach has these options for local connections:
I have included a note at the bottom about installing the DPAgent to allow to connect to non Internet facing systems.
1. SAP ECC
ECC6 EHP 8 Source System
DWC Configuration for ECC
2. SAP S/4
Similarly for S/4 the connection requirements is the same as ECC:
S/4 HANA 1709 Source System
In the DWC connection below, there is a DP Agent installed on the S/4HANA server allowing the internal host name to be used to connect to DWC.
DWC Configuration for S/4 HANA
3. SAP BW/4 HANA
Similarly to ECC to S/4HANA the connection to BW/4HANA (or could be BW) uses the standard connection details
BW/4HANA Source System
Using the ABAP Connector, and a DP Agent installed on the separate internal BW/4 server.
DWC Configuration for BW/4 HANA
4. MSSQL Database
In this scenario I am using Azure MSSQL, but the database could easily be an onpremise SQL Server environment.
Azure MSSQL Source
The corresponding DWC Connection, using the reusable DPAgent:
5. Oracle Database
Using an AWS templated Oracle XE instance, I opened up the HR schema for testing the connection:
Oracle Source
And the associated DWC Connection.
Note: The DPAgent install needs the Oracle instant client libraries installed in the lib directory of the agent
6. HANA OnPrem SP5
My main, traditional data source, HANA On Premise setting:
HANA Source
The associated DWC connection:
DWC Configuration for HANA SP5
7. HANA Cloud
HANA Cloud Source
The associated DWC Connection:
DWC Configuration for HANA Cloud
8. odata - Success Factors
Using a datasource that we use often in joining Cloud HR related data to other SAP related data, Success Factors odata endpoints:
SuccessFactors as a source
The associated DWC connection:
9. OpenSQLAccess
An easy way to get external data to be made available within the Data Warehouse Cloud, is using the OpenSQL Access. Simply create the schema from with DWC:
And connect to the schema using any 3rd party ETL tool. We have populated this using a few tools including Data Services, DBeaver and SAP Data Intelligence. Happy to try others if required.
10. HDI Containers
The final one in my list, and probably the most configuration.
By default, this functionality is disabled and needs to be enabled and connected to a Cloud Foundry tenant where the HDI objects reside. This also needs to be the same CF as the DWC is available in.
The simple process is :
Enable the functionality and link the Space where the deployed HDI exists (must be the same CF environment) - currently via ticket request
You will need:Tenant ID of your SAP Data Warehouse Cloud We need this information to know where to map the HDI containers to.79ccxxxx-xxxx-xxxx-xxxx-xxxxx7b81
ID of your SAP Cloud Platform Organization The SAP Cloud Platform organization where your HDI containers reside in.
389xxxxx-xxxx-xxxx-xxxx-xxxxxxd5357
ID of your SAP Cloud Platform Space The SAP Cloud Platform space that belongs to the SAP Cloud Platform organization.
6d3xxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Once this above step has been completed. The HDI deployed object, needs the following roles, with the privs on the objects you want to allow the DWC to access