Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
Showing results for 
Search instead for 
Did you mean: 


There are 2 different environments of SAP Cloud Platform(SAP CP) called Neo environment(Neo) and Cloud Foundry envirnment(CF).
SAP CP Neo works on a server provided by SAP.
On the other hand, SAP CP CF works on third party server such as Amazon Web Services (AWS) , Microsoft Azure,Google Cloud Platform(GCP).

Also, 2 cloud environemnt's functionalities are different from each other.
For instance, CF has IoT service and HANA as a Service. Neo has HANA1.0.
You can choose Neo env and CF env, or both envs according to your business case.

In this blog, I attempted to verify that Neo procedure call to remote procedure on CF, because I want to process data with PAL in HANA2.0 on CF. Specifically, I want to call FFT functionality in PAL.


This is what I'd been wanting to do.

I come up with good idea below to realize my concepts.
1.Create empty table on CF.

2.Connect to CF and Create virtual table on Neo.
If you update or insert the virtual table, then a table is updated on CF.

3.Insert data to the virtual table to run SQL script.

4.Create stored procedure which wrap FFT procedure.

5.Create a virtual table.

6.Call a virtual table.


【IT Architechture】

You need to use SDI(Smart Data Integration) to implement binding HANA on Neo and HANA on CF.
SDI compose 'Data Provisioning Server' and 'Data Provisioning Agent'.
DP server is activate to import Delivery Unit to Neo.
You need to set up DPAgent on your machine such as Linux or Windows machine.
I will show IT Architecture outline below.


If you construct system architecture above, I will show you instruction below.

【Topic/table of Content】

  1. Preparation

  2. Import a DeliveryUnit

  3. DPAgent settings

  4. User Creation

  5. Configuration of HANA connection setting on DPAgent

  6. Agent Registation

  7. HANA Adapter Registation

  8. Connection to HANA

  9. Remote Sources Creation

  10. Virtual Tables Creation

  11. Virtual Procedure Creation



You need to prepare 2 cloud environments to connect each HANA tables and also you need to laptop PC or server to install a DPAgent.
Cloud Environment :2 cloud environments as Cloud Foundry and Neo
Database                :2 Databases as HANA2.0(CF) and HANA1.0(Neo)
PC/Service           :1 PC (※ In my case, I used WindowsPC)



WindowsPC Edition  :Windows 10 Enterprise 2016 LTSB
CPU                          :Intel(R)Core(TM)i5-7300U CPU @ 2.60GHz 2.71GHz
Memory(RAM)           :8.00GB
HANA version(Neo)   : (fa/hana1sp12)
HANA version(CF)     :4.10.5


【1. Preparation】

First, you download a zip file and a sar file below on SAP software download page.
The file「HANAIMDP03P_11-70000027.ZIP」include a tgz file「HANA_IM_DP_03_11.tgz」.
If you type an search form keyword 'HANA DP Agent' and 'SDI', then you can easily find these files.

  1. Type an input form a keyword 'HANA DP Agent'

  2. Select a link「IMDB_DPAGENT200_03P_53-70002517.SAR
    (※ Select a suitable your PC)

  3. Type a SAP S User ID. After that, you can download a file「IMDB_DPAGENT200_03P_53-70002517.SAR」.


  1. Type a keyword 'SDI' for a search form.

  2. Select 'SAP HANA SDI, SAP HANA smart data integration, Maintenance Product'.

  3. Select 'SAP HANA SDI 1.0'.


  5. Select 'HANA DP 1.0'.

  6. Download 「HANAIMDP03P_11-70000027.ZIP

You decompress the ZIP file and you get a 「HANA_IM_DP_03_11.tgz」file.
In addition, you should download a sapcar.exe file, because you will use sapcar command later chapter.

I show you software download page below.

【2. Import a DeliveryUnit】

In this step, you import a downloaded file「HANA_IM_DP_03_11.tgz」into HANA system(Neo) with file import functionality of HANA Studio.

  1. Open a context menu on left side HANA Studio and select 'Import' option.

  2. Select a  'Delivery Unit' from 'Import'.
    Next, 'Import Through Delivery Unit' window opens. Select a HANA scheme which you created.

  3. There is file selection on the top of 'Import Through Delivery Unit' window.
    Check a  'Client'  radio button and select file reference.

  4. Select a file 「HANA_IM_DP_03_11.tgz」 which you downloaded in the previous chapter.

  5. While a moment, you can see objects/packages in a window「Object import simulation」.
    Finally, you push Finish button. A file import process starts.


【3. DPAgent settings】

Firstly, you boot a hdbsetup.exe in a compressed file and input all mandatory fields on the Data Provisioning Agent window.
You can start up a DPAgent, after you created DPAgent.

  1. Input a downloaded file「IMDB_DPAGENT200_03P_53-70002517.SAR」to your folder.

  2. Unzip the compressed file with sapcar command.
    sapcar -xvf IMDB_DPAGENT200_03P_53-70002517.SAR​

  3. Boot a hdbsetup.exe in the compressed file. While a moment, 「SAP HANA Data Provisioning Agent」window will open.

  4. There are 5 Steps in「SAP HANA Data Provisioning Agent」section below.
    Step1「Define dataprovagent Properties」
    Select a folder icon in the left side 「Install new SAP HANA Data Provisioning Agent」window and you specify your folder.

    Step2「Define Installation Properties」
    Input agent name for 「Agent Unique Name」form and also input WindowsPC account'domain name and user for「Domain\Username」 and 「Password for Agent service user」form which you use.
    Agent Unique Name :「dpagent_dev」
    Domain\Username for Agent service :「QUNIE\xxxx」
    Password for Agent service user :「****」

    Step3「Review & Confirm」
    Push an install button after you confirm details.

    Step4「Install Software」
    Wait a moment until install process is finished.
    Push a 'Finish' button after you successfully complete the installation process.

  5. Change a current directory which you create in Step1.
    cd C:\usr\sap\dataprovagent\bin
    agentcli --configAgent​

  6. You can see 「DPAgent Configuration Tool」on your console window.
    Select a 「2. Start or Stop Agent」menu in the Option 1~10,q,b.
    Next, Select a 「1. Start Agent」menu in Option 1~3,q,b on 「Start or Stop Agent」


【4. User Creation】

You should prepare 2 users below which will are required by a HANA Connection Settings in「Agent Admin HANA User」selction.

  1. Select 'Security' -> 'User', after you logon HANA schema in your HANA Studio.

  2. Create 2 users below by right click 'User'.

  3. Configure Roles,Priviledges for created「SDI_USER」 below.
    ・Granted Roles
    ・System Priviledges
    ・Application Priviledges

  4. Configure Roles, Privileges for created「SDI_DP_AGENT」below.
    ・Application Privileges

  5. Access HANA workbench and also change the initial password for 「SDI_USER」 and 「SDI_DP_AGENT」.


【5. Configuration of HANA connection setting on DPAgent】

Input Connection Settings for 「DPAgent Configuration Tool」 window to connect DPAgent to HANA DB on Neo environment.

  1. Select 「6.SAP HANA Connection」 option in「DPAgent Configuration Tool」
    After that, select 「1. Connect to SAP HANA on Cloud(HTTP/HTTPS)」option in「SAP HANA Connection」

  2. Configure connection settings as you follow steps below.
    Enter Use HTTPS[true]:Valid optionstrue|false
    Entry Host Name[]:
    ⇒[HANA post which you created]

    Enter Post Number[443]:

    Enter Agent Admin HANA User[SDI_USER]:

    Enter Agent Admin HANA User Password: (*****)
    ⇒[Password which you changed]
    Enter Agent Admin HANA User Password: (*****) (confirm)
    ⇒[Password which you changed]
    Enter Use HTTP Proxy Server[false]: Valid options: true|false

    Enter Agent XS HANA User Name[SDI_DP_AGENT]:

    Enter Agent XS HANA User Password: (*****)
    ⇒[Password which you changed]
    Enter Agent XS HANA User Password: (*****) (confirm)
    ⇒[Password which you changed]


【6. Agent Registation】

At first, you register a HANA adapter in「DPAgent Configuration Tool」.

  1. Select a 「7.Agent Registration」option in 「DPAgent Configuration Tool」.
    Next, select a 「1.Register Agent」option in 「Agent Registration」.

  2. Register an Agent following the next steps.
    Enter Agent Name[dpagent_dev]:
    After a moment, agent registration process is finished.


【7. HANA Adapter Registation】

You register HANA adapter to connect DPAgent to HANA DB on Neo environment in「DPAgent Configuration Tool」.

  1. Select a 「8.Adapter Registration」option in 「DPAgent Configuration Tool」
    Next, select a 「1.Display Adapters」option in 「Adapter Registration」.

  2. Confirm registered adapters. You can see 「No」 at HanaAdapter.

  3. Select a 「2.Register Adapters」option in「Adapter Registration」.

  4. Select a 「1. Display Adapters」and Confirm registered adapters again. You can see 「Yes」at HanaAdapter.


【8. Connection to HANA】

You start up「SAP HANA Data Provisioning Agent Configuration」tool and connect to HANA on Neo environment with the tool.

  1. Push a 「Connect to HANA」button on 「SAP HANA Data Provisioning Agent Configuration」window.

  2. Input connection settings for「Enter HANA server connection information」.
    HANA Hostname :[HANA host which you created]
    HANA port :443
    HANA Agent Admin User :SDI_USER
    HANA Agent Admin Password :[Password which you changed]

  3. Push a 「Connect」button in the bottom of the window.


【9. Remote Sources Creation】

You establish HANA Service connection settings as Cloud Foundry environment on Remote Source which is in Neo environment.
After that, you successfully refer to HANA DB on Cloud Foundry environment.

  1. At first, open a 「SAP HANA Service Dashboard」on Cloud Foundry environment and also check「Endpoints」.
    You can see 「Endpoints」 in the bottom of 「Details」section.
    Direct SQL Connectivity:[HANA host]:[HANA port]

  2. Select HANA schema with HANA Studio. Open「Provisioning」and select「Remote Sources」.
    Create a remote source by right click「New Remote Source」.

  3. Input 「Endpoints」which you checked, SSL and your account to 「Configrations」window.
    Host* :[HANA host which you created]
    Port Number* :[HANA port which you created]
    JDBC Connection Properties :encrypt=true;validateCertificate=true
    Enable SSL encryption :true
    Credentials Mode* :Technical user
    User(Case Sensitive) :[HANA user name]
    User(Case Sensitive) :[HANA password]
    User(Case Sensitive) :[HANA user name]

  4. Intput「Source Name」and Seve.


【10.Virtual Tables Creation】

You select Remote Souce that you established and create virtual table on HANA DB on Neo environment from Cloud Foundry environment.

  1. Select「Provisioning」->「Remote Sources」.Open Remote Source.
    you can see the table of HANA DB on Cloud Foundry.

  2. Open HANA schema and select table. Create virtual table by right click 「Add as Virtual Table」.

  3. Register virtual table name on 「Create Virtual Table」window. Select a HANA schema to make the virtual table and push a「Create」button.

  4. Confirm the virtual table.



【11. Virtual Procedure Creation】

You can call something procedures on Cloud Foundry from neo if you define the virtual procedure.

I will show you DDL below.
"__DP_UNIQUE_NAME__": "\"[Your Schema]\".\"VIBRATION_FFT\"",
}' AT "[Your Virtual Procedure]"

After define your virtual procedure, you can call it this SQL statement.
CALL "[Your Schema]"."[Your Virtual Procedure]"(NULL);



To sum up, you can see HANA tables on Cloud Foundry environment to use SDI.

You understand Virtual Table creation and Virtual Procedure creation.

It is a useful way for SAP developer/engineer who considers exchanging data between Neo and Cloud Foundry environments.


That's All

Labels in this area