SlideShare a Scribd company logo
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 1
Hybrid Provider based on DSO
using Real Time Data Acquisition
in SAP BW 7.30
Applies to:
SAP BW 7.30. For more information, visit the EDW homepage
Summary
This document provides the details for creating a Hybrid Provider based DSO using real time data acquisition
for SAP BW 7.30.
Author: Lavanya Dev Sharma
Company: Infosys Technologies Ltd.
Created on: 24
th
June 2011
Author Bio
Lavanya Dev Sharma is working with Infosys Technologies Limited. He has got rich experience in
implementation of various projects in both SAP BW 3.5 and SAP BW 7.0.
Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 2
Table of Contents
Introduction .........................................................................................................................................................3
Types of Hybrid Providers...............................................................................................................................3
HybridProviders based on Direct Access ...........................................................................................................3
HybridProviders based on a DataStore object ...................................................................................................3
Real-time Data Acquisition .................................................................................................................................3
Daemons.............................................................................................................................................................3
Live Scenario ......................................................................................................................................................4
Step 1:.............................................................................................................................................................5
Step 2:.............................................................................................................................................................6
Step 3:.............................................................................................................................................................7
Step 4:.............................................................................................................................................................7
Step 5:.............................................................................................................................................................8
Step 6:.............................................................................................................................................................9
Step 7:...........................................................................................................................................................10
Step 8:...........................................................................................................................................................11
Step 9:...........................................................................................................................................................11
Step 10:.........................................................................................................................................................12
Step 11:.........................................................................................................................................................13
Step 12:.........................................................................................................................................................14
Step 13:.........................................................................................................................................................16
Step 14:.........................................................................................................................................................17
Result: ...........................................................................................................................................................17
Related Content................................................................................................................................................18
Disclaimer and Liability Notice..........................................................................................................................19
Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 3
Introduction
Hybrid provider consists of a DataStore object/Virtual Provider and an InfoCube. It has data flow in between
them automatically generated while creating the hybrid provider. It combines the historic data with latest
delta information when a query based on it is executed.
The „hybrid‟ structure of this InfoProvider ensures excellent performance with near real time reporting on high
volumes of data, as it provides faster access to data. This becomes even more efficient when BWA is used.
Types of Hybrid Providers
There are two types of Hybrid Providers:
1. HybridProviders based on direct access.
2. HybridProviders based on a DataStore object.
HybridProviders based on Direct Access
HybridProvider based on direct access is a combination of a VirtualProvider and an InfoCube. The benefit of
this InfoProvider is that it provides access to real time data without actually doing any real time data
acquisition.
At query runtime, the historic data is read from the InfoCube. Also the near real-time or the latest up-to-date
data from the source system is read using the Virtual Provider.
HybridProviders based on a DataStore object
The HybridProvider based on a DSO is a combination of DSO and InfoCube. Once this Hybrid Provider is
created and activated, the different objects including (DTP, Transformation and process chain) that are used
for the data flow from the DSO to the InfoCube are created automatically.
One should use HybridProvider based on DSO as InfoProvider in scenarios where there is need to load data
using real time data acquisition. The DTP for real-time data acquisition from a real-time enabled Datasource
to the DSO loads the data to the DSO in delta mode. The daemon used for real-time data acquisition
immediately activates the data. As this daemon is stopped, the data is loaded from the change log of the
DSO to the InfoCube. The InfoCube acts as storage for the historic data from DSO.
Following is a brief description about the real-time data acquisition and how it is done in BW. Also there is a
brief description about the daemons that are used to perform the real-time data acquisition.
Real-time Data Acquisition
Real-time data acquisition enables to update data in real time. As the data is created in the source system, it
is immediately updated in the PSA or the delta queue. There are special InfoPackages and DTPs that are
real time enabled which are used to load data in InfoProviders. Also, to load real time data from source
system to SAP BW, the Datasource should be real time enabled. Most of the standard DataSources are real-
time enabled; however we can also create generic Datasource for the same purpose.
Real-time data acquisition as a property of DataSources in SAP source systems is only possible technically
under the following circumstances: In the source system, the BI Service API has at least the version Plug-In-
Basis 2005.1 or for 4.6C source systems Plug-In 2004.1 SP10.
Daemons
Daemons are used to perform the real time data acquisition in SAP BW. They are background processes
that execute the InfoPackages and DTPs assigned under it at the stipulated intervals. While creating
daemons, we have to specify the duration after which is it has to execute itself. Once the daemon is started,
it keeps on repeating the execution of the InfoPackages and DTPs under it after the duration specified at the
time of creation.
Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 4
Live Scenario
DataSource Creation in Source System: Create the generic data source in R/3 system with „Real Time
Enable‟ as shown in the following screen.
Here we have a generic Datasource in BW. This data source is real time enabled and extracts data from an
R/3 source system.
Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 5
Step 1:
We have to first create an Init Infopackage for the Datasource and schedule it. Then we can create a RDA
Infopackage. Same is done below.
Please do not forget to check the tick box for Real-Time data acquisition.
Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 6
Thus, the Infopackage for Real-Time data acquisition is created for the Datasource.
Step 2:
Now we have the Datasource ready, we come to modeling of Hybrid provider based on DSO. Go to Data
flows in RSA1.
Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 7
Step 3:
We drag and drop Datasource icon from the sidebar, then right click on the icon. Click on use existing object
to use the data source mentioned in the previous steps.
Step 4:
Once we get the Datasource, right click and “Show Direct Dataflow Before”. Then it shows both the
InfoPackages for the Datasource. Remove the Init Infopackage from the flow.
Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 8
The flow will now look something like this:
Step 5:
Now drag and drop DSO from side menu. Right click and “Create”. Create a new DSO. Assign the data and
key fields. Save and activate it. Come back to original screen.
Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 9
Step 6:
Now, drag and drop Hybrid Provider from side bar right click and “Create”. Create a new Hybrid Provider
based on DSO. Assign the previously created DSO to this hybrid provider. Save and activate it. Come back
to original screen.
Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 10
While creating the hybrid provider, it shows a warning as follows:
This means that the DSO can no longer be used as a standalone DSO. It will behave only as a part of hybrid
provider. The data fields and the key fields in the DSO are automatically included in the Hybrid Provider.
Step 7:
Once created, it show a system created Infocube under that Hybrid Provider. The DSO is also linked with the
Hybrid Provider. Here, the Hybrid Provider and the InfoCube have the description same as DSO; however
we have flexibility to give a new name to Hybrid Provider when creating it.
Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 11
Step 8:
Now, draw arrows from the Datasource to the DSO. The first arrow will create the transformation. The
second arrow will create the DTP.
Step 9:
Double click on the transformation, do the mappings and activate it. Return to data flow, double click on DTP.
Make the DTP RDA enabled as shown, and then activate it. Return to dataflow.
Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 12
Please ensure that you choose the DTP type as DTP for Real-Time Data Acquisition.
Step 10:
Once Transformation and DTP are active, we need to assign the RDA Infopackage and the RDA DTP to a
RDA daemon. Right click on the RDA Infopackage and select “Assign RDA daemon”. It will navigate to RDA
Monitor. Create a daemon from left top corner create button and then assign the both of them to the daemon.
Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 13
Creating RDA daemon: In the daemon settings, the Daemon specifies the technical number of daemon,
short description specifies the description and the period specifies the duration after which it repeats the
execution.
Step 11:
We include the Datasource in the RDA daemon; it will automatically include both Infopackage and
DTP.
Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 14
As you can see above both the Infopackage and DTP are listed under the RDA daemon.
Step 12:
Now come back to Dataflow screen. Activate the data flow. All the objects used and create in the flow will be
visible on the left side context menu.
Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 15
Drill down the Infocube menu and click on the DTP. Now click on “Process Chain maintenance”. It will open a
system generated process chain which contains DTP from DSO to Cube.
The auto generated process chain is as below:
Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 16
Step 13:
The flow is complete. Go to transaction RSRDA (it is RDA Monitor). Run the daemon and the data in real-
time gets update from source system to DSO.
The daemon has now run successfully. The request is running in daemon, it is loading data in DSO.
Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 17
Step 14:
Once the daemon is stopped, the data gets updated from DSO to Cube by the automatic triggering of the
process chain shown in previous steps. Request is closed in daemon, now the process chain with DTP from
DSO to Cube will run.
Following is the successful run of the process chain.
The new data updated in DSO is now updated into InfoCube after this process chain has run.
Result:
So in this way, we can update the real-time data from the source system to BW system. The only thing
needs to be taken care of is the scheduling of RDA daemon. Also the real-time data updating works similar
to delta functionality. So whatever new data is created in the source system, it gets automatically updated in
BW.
Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 18
Related Content
Hybrid Providers
HybridProvider Structure Based on a DataStore Object
Real-Time Data Acquisition
Design Consideration for 7.30 InfoProviders
For more information, visit the EDW homepage
Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG 19
Disclaimer and Liability Notice
This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not
supported 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 or
code sample, including any liability resulting from incompatibility between the content within this document and the materials and
services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this
document.

More Related Content

PDF
Bw writing routines in update rules
PDF
Lo extraction part 4 update methods
PDF
Line item dimension and high cardinality dimension
PDF
Variables in sap bi
PDF
Sap bw lo extraction
PDF
Errors in process chains
PDF
How to create generic delta
PDF
How to write a routine for 0 calday in infopackage selection
Bw writing routines in update rules
Lo extraction part 4 update methods
Line item dimension and high cardinality dimension
Variables in sap bi
Sap bw lo extraction
Errors in process chains
How to create generic delta
How to write a routine for 0 calday in infopackage selection

What's hot (20)

PDF
Using error stack and error dt ps in sap bi 7.0
PDF
How to run v3 job
PDF
Rda step by step
PDF
Customer exit variables in sap
PDF
Lo extraction part 7 enhancements
PDF
BW Adjusting settings and monitoring data loads
PDF
Enhancing data sources with badi in SAP ABAP
PDF
How to use abap cds for data provisioning in bw
PDF
Sap bw 4 hana vs sap bw on hana
PDF
Lo extraction part 2 database update logic
PPTX
LSA++ english version
PDF
Introducing enhancement framework.doc
PDF
SAP BI Generic Extraction Using a Function Module.pdf
PDF
Lo extraction part 3 extractor logic
PPT
SAP Document Management System Integration with Content Servers
PPTX
Analysis for office training
PPTX
PPTX
CDS Views.pptx
PDF
Lo extraction part 6 implementation methodology
PDF
Infoobject
Using error stack and error dt ps in sap bi 7.0
How to run v3 job
Rda step by step
Customer exit variables in sap
Lo extraction part 7 enhancements
BW Adjusting settings and monitoring data loads
Enhancing data sources with badi in SAP ABAP
How to use abap cds for data provisioning in bw
Sap bw 4 hana vs sap bw on hana
Lo extraction part 2 database update logic
LSA++ english version
Introducing enhancement framework.doc
SAP BI Generic Extraction Using a Function Module.pdf
Lo extraction part 3 extractor logic
SAP Document Management System Integration with Content Servers
Analysis for office training
CDS Views.pptx
Lo extraction part 6 implementation methodology
Infoobject
Ad

Viewers also liked (15)

PDF
Step by-step-guide-of-modeling-hana-views-into-bw-in-sap-bw-7-4-on-hana
PPT
Loading attributes from SAP source system
PPT
Loading text data from SAP source systems
PDF
Dso job log and activation parameters
PDF
Management 2.0 Hackathon
PDF
Analysis process designer (apd) part 2
PPTX
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
PPTX
SAP BW Powered by SAP HANA
PPTX
What's new in SAP HANA SPS 11 Security
PPTX
What's New in SAP HANA SPS 11 Backup and Recovery (Operations)
PPTX
What's New in SAP HANA SPS 11 Mission Critical Data Center Operations
PPTX
What's new in SAP HANA SPS 11 SQL/SQLScript
PPTX
What's New in SAP HANA SPS 11 Application Lifecycle Management
PPTX
What's New in SAP HANA SPS 11 DB Control Center (Operations)
PDF
What's New in SAP HANA SPS 11 Operations
Step by-step-guide-of-modeling-hana-views-into-bw-in-sap-bw-7-4-on-hana
Loading attributes from SAP source system
Loading text data from SAP source systems
Dso job log and activation parameters
Management 2.0 Hackathon
Analysis process designer (apd) part 2
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
SAP BW Powered by SAP HANA
What's new in SAP HANA SPS 11 Security
What's New in SAP HANA SPS 11 Backup and Recovery (Operations)
What's New in SAP HANA SPS 11 Mission Critical Data Center Operations
What's new in SAP HANA SPS 11 SQL/SQLScript
What's New in SAP HANA SPS 11 Application Lifecycle Management
What's New in SAP HANA SPS 11 DB Control Center (Operations)
What's New in SAP HANA SPS 11 Operations
Ad

Similar to Hybrid provider based on dso using real time data acquisition in sap bw 7.30 (20)

PPT
Sap bi 7.3 Features
PDF
Hybrid provideer
PPT
SAP BI/DW Training with BO Integration
PDF
Modeling
PDF
Understanding dso (data store object) part 1%3a standard dso.doc
PDF
Data extraction and retraction in bpc bi
PDF
Data extraction and retraction bpc bi
PDF
Day 8.1 system_admin_tasks
PDF
Data sevice architecture
PDF
Sap bibw
PPTX
Data provisioning in SAP HANA
PPTX
SAP Advanced Lecture | FruTech.io
PDF
SITIST 2016 Dev - What is new in SAP Analytics
PDF
SAP BI Book - SAP BI Study Material Sample PDF
PDF
SAP Business Data Cloud: Was die neue SAP-Lösung für Unternehmen und ihre Dat...
PDF
Experienced, proven, and highly qualified SAP partners are ready to work with...
PDF
Dmm300 – mixed scenarios for sap hana data warehousing and BW: overview and e...
PPTX
SAP BI Training | Online SAP BI Course | SAP BI Tutorials
PDF
Architectural Options for Using IBM Cognos with SAP, including Alternatives t...
DOCX
Best SAP BW Online Training
Sap bi 7.3 Features
Hybrid provideer
SAP BI/DW Training with BO Integration
Modeling
Understanding dso (data store object) part 1%3a standard dso.doc
Data extraction and retraction in bpc bi
Data extraction and retraction bpc bi
Day 8.1 system_admin_tasks
Data sevice architecture
Sap bibw
Data provisioning in SAP HANA
SAP Advanced Lecture | FruTech.io
SITIST 2016 Dev - What is new in SAP Analytics
SAP BI Book - SAP BI Study Material Sample PDF
SAP Business Data Cloud: Was die neue SAP-Lösung für Unternehmen und ihre Dat...
Experienced, proven, and highly qualified SAP partners are ready to work with...
Dmm300 – mixed scenarios for sap hana data warehousing and BW: overview and e...
SAP BI Training | Online SAP BI Course | SAP BI Tutorials
Architectural Options for Using IBM Cognos with SAP, including Alternatives t...
Best SAP BW Online Training

Recently uploaded (20)

PPTX
Moving the Public Sector (Government) to a Digital Adoption
PPTX
1_Introduction to advance data techniques.pptx
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PPTX
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PDF
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
PDF
Launch Your Data Science Career in Kochi – 2025
PPTX
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
PDF
.pdf is not working space design for the following data for the following dat...
PPTX
Business Acumen Training GuidePresentation.pptx
PPT
Chapter 3 METAL JOINING.pptnnnnnnnnnnnnn
PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PDF
Fluorescence-microscope_Botany_detailed content
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PPTX
Introduction-to-Cloud-ComputingFinal.pptx
PPTX
oil_refinery_comprehensive_20250804084928 (1).pptx
PDF
Lecture1 pattern recognition............
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
Moving the Public Sector (Government) to a Digital Adoption
1_Introduction to advance data techniques.pptx
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
Miokarditis (Inflamasi pada Otot Jantung)
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
Launch Your Data Science Career in Kochi – 2025
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
.pdf is not working space design for the following data for the following dat...
Business Acumen Training GuidePresentation.pptx
Chapter 3 METAL JOINING.pptnnnnnnnnnnnnn
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
IBA_Chapter_11_Slides_Final_Accessible.pptx
Fluorescence-microscope_Botany_detailed content
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
Introduction-to-Cloud-ComputingFinal.pptx
oil_refinery_comprehensive_20250804084928 (1).pptx
Lecture1 pattern recognition............
The THESIS FINAL-DEFENSE-PRESENTATION.pptx

Hybrid provider based on dso using real time data acquisition in sap bw 7.30

  • 1. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 1 Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30 Applies to: SAP BW 7.30. For more information, visit the EDW homepage Summary This document provides the details for creating a Hybrid Provider based DSO using real time data acquisition for SAP BW 7.30. Author: Lavanya Dev Sharma Company: Infosys Technologies Ltd. Created on: 24 th June 2011 Author Bio Lavanya Dev Sharma is working with Infosys Technologies Limited. He has got rich experience in implementation of various projects in both SAP BW 3.5 and SAP BW 7.0.
  • 2. Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 2 Table of Contents Introduction .........................................................................................................................................................3 Types of Hybrid Providers...............................................................................................................................3 HybridProviders based on Direct Access ...........................................................................................................3 HybridProviders based on a DataStore object ...................................................................................................3 Real-time Data Acquisition .................................................................................................................................3 Daemons.............................................................................................................................................................3 Live Scenario ......................................................................................................................................................4 Step 1:.............................................................................................................................................................5 Step 2:.............................................................................................................................................................6 Step 3:.............................................................................................................................................................7 Step 4:.............................................................................................................................................................7 Step 5:.............................................................................................................................................................8 Step 6:.............................................................................................................................................................9 Step 7:...........................................................................................................................................................10 Step 8:...........................................................................................................................................................11 Step 9:...........................................................................................................................................................11 Step 10:.........................................................................................................................................................12 Step 11:.........................................................................................................................................................13 Step 12:.........................................................................................................................................................14 Step 13:.........................................................................................................................................................16 Step 14:.........................................................................................................................................................17 Result: ...........................................................................................................................................................17 Related Content................................................................................................................................................18 Disclaimer and Liability Notice..........................................................................................................................19
  • 3. Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 3 Introduction Hybrid provider consists of a DataStore object/Virtual Provider and an InfoCube. It has data flow in between them automatically generated while creating the hybrid provider. It combines the historic data with latest delta information when a query based on it is executed. The „hybrid‟ structure of this InfoProvider ensures excellent performance with near real time reporting on high volumes of data, as it provides faster access to data. This becomes even more efficient when BWA is used. Types of Hybrid Providers There are two types of Hybrid Providers: 1. HybridProviders based on direct access. 2. HybridProviders based on a DataStore object. HybridProviders based on Direct Access HybridProvider based on direct access is a combination of a VirtualProvider and an InfoCube. The benefit of this InfoProvider is that it provides access to real time data without actually doing any real time data acquisition. At query runtime, the historic data is read from the InfoCube. Also the near real-time or the latest up-to-date data from the source system is read using the Virtual Provider. HybridProviders based on a DataStore object The HybridProvider based on a DSO is a combination of DSO and InfoCube. Once this Hybrid Provider is created and activated, the different objects including (DTP, Transformation and process chain) that are used for the data flow from the DSO to the InfoCube are created automatically. One should use HybridProvider based on DSO as InfoProvider in scenarios where there is need to load data using real time data acquisition. The DTP for real-time data acquisition from a real-time enabled Datasource to the DSO loads the data to the DSO in delta mode. The daemon used for real-time data acquisition immediately activates the data. As this daemon is stopped, the data is loaded from the change log of the DSO to the InfoCube. The InfoCube acts as storage for the historic data from DSO. Following is a brief description about the real-time data acquisition and how it is done in BW. Also there is a brief description about the daemons that are used to perform the real-time data acquisition. Real-time Data Acquisition Real-time data acquisition enables to update data in real time. As the data is created in the source system, it is immediately updated in the PSA or the delta queue. There are special InfoPackages and DTPs that are real time enabled which are used to load data in InfoProviders. Also, to load real time data from source system to SAP BW, the Datasource should be real time enabled. Most of the standard DataSources are real- time enabled; however we can also create generic Datasource for the same purpose. Real-time data acquisition as a property of DataSources in SAP source systems is only possible technically under the following circumstances: In the source system, the BI Service API has at least the version Plug-In- Basis 2005.1 or for 4.6C source systems Plug-In 2004.1 SP10. Daemons Daemons are used to perform the real time data acquisition in SAP BW. They are background processes that execute the InfoPackages and DTPs assigned under it at the stipulated intervals. While creating daemons, we have to specify the duration after which is it has to execute itself. Once the daemon is started, it keeps on repeating the execution of the InfoPackages and DTPs under it after the duration specified at the time of creation.
  • 4. Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 4 Live Scenario DataSource Creation in Source System: Create the generic data source in R/3 system with „Real Time Enable‟ as shown in the following screen. Here we have a generic Datasource in BW. This data source is real time enabled and extracts data from an R/3 source system.
  • 5. Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 5 Step 1: We have to first create an Init Infopackage for the Datasource and schedule it. Then we can create a RDA Infopackage. Same is done below. Please do not forget to check the tick box for Real-Time data acquisition.
  • 6. Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 6 Thus, the Infopackage for Real-Time data acquisition is created for the Datasource. Step 2: Now we have the Datasource ready, we come to modeling of Hybrid provider based on DSO. Go to Data flows in RSA1.
  • 7. Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 7 Step 3: We drag and drop Datasource icon from the sidebar, then right click on the icon. Click on use existing object to use the data source mentioned in the previous steps. Step 4: Once we get the Datasource, right click and “Show Direct Dataflow Before”. Then it shows both the InfoPackages for the Datasource. Remove the Init Infopackage from the flow.
  • 8. Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 8 The flow will now look something like this: Step 5: Now drag and drop DSO from side menu. Right click and “Create”. Create a new DSO. Assign the data and key fields. Save and activate it. Come back to original screen.
  • 9. Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 9 Step 6: Now, drag and drop Hybrid Provider from side bar right click and “Create”. Create a new Hybrid Provider based on DSO. Assign the previously created DSO to this hybrid provider. Save and activate it. Come back to original screen.
  • 10. Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 10 While creating the hybrid provider, it shows a warning as follows: This means that the DSO can no longer be used as a standalone DSO. It will behave only as a part of hybrid provider. The data fields and the key fields in the DSO are automatically included in the Hybrid Provider. Step 7: Once created, it show a system created Infocube under that Hybrid Provider. The DSO is also linked with the Hybrid Provider. Here, the Hybrid Provider and the InfoCube have the description same as DSO; however we have flexibility to give a new name to Hybrid Provider when creating it.
  • 11. Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 11 Step 8: Now, draw arrows from the Datasource to the DSO. The first arrow will create the transformation. The second arrow will create the DTP. Step 9: Double click on the transformation, do the mappings and activate it. Return to data flow, double click on DTP. Make the DTP RDA enabled as shown, and then activate it. Return to dataflow.
  • 12. Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 12 Please ensure that you choose the DTP type as DTP for Real-Time Data Acquisition. Step 10: Once Transformation and DTP are active, we need to assign the RDA Infopackage and the RDA DTP to a RDA daemon. Right click on the RDA Infopackage and select “Assign RDA daemon”. It will navigate to RDA Monitor. Create a daemon from left top corner create button and then assign the both of them to the daemon.
  • 13. Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 13 Creating RDA daemon: In the daemon settings, the Daemon specifies the technical number of daemon, short description specifies the description and the period specifies the duration after which it repeats the execution. Step 11: We include the Datasource in the RDA daemon; it will automatically include both Infopackage and DTP.
  • 14. Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 14 As you can see above both the Infopackage and DTP are listed under the RDA daemon. Step 12: Now come back to Dataflow screen. Activate the data flow. All the objects used and create in the flow will be visible on the left side context menu.
  • 15. Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 15 Drill down the Infocube menu and click on the DTP. Now click on “Process Chain maintenance”. It will open a system generated process chain which contains DTP from DSO to Cube. The auto generated process chain is as below:
  • 16. Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 16 Step 13: The flow is complete. Go to transaction RSRDA (it is RDA Monitor). Run the daemon and the data in real- time gets update from source system to DSO. The daemon has now run successfully. The request is running in daemon, it is loading data in DSO.
  • 17. Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 17 Step 14: Once the daemon is stopped, the data gets updated from DSO to Cube by the automatic triggering of the process chain shown in previous steps. Request is closed in daemon, now the process chain with DTP from DSO to Cube will run. Following is the successful run of the process chain. The new data updated in DSO is now updated into InfoCube after this process chain has run. Result: So in this way, we can update the real-time data from the source system to BW system. The only thing needs to be taken care of is the scheduling of RDA daemon. Also the real-time data updating works similar to delta functionality. So whatever new data is created in the source system, it gets automatically updated in BW.
  • 18. Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 18 Related Content Hybrid Providers HybridProvider Structure Based on a DataStore Object Real-Time Data Acquisition Design Consideration for 7.30 InfoProviders For more information, visit the EDW homepage
  • 19. Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 19 Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported 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 or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.