Sie sind auf Seite 1von 18

Real Time Data Acquisition (RDA)

Steps – Business Intelligence

Applies to:
SAP 7.0 BI versions. For more information, visit the Business Intelligence Homepage

Summary
This paper explains about the step by step information required to be taken when the user wants to use the
Real time Data Acquisition concept to upload the necessary data in real time whenever some changes in the
data happens in the BI system.

Author: Gaurav Paul


Company: LNT Infotech Limited
Created on: 20 February 2009

Author Bio
Gaurav Paul is working as a SAP BI Consultant in LNT Infotech Limited, INDIA. He has worked on
Implementation projects for multiple clients.

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


© 2009 SAP AG 1
Real Time Data Acquisition (RDA) Steps – Business Intelligence

Table of Contents
Introduction: ........................................................................................................................................................3
Step-by-Step Solution .....................................................................................................................................3
Related Content................................................................................................................................................17
Disclaimer and Liability Notice..........................................................................................................................18

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


© 2009 SAP AG 2
Real Time Data Acquisition (RDA) Steps – Business Intelligence

Introduction:
In our BI System there are several numbers of reports which are highly complex and very sensitive with
respect to data being fetched, which helps in making decisions on the basis of data of your transactional
system. Sometimes single change in the transactional data can help us to make any of our changes in
important decisions.
Using new functionality of Real-time Data Acquisition (RDA) we can now load data into SAP BI system every
time it gets updated in the system.
The source system for RDA could be SAP System or it could be any non-SAP system. SAP is providing most
of the Standard Data Sources as real-time enabled. Over here I am implementing this whole process with the
help of Web services but you can choose any of the options present in the system.

Step-by-Step Solution
Create Web service Data source in BI system. For this select web service from the source system and click
on create.

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


© 2009 SAP AG 3
Real Time Data Acquisition (RDA) Steps – Business Intelligence

It will show u the following options. Put a logical system name, source system name and the type and
release as shown.

When you double click on the logical system name, it will take you to the specific data source that is data
source for WEB.
Then create an application component and a specific data source for that logical system.

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


© 2009 SAP AG 4
Real Time Data Acquisition (RDA) Steps – Business Intelligence

In the fields tab specify the fields which you want to give in your DSO.

In my DSO there were 6 fields. You can specify which fields are there in your DSO. Save and activate your
data source.
When you successfully activate your data source then in the extraction tab ‘Function Module’ and ‘Web
Service’ automatically gets generated.

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


© 2009 SAP AG 5
Real Time Data Acquisition (RDA) Steps – Business Intelligence

Now you need to create a DSO with all those fields which are being used in the data source.

Right click on DSO and create transformation for that DSO. In the object type give the data source name and
the required information.

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


© 2009 SAP AG 6
Real Time Data Acquisition (RDA) Steps – Business Intelligence

Now create Infopackage for that data source

In the processing tab, we enter the maximum time for each request to open. Once the limit exceeds, RDA
creates new request.

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


© 2009 SAP AG 7
Real Time Data Acquisition (RDA) Steps – Business Intelligence

In the schedule tab we try to assign demon. Click on the Assign Demon tab and you will be taken to the RDA
monitor tab.

In this screen you can see that for a particular data source your daemon has been allocated to unassigned
nodes automatically.

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


© 2009 SAP AG 8
Real Time Data Acquisition (RDA) Steps – Business Intelligence

You need to assign it manually from unassigned node to a new daemon. This is basically required to start
the daemon.

Give a daemon id for that. Over here 11 daemons are already created so I gave it number 12. But you need
to number it accordingly to the daemons present in the system.

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


© 2009 SAP AG 9
Real Time Data Acquisition (RDA) Steps – Business Intelligence

Assign the DTP for newly created Daemon.

The following screen appears in which you need to give the DTP name which you want to assign.

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


© 2009 SAP AG 10
Real Time Data Acquisition (RDA) Steps – Business Intelligence

Then click on start daemon with all Infopackage

Once you start the daemon you can check the request which is open of data load in PSA table of data
source

Now you need to create a RFC to get this data from PSA table to the DSO via DTP. For that create a RFC
ZTEST_RFC and the code is as below.

This is actually the import parameters which are taken for the RFC to be created. In the associated type you
see the function module name that was generated automatically when we activated the data source.

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


© 2009 SAP AG 11
Real Time Data Acquisition (RDA) Steps – Business Intelligence

If you double click on the associated type, then you reach the line type screen.

Then if you double click on the line type you will see the structure of the DSO in the components tab.

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


© 2009 SAP AG 12
Real Time Data Acquisition (RDA) Steps – Business Intelligence

This is the coding for the RFC.

This function module which is used in between RFC “/BIC/CQZDS_DSO00002000” is that function module
which was automatically generated when we activated the data source.
Here we have only used the fields which were used in the DSO and passed the fields some values via hard
coding and then collected those values in the internal table IT_data and passed that itab in the function
module.

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


© 2009 SAP AG 13
Real Time Data Acquisition (RDA) Steps – Business Intelligence

Now execute this RFC

It will show the screen after executing the RFC.

The record comes to PSA and it will show the open request for DTP.

Click on start demon by right clicking on Daemon name.

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


© 2009 SAP AG 14
Real Time Data Acquisition (RDA) Steps – Business Intelligence

Now when you start its status will become green

You can see the open request in the RDA monitor of DTP.

Now you can check the data in DSO which is updated in the DSO.

Now you can close the request in the Daemon.

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


© 2009 SAP AG 15
Real Time Data Acquisition (RDA) Steps – Business Intelligence

Now you can stop the daemon although it will continuously run and when the request comes then it will load
the data.

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


© 2009 SAP AG 16
Real Time Data Acquisition (RDA) Steps – Business Intelligence

Related Content
http://help.sap.com/saphelp_nw2004s/helpdata/en/44/47928e2bd13f8ee10000000a1553f7/content.htm
https://www.sdn.sap.com/irj/scn/thread?messageID=1384154
https://www.sdn.sap.com/irj/scn/thread?messageID=6606066#6606066

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


© 2009 SAP AG 17
Real Time Data Acquisition (RDA) Steps – Business Intelligence

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.

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


© 2009 SAP AG 18

Das könnte Ihnen auch gefallen