Saturday, January 3, 2009

Demo on Data Extraction from SAP to Non-SAP systems such as Database tables and Flat Files using Open Hub Destination

Aim: To explain Open Hub Destination and to demonstrate the extraction of data from an Info Cube to database tables and flat files. What is Open Hub Destination?

Open Hub is a SAP BI component where this service provides the framework for scheduled and monitored extraction of consolidated and integrated data from the SAP BI and the controlled distribution of data for external systems or applications.
When we use Open Hub Destination?

For example our company has an external data warehouse system and we want to make the data available to this system in the form of tables or files then go for Open Hub service.
Where we should not use Open Hub Service?

We should not use Open Hub Service if we want to transfer the data into other SAP systems or applications.
What are the important functions of Open Hub Service?

a)DB tables and Flat file in CSV format: The data of database tables of the third-party can be obtained using API’s

b) Full and Delta extraction mode possible.

c) OHD is a part of data flow: Using the data flow options such as transformations and target object for data transfer process.

d)It supports all BI data targets such as Info Cube, Multi-providers, DSO, Characteristic Info-Objects.

e)Monitoring: Integrated monitor and application log.


The Transaction Code for creating Open Hub is RSBOH1.

image



The other way to go into the OHD creation screen is by selecting the Open Hub Destination in the modeling tab which is as shown below…

image

Let us consider the Info Cube ZIC_ISET with the following data….

image
1. Extracting data into a database table…

Right Click on the Infoarea on which we get an option to create OHD….



image

Now in the OHD screen we have to enter the technical name and description of OHD we are creating and we have to specify the Info Cube from which we want to extract the data….

image
We have to enter the destination type as database table in the destination tab, then a database table will be automatically created as below….

image



In the field definition tab we have to make sure that that all the fields are copied success fully for the Info Cube selected….

image"


When we try to activate the OHD we will get a pop-up with the following message and upon saying OK it will be activated.

image



image
On successfully activating the OHD we have to create a Transformation to map between Cube and OHD.

image



Now we have to enter the name of the cube in the source of the transformation as shown in the figure….

image

The following screen shows the mapping of objects…

image

After successfully creating the Transformation, we have to create the DTP for transferring the data.

image


Now activate and execute the DTP so that the data is transferred….

image



In the monitor we can check that the data is transferred successfully into the database table….

image

oto SE16 and check the data in the database table….

image



The following data is loaded in the database table which is in the Info cube....

image


2. Extracting Data into Flat FileFor loading the the data into a flat file the procedure is the same as the above but while creating the OHD we need to select the destination type as file, then a CSV file is created with the given path.



image



The following screen indicates the CSV file created and the directory taken.

image

In the monitor we check that the data is transferred successfully into the flat file….

image





The following indicates the data in the CSV file which is extracted from the Info Cube.

image

2 comments:

  1. That will be great to know the details about the extraction process of the sap and non sap products, as we can transfer files across to make it better functionality.

    sap upgrade tools

    ReplyDelete
  2. After reading this post I got an idea about on this note.Really something grate in this article ,Thanks for sharing this. We are providing SAP courses training online. After reading this slightly am changed my way of introduction about my training to people. To know more Visit Us SAP PM Online Training Course

    ReplyDelete