Donnerstag, 17. Juni 2010

Extracting data from SAP BW/BI via Export DataSources with Xtract IS

To extract data from an SAP BW/BI system, Xtract IS suite provides 3 different components supporting the following interfaces:

MDX engine: Xtract IS BWCube component supports the MDX engine and enables the extraction of InfoCubes and BEx Queries.

Open Hub Services: Xtract IS OHS component supports the Open Hub Services that allow you to distribute data from BW/BI system using Infospokes or Open Hub Destinations.

Export DataSource: An Export DataSource enables the extraction of the following InfoProviders: InfoCubes, DataStores and InfoObjects. In contrast to Export DataSources, DataSources are provided to transfer data from SAP ERP or an external System to BI. Xtract IS DeltaQ component supports both DataSources.

In this blog I will focus on Export DataSources and describe how to generate them in SAP BW/BI and how to use them with Xtract IS DeltaQ.



InfoCubes and DataStores:

Export DataSources for InfoCubes and DataStores objects contain all the characteristics and key figures of the InfoProvider. The technical name of the Export DataSource is made up of the number 8 together with the name of the
InfoProvider. (InfoCube: 0D_COPA -> DataSource: 80D_COPA).

InfoObjects (master data):

You can generate Export DataSource for master data, and thus for individual InfoObjects. Export DataSource for master data contain the metadata for all attributes, texts, and hierarchies for an InfoObject. The length of the technical name of the InfoObject must not be longer than 28 characters. The technical name of the Export DataSource is 8***M, 8***T and 8***H respectively for attributes (master data), texts and hierarchies, where *** stands for the InfoObject.

HTML clipboard

Using Export DataSource, you can transfer large amounts of data from SAP BW/BI by full upload as well by delta requests. Note that changes to the metadata of the InfoProvider can only be added to the Export DataSources by regenerating the Export DataSources.

Delta Process

A distinction is made between InfoCubes and DataStore objects:

The InfoCube used as an Export DataSource is first initialized. When the next extraction is performed, only those requests are transferred that have come in since initialization.

For DataStore objects, the requests in the change log of the DataStore object are used as the basis for determining the delta. Only the change log requests that have arisen from reactivating the DataSource object data are transferred.

How to generate an Export DataSource

The InfoProvider must be activated at first. To generate an Export DataSource, go to the Data Warehousing Workbench (transactions RSA1) in the BW/BI system, choose Modeling and select your InfoProvider. Use the context menu to choose Additional Functions -> Generate Export DataSource. In this sample I am using the SAP Demo Cube 0D_COPA. (InfoProvider -> SAP Demo -> SAP Demo Profitability analysis).

Generate

The Export DataSource 80D_COPA will be generated.

Extract Export DataSource with Xtract IS DeltaQ component

Drag an Xtract DeltaQ component to the data flow task and link it to an Xtract Connection. Search for your Export Datasource.

Lookup

Fill in the fields for the technical settings and select the desired columns. Then activate the Export DataSource.

Activate

Xtract DeltaQ component has two outputs: data and protocol, therefore we use 2 OLE DB destinations. Now execute the package.

Lookup

The data are successfully extracted from SAP BW/BI and saved in the SQL server.

Execute

Links:

Xtract IS: http://www.theobald-software.com/en/products/xtractis.htm

SAP BW: http://help.sap.com/saphelp_nw70/helpdata/en/4e/4a75b87fe211d4b2c50050da4c74dc/frameset.htm

3 Kommentare:

  1. Der Kommentar wurde von einem Blog-Administrator entfernt.

    AntwortenLöschen
  2. Hi..i am kartik,, thanks for sharing a vailable information in sap bwibi&SAP HANA

    AntwortenLöschen
  3. Hi..i am kartik,, thanks for sharing a vailable information in sap bwbiplz visit SAP HANA

    AntwortenLöschen