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:
We have only 3 options so far to choose as target database.
- Sybase IQ
As discussed above,I choose “HANA” as the target database as per the below screen shot.
- Choose runtime repository:
- 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
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:
Hope you understood about this new wizard. Which helps us in data provisioning? This is just a basic guide. In my next document I will explain about using the scripts and other functionality if we have any complex logic to be performed before loading.
Thanks for reading this document. Do comment your views.