SAP HANA: Data provisioning using BI 4.0 Data services
Nagarjuna SAP HANA Online Trainer
SAP HANA Online Trainer -+91- 7799911129, [email protected]
In this document, I would like to explain how to use Data services Workbench to load data into your user schema in HANA.
Before loading a table you will have to consider two cases.
- Do I need Table Meta data and Data?
- Do I need only data?
If you don’t have the required metadata in your user schema, you can use this wizard to import the required Meta data before loading the data into the table.
This wizard will help me to load the Meta data (Table Schema) + data into my user schema in HANA Studio.
The following are the steps for Data provisioning into HANA using Data services:
- Choose Source Database
- Choose tables to replicate
- Choose target database
- Choose runtime repository
- Execute the replication job
Firstly log on to Business Objects Data services workbench as shown below:
Now Select "Quick replication wizard" as shown below:
Before starting with wizard, you have to mention a project name in the screen shot as shown below:
Press Next to continue.
- Choose Source Database:
In my example, am taking Source as “HANA” and Target as “HANA”. I am trying to load a table from another user schema to my user schema. I would like to load table named “CE1IDEA” from ECC6 schema to my schema.
So am choosing Database as “HANA” and am giving my ODBC Data source “HANA” which I have for HANA database as shown below:
You can see all the databases list available for as source systems and as mentioned i choose "HANA" as source as shown below:
- Choose tables to replicate:
In this screen I have to select the table “CE1IDEA” which I want to replicate. I can use the “search” feature to search across HANA database for the required table.
- Choose target database:
Now we have to choose our target database as shown below:
We have only 3 options so far to choose as target database.
- HANA
- Sybase IQ
- Teradata
As discussed above,I choose “HANA” as the target database as per the below screen shot.
- Choose runtime repository:
Now we have to choose the repository and server on which our “replication” job runs.
Execute the job and monitor it:
- Now we have to monitor the job and as in our example we are trying to load table “CE1IDEA” from ECC6 Schema to my user schema. Now execute the job as shown below:
As marked here we are choosing “schema” and “data” as we discussed earlier. Here we can do those settings. Now we have to execute this "a.rep" job
Monitoring:
We can see the below screenshots:
Now as we see our job is successful and we have 6900963 rows loaded in just less than 10 minutes. Now we can go to hana studio and see table under our schema as shown below: