Professional Documents
Culture Documents
Hybrid Provider Based On DSO Using Real Time Data Acquisition in SAP BW 7.30
Hybrid Provider Based On DSO Using Real Time Data Acquisition in SAP BW 7.30
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:
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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.
Hybrid Provider based on DSO using Real Time Data Acquisition in SAP BW 7.30
Step 13: The flow is complete. Go to transaction RSRDA (it is RDA Monitor). Run the daemon and the data in realtime 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
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.
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
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