Integration Approach of SAP BW

17
 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com  © 2009 SAP AG Integration Approach of SAP BW 3.x and 7.0 with Data Transfer Process Applies to: SAP BW 3.x & SAP BI Net Weaver 2004s. For more information, visit the  Business Intelligence homepage. Summary The objective of this article is to share and explore the various options in the Data Transfer Process and what needs to be done, when integrating it with BW 3.x data flow. Author: Vikram Srivastava Company: Infosys Technologies Limited Created on: 17 February 2010 Author Bio Vikram Srivastava is working as Technology Analyst with Infosys Technologies Limited. He has got rich experience on various BW Implementation/Support Projects in both SAP BW 3.5 and SAP BW 7.0.

Transcript of Integration Approach of SAP BW

Page 1: Integration Approach of SAP BW

8/6/2019 Integration Approach of SAP BW

http://slidepdf.com/reader/full/integration-approach-of-sap-bw 1/17

 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

  © 2009 SAP AG

Integration Approach of SAP BW3.x and 7.0 with Data Transfer Process

Applies to:

SAP BW 3.x & SAP BI Net Weaver 2004s. For more information, visit the Business Intelligence homepage. 

Summary

The objective of this article is to share and explore the various options in the Data Transfer Process andwhat needs to be done, when integrating it with BW 3.x data flow.

Author: Vikram Srivastava

Company: Infosys Technologies LimitedCreated on: 17 February 2010

Author Bio

Vikram Srivastava is working as Technology Analyst with Infosys TechnologiesLimited. He has got rich experience on various BW Implementation/Support Projects inboth SAP BW 3.5 and SAP BW 7.0.

Page 2: Integration Approach of SAP BW

8/6/2019 Integration Approach of SAP BW

http://slidepdf.com/reader/full/integration-approach-of-sap-bw 2/17

Integration Approach of SAP BW 3.x and 7.0 with Data Transfer Process 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

  © 2009 SAP AG

Table of Contents

Introduction to DTP ............................................................................................................................................. 3 Loading data from an existing 3.5 flow to 7.0 objects ..................................................................................... 3 Error Handling using DTP ............................................................................................................................... 4 

Options in error handling .............................................................................................................................................. 4 How to find the error Stack Table? ............................................................................................................................... 5 

Temporary data storage using DTP ................................................................................................................ 5 Extraction Modes ............................................................................................................................................ 7 

Full ............................................................................................................................................................................... 7 Delta ............................................................................................................................................................................ 8 

Processing Mode ............................................................................................................................................ 9 Parameters with Delta Mode ...................................................................................................................................... 10 

Significance of Semantic Groups .................................................................................................................. 11 Performance Optimization using DTP ........................................................................................................... 11 Handling Duplicate Data Records ................................................................................................................. 14 

Related Content ................................................................................................................................................ 16 Disclaimer and Liability Notice .......................................................................................................................... 17 

Page 3: Integration Approach of SAP BW

8/6/2019 Integration Approach of SAP BW

http://slidepdf.com/reader/full/integration-approach-of-sap-bw 3/17

Integration Approach of SAP BW 3.x and 7.0 with Data Transfer Process 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

  © 2009 SAP AG

Introduction to DTP

The data transfer process (DTP) is the process to transfer the data within the BW data warehouse. It is usedto update data from one data target to another data target. It also enables error handling of records.

Loading data from an existing 3.5 flow to 7.0 objects

While loading the data to an exiting 3.5 flow e.g., DSO to Cube (Delta load), after the completion of the dataload the data mart status is set.

Hence if we create a new cube which needs to get delta from this DSO using BW7 development of DTP’sand transformation, it is not able to recognize the deltas.

To handle this situation we have a setting in the source DSO info package (Info package of 3.x data flowwhich is loading data from ODS to Cube) to show that the DTP load is active. After making this setting thecube will be able to detect the delta in the base DSO even after data mart status being set.

3. x UpdateRule

7.0Transformation

This symbolshows that thisrequest isalready loadedto target and isnot deltaenabled for anyother target.

Page 4: Integration Approach of SAP BW

8/6/2019 Integration Approach of SAP BW

http://slidepdf.com/reader/full/integration-approach-of-sap-bw 4/17

Integration Approach of SAP BW 3.x and 7.0 with Data Transfer Process 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

  © 2009 SAP AG

This setting is very useful, when we plan to integrate 2 flows one of BW 3.x and BW 7.0.

Error Handling using DTP

Any error records are updated in error stack. Error DTP is then used to update the data to the subsequentdata targets.

Options in error handling

Deactivated

Using this option error stack is not enabled at all. Hence for any failed records no data is written to theerror stack. Thus if the data load fails, all the data needs to be reloaded again.

DTP’s are activeand load to these

targets. Thissetting will enablethe sourceunderstand if thedelta is yet to beloaded to othertargets even afterdata mart status isset.

Page 5: Integration Approach of SAP BW

8/6/2019 Integration Approach of SAP BW

http://slidepdf.com/reader/full/integration-approach-of-sap-bw 5/17

Integration Approach of SAP BW 3.x and 7.0 with Data Transfer Process 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

  © 2009 SAP AG

No update, no reporting

If there is erroneous/incorrect record and we have this option enabled in the DTP, the load stops therewith no data written to the error stack. Also this request will not be available for reporting. Correctionwould mean reloading the entire data again.

Valid Records Update, No reporting (Request Red)

Using this option all correct data is loaded to the cubes and incorrect data to the error stack. The datawill not be available for reporting until the erroneous records are updated and QM status is manually set

to green. The erroneous records can be updated using the error DTP. Valid Records Updated, Reporting Possible (Request Green)

Using this option all correct data is loaded to the cubes and incorrect data to the error stack. The datawill be available for reporting and process chains continue with the next steps. The erroneous recordscan be updated using the error DTP.

How to find the error Stack Table?

To locate the error stack table navigate as shown below:

Extras -> Settings for Error Stack

Here the table name gives the name of the table where the error records reside.

Temporary data storage using DTP

Screenshownbelowpops out

Screenshownbelowpops out

Page 6: Integration Approach of SAP BW

8/6/2019 Integration Approach of SAP BW

http://slidepdf.com/reader/full/integration-approach-of-sap-bw 6/17

Integration Approach of SAP BW 3.x and 7.0 with Data Transfer Process 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

  © 2009 SAP AG

In DTP we can define if we want to store the data temporarily at any stage during the process of data load. Itcould be before extraction, after transformation etc. It helps is easier analysis of the data. So, it alsobecomes easier to start the failed load process after this.

To locate this setting, we navigate as shown below:

Goto -> Settings for DTP Temporary Storage

Here we can view the temporary storage settings.

Screen shownbelow popsout

Page 7: Integration Approach of SAP BW

8/6/2019 Integration Approach of SAP BW

http://slidepdf.com/reader/full/integration-approach-of-sap-bw 7/17

Integration Approach of SAP BW 3.x and 7.0 with Data Transfer Process 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

  © 2009 SAP AG

Extraction Modes

The data can be loaded to the data target via two extraction modes.

Full -> Extraction of data that is requested

Delta Mode - > Extraction of data new data

Each of these is explained below.

Full

It behaves in the same way as info package does. PSA should be deleted every time before using thisoption.

The following sources can have only Full load option.

1. Info Object

2. Info Set

3. Direct Update DSO

Page 8: Integration Approach of SAP BW

8/6/2019 Integration Approach of SAP BW

http://slidepdf.com/reader/full/integration-approach-of-sap-bw 8/17

Integration Approach of SAP BW 3.x and 7.0 with Data Transfer Process 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

  © 2009 SAP AG

Delta

No initialization is required to have a DTP work with delta mechanism. When the DTP is executed with thisoption for the first time, it brings all the data from the source and also sets the target in such way that it isinitialized.

In the scenarios, where we want to load only the new data, the option “ No data transfer; delta status in source: fetched as processing mode ” in the execute tab of the DTP works in the same way as the init i nthe info package.

Page 9: Integration Approach of SAP BW

8/6/2019 Integration Approach of SAP BW

http://slidepdf.com/reader/full/integration-approach-of-sap-bw 9/17

Integration Approach of SAP BW 3.x and 7.0 with Data Transfer Process 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

  © 2009 SAP AG

Processing Mode

These modes detail the steps that are carried out during DTP execution (e.g. Extraction, transformation,transfer etc). Processing mode also depends on the type of source.

The various types of processing modes are shown below:

1. Serial extraction, immediate parallel processing (asynchronous processing)

This option is most used in background processing when used in process chains. It processes the datapackages in parallel.

2. Serial in dialog process (for debugging) (synchronous processing)

This option is used if we want to execute the DTP in dialog process and this is primarily used for debugging.

3. No data transfer; delta status in source: fetched

This option behaves exactly in the same way as explained above.

Page 10: Integration Approach of SAP BW

8/6/2019 Integration Approach of SAP BW

http://slidepdf.com/reader/full/integration-approach-of-sap-bw 10/17

Integration Approach of SAP BW 3.x and 7.0 with Data Transfer Process 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

  © 2009 SAP AG

Parameters with Delta Mode

1. Only Get Delta Once: This is best used in the scenario where we want to use the snapshot data. E.g.Budget data, if we want to overwrite the existing budgets in the cube, this setting will enable us todelete the existing request from the cube and overwrite with the new request with the sameselections.

If we use this setting in the process chains, we need to use the delete overlapping request option along withthis.

2. Get data Request by Request: If we use this option a scenario of backlog might be created. If 5

requests of the data have been loaded to the PSA, when DTP is executed with the same setting, it just brings the oldest request. This is not advisable to be used in the process chains as it does notload the current data.

3. Retrieve until No More New Data: This option is added to the DTP’s to enable the DTP’s to get allthe requests in the source until all the requests are loaded. E.g. if we have 3 requests in the source,disabling this setting will force only one request to get transferred to the target, whereas by enablingthis setting we will be able to see 3 separate requests in the target. This option becomes very usefulwhen the data package cannot handle too many records.

Page 11: Integration Approach of SAP BW

8/6/2019 Integration Approach of SAP BW

http://slidepdf.com/reader/full/integration-approach-of-sap-bw 11/17

Page 12: Integration Approach of SAP BW

8/6/2019 Integration Approach of SAP BW

http://slidepdf.com/reader/full/integration-approach-of-sap-bw 12/17

Integration Approach of SAP BW 3.x and 7.0 with Data Transfer Process 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

  © 2009 SAP AG

If the number of processes is equal to 1, is serial processing, else parallel.

2. Data Package Size

The default size of the data package is 50000. This can be changed depending on the size of the records.

3. Do not load too large DTP Requests at one go.

This can be achieved by enabling the setting “Get all new data request by request “as detailed above . Thisfacilitates in reduction of the size of each DTP, hence improving the performance.

Screen shownbelow popsout

This can be changed to 1 forserial processing.

Page 13: Integration Approach of SAP BW

8/6/2019 Integration Approach of SAP BW

http://slidepdf.com/reader/full/integration-approach-of-sap-bw 13/17

Integration Approach of SAP BW 3.x and 7.0 with Data Transfer Process 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

  © 2009 SAP AG

4. If we are planning to use DTP filters while loading the data from data source, small data packagescan be avoided.

In such scenarios it is best to redefine the semantic keys.

5. If DSO is the source, extraction of data before doing first delta or while full extraction from the active

data table is not advisable.

Full load can be best read from active data table, owing to less number of records.

6. If we are planning to use Info Cubes as the source to load data, its best to use the option useextraction from aggregates.

If this option is enabled, and if the required data exists in the aggregates, it reads the data from theaggregates before reading it from F table or E table directly.

Page 14: Integration Approach of SAP BW

8/6/2019 Integration Approach of SAP BW

http://slidepdf.com/reader/full/integration-approach-of-sap-bw 14/17

Integration Approach of SAP BW 3.x and 7.0 with Data Transfer Process 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

  © 2009 SAP AG

Handling Duplicate Data Records

This functionality is used to handle the duplicate data records which loading the data to the attributes ortexts.

Page 15: Integration Approach of SAP BW

8/6/2019 Integration Approach of SAP BW

http://slidepdf.com/reader/full/integration-approach-of-sap-bw 15/17

Integration Approach of SAP BW 3.x and 7.0 with Data Transfer Process 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

  © 2009 SAP AG

This option is not set by default.

In handles the data as shown below:

Time Independent Objects

The data of the last record resides as it keeps on overwriting the data.

Time Dependant Objects

In this scenario, it creates various entries of the same object with different validity periods .

Page 16: Integration Approach of SAP BW

8/6/2019 Integration Approach of SAP BW

http://slidepdf.com/reader/full/integration-approach-of-sap-bw 16/17

Integration Approach of SAP BW 3.x and 7.0 with Data Transfer Process 

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com

  © 2009 SAP AG

Related Content

http://help.sap.com/saphelp_nw70/helpdata/en/42/fa50e40f501a77e10000000a422035/frameset.htm 

http://help.sap.com/saphelp_nw2004s/helpdata/en/42/f98e07cc483255e10000000a1553f7/frameset.htm 

http://help.sap.com/saphelp_nw2004s/helpdata/en/44/03a25c0bbe025ce10000000a1553f7/frameset.htm 

For more information, visit the Business Intelligence homepage. 

Page 17: Integration Approach of SAP BW

8/6/2019 Integration Approach of SAP BW

http://slidepdf.com/reader/full/integration-approach-of-sap-bw 17/17

Integration Approach of SAP BW 3.x and 7.0 with Data Transfer Process 

Disclaimer and Liability Notice

This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is notsupported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.

SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document,and anyone using these methods does so at his/her own risk.

SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article orcode sample, including any liability resulting from incompatibility between the content within this document and the materials andservices offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of thisdocument.