Sie sind auf Seite 1von 18

Exercise :Data Acquisition using SAP Data Services

Log in to SAP Data Services Designer.


Start SAP Data Services Designer by using the following path:
Start Menu Programs SAP Business Objects Data Services 4.1 Patch Data Services
Designer.
GO TO DATA SERVICES WORK BENCH

Create new project here project used to group the related objects.

CREATE DATA STORE FOR ECC

At the bottom left hand side, you will see your local object library. From the tabs at the bottom
select the blue data ton icon
From the context menu select New to create a Data store
Enter the following details to create an ECC Data store and click OK

Click next->finish

Goto ecc data store go to tables add the tables

Import the metadata from the ECC extractor into SAP Data Services Repository
Right click on the new ECC Data store and from the context menu choose Import by Name.

Create data store for hana

From the context menu select New to create a Data store

Next->finish

Create Replication job

Create a Batch Job and load data into SAP HANA


Go to project->replication job

Validate

Execute

Data Acquisition using SAP Data Services


Log in to SAP Data Services Designer

Start SAP Data Services Designer by using the following path:


Start Menu Programs SAP Business Objects Data Services 4.1 Patch
3 Data Services Designer

Enter username and password Of designer


Choose you are repository.
Create a datastore for ecc

Click on advanced give credentials of ecc click on finish

Import the metadata from the ECC extractor into SAP Data Services Repository.

Right click on the new ECC Data store and from the context menu choose Import by Name.

Then select Extractors from the type and import the extractor called SFLIGHT. In the pop-up
add the Name of consumer and Name of Project as shown below

CREATE A HANADATASTORE:

Create a Batch Job and load data into SAP HANA


At the bottom right hand side, in the local object library click on the tab with the yellow folder
icon to create a new Project

Right click and from the context menu select New and create a Project with
the name, SREEHANA

In the Project Area located on the left side, right-click on your new project and click on New
Batch Job and create a job called HANA_JOB.

On the right hand side, you will now see a toolbar. Click on the Dataflow icon and click again in
the workspace to create a Dataflow called HANA_DF.

Double click on your new HANA_DF, and add an ABAP Dataflow by clicking on the ABAP
Dataflow icon from the right toolbar.

Double click on the new ABAP_Dataflow and drag-drop the SFLIGHT Extractor from the the ECC
Data store.

Add the Query transform from the right toolbar which has the Query icon (orange and yellow
triangle).
Add the Data Transport from the right toolbar which has the icon.
Connect all of them together.

Double-click on the query transform drag all fields from the SCHEMA IN to the SCHEMA OUT for
the mappings.

Navigate back to the ABAP Data Flow.

Double-click on the Data Transport and add the following name in the filename section,
HANA.dat

On the top of the Data Services Designer click on the back button which will take you back
outside of the ABAP dataflow and show the Data Flow. Click on the green arrow to the left icon.

Now add the Query Transform from the right toolbar and drag-drop the template tables folder
under the HANAXX Data store. Call the template table, SFLIGHT .

Now add the Query Transform from the right toolbar and drag-drop the template tables folder
under the HANA Data store. Call the template table, SFLIGHT.

Double-click on the query transform drag all fields from the SCHEMA IN to the SCHEMA OUT for
the mappings.

You have now setup the Batch Job to load ECC data into SAP HANA using an extractor

Now right click on the Job and Execute. It will prompt you to save and then accept all the
defaults on Execution Properties window.

To monitor the job, click on the icon on top.


Once the job is completed, go to the SAP HANA Studio, and refresh the table structure.
You should now see a new table called SFLIGHT under your HANAUSER Schema. Check the data
by right clicking on this table and selecting Data Preview.

Das könnte Ihnen auch gefallen