Task
Setup an environment to try and test the SAP HANA smart data integration on one individual device.
Reason of the Article
There are many documentations available which can be used to achieve the task. The aim of this article to collect these sites together and complete the available information with important details. Also, this is a step-by-step guide which goes through the process.
Definitions
The definitions of the components (Data Provisioning Server, Data Provisioning Agent) and the architecture is available here:
Architecture
In my scenario I am using Windows 10 operating system on my laptop. I am running SAP HANA, express edition (preconfigured) Server + applications virtual machine on VMware Workstation.
Prerequisites
Enable Data Provisioning Server
Enable the Data Provisioning Server to use SAP HANA smart data integration.
ALTER DATABASE HXE ADD 'dpserver' AT LOCATION 'hxehost';
In case if needs to revert:
ALTER DATABASE HXE REMOVE 'dpserver' AT LOCATION 'hxehost:39046';
Download and Install Data Provisioning Agent
To download and install Data Provisioning Agent find the below documentation:
Data Provisioning Agent Service on Windows
The service can be run under Local System user.
Failed to start Dpagentconfigtool
In my case one of the installers were missing (Microsoft Visual C++ Redistributable x64) so I had to download and install it manually.
Configure Data Provisioning Agent
The configuration can be done only the command line Configuration Tool (Agent version 2.6.1.1).
Note: Data Provisioning Agent Graphical Mode had been deprecated!
------------------------------------------
DPAgent Configuration Tool
------------------------------------------
cd C:\usr\sap\dataprovagent\bin C:\usr\sap\dataprovagent\bin>agentcli -configAgent
Configure Secure Storage
The configuration can be done by command line tool.
Configure SAP HANA service smart data integration for SAP BTP with the SAP HANA service for SAP BTP
- - > Step 4: Configure an access token
---------------------------------
Secure Storage Utility
---------------------------------
cd C:\usr\sap\dataprovagent\bin C:\usr\sap\dataprovagent\bin>agentcli --setSecureProperty
Set the File Adapter Access Token "HANAToken"
Prepare a file
Configure SAP HANA service smart data integration for SAP BTP with the SAP HANA service for SAP BTP
- - > Step 5: Prepare a file for upload
This is the default directory in my case. ReadMe.txt and sample file were already in the directory.
C:\usr\sap\dataprovagent\workspace
Create a Remote Source
I have done this step in SAP HANA Studio not in SAP HANA database explorer.
Configure SAP HANA service smart data integration for SAP BTP with the SAP HANA service for SAP BTP
- - > Step 6: Create a Remote SourceI have created a separate REMOTE_DATA schema.The data is available in SAP HANA server.
Conclusion
To setup and configure the SAP HANA smart data integration on your device is an easy and quick task. In this tutorial I have registered the ExcelAdaper and the FileAdapter but as the list shows there are many other possibilities available.
See Also
Question
Q&A link for SAP HANA, express edition: https://answers.sap.com/tags/73555000100800000651
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
23 | |
13 | |
11 | |
10 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 |