You might be having complex reports in your BI System, which helps in making decisions on the basis of data of your transactional system. Sometimes (quarter closure, month end, year ending…) single change in the transactional data can change your decision, and its very important to consider each record of transactional data of the company at the same time in BI system as it gets updated in the transactional system.
Using new functionality of Real-time Data Acquisition (RDA) with the NetWeaver (BI) 2004s system we can now load transactional data into SAP BI system every single minute. If your business is demanding real-time data in SAP BI, you should start exploring RDA.
The source system for RDA could be SAP System or it could be any non-SAP system. SAP is providing most of the Standard DataSources as real-time enabled. For more information on this check the /thread/248635 [original link is broken]
The other alternative for RDA is Web Services, even though Web Services are referred for non-SAP systems, but for testing purpose here I am implementing Web Service (RFC) in SAP source system.
For more information on RDA check the RDA SAP help Documentation.
Below are the steps to load real time data from SAP source system to SAP BI system using Web Services @RDA concept.
- Create Web Services DataSource in BI system.
When you will activate Web Service DataSource it will create Web Service/RFC FM automatically for you. (/BIC/CQFI_GL_00001000)
- Create transformation on Data Target (DSO) while taking Web Service DataSource as source of transformation.
- Create DTP on Data Target by selecting DTP type as DTP for Real-Time Dara Acquisition
- Create InfoPackage. (When you create InfoPackage for Web Services DataSource it will automatically enable Real-Time field for you, but if when you create it for SAP Source System DataSource you have to enable Real-Time field while creating InfoPackage, if your DataSource supports RDA)
In the processing tab of InfoPackage we enter the maximum time (Threshold value) for each request to open. Once that limit is cross RDA creates new request. The data is updated into data target ASAP it comes from Source System (~ 1 min), even though request will be open to take new record.
Click on Assign window to go to RDA Monitor. (You can also go to RDA Monitor using TCode RSRDA)
- Assign a new Daemon for DataSource from Unassigned node. (Required to start the Daemon)
- Assign the DTP to newly created Daemon.
- Start the Daemon.
Once you start the Daemon, you can check Open Request in PSA of DataSource or in RDA Monitor under InfoPackage also.
- Call RFC from the Source System, which got created when we created DataSource. Check Appendix for creating test FM to call RFC from (ZTEST_BW) Source System.
- Under RDA Monitor or PSA table now you can check 1 record under Open Request.
When you call RFC from Source System it will take ~ one minute to load it to PSA of DataSource.
Once the record will come to PSA Table, RDA Daemon will create new open request for DTP, and update the data into Data Target at the same time.
You can see Open request in RDA Monitor for DTP, and Record to be cleared from Records in Upload, it means record is already updated into Data Target.
You can also check the status of DTP Monitor:
Check the data in DSO activated data table or in the manage request tab of DSO.
- Close the Request. You can manually close the request also, it will create new request for the same InfoPackage. It is required for performance reason even though its not a mandatory step.
- Stop the Daemon Load. Even though the Daemon will run under sleep mode all the time, and once the request will come from source system it will start working automatically. In General practice we dont need to close the Daemon, but if it is required by any chance you can.
Create Test FM to call the RFC in BI system. (I am using RFC for testing purpose you can also use Web Service)
Below is the FM that will get created automatically on BI side when we activate Web Services DataSource.
It takes Import parameter as a Table Type, which is linked to Line Type Structure.
Structure in Line Type contains the basic parameters as fields what we added in DataSource.
We have to create Structure with the same parameters in SAP System to call this RFC FM.
Create FM (ZTEST_BW) and call BI RFC of Web Services DataSource from here.