Transferring Transaction Data Using Web Services (RDA)
Use
If you want to use data that is not available in SAP source systems for operational reporting, use a Web service to transfer the data into the BI system.
Procedure
The procedure describes the data transfer to a standard DataStore object. There are no activation steps or activation requests for write-optimized DataStore objects.
-
Create a Web service DataSource.
-
Implement the Web service in your application.
-
Create a DataStore object.
-
Create a transformation with the DataSource as the source and the DataStore object as the target.
See Creating Transformations .
-
Create a data transfer process (DTP) for real-time data acquisition with the DataSource as the source and the DataStore object as the target.
See Creating Data Transfer Processes for Real-Time Data Acquisition .
-
Create an InfoPackage for the DataSource for real-time data acquisition.
See Creating InfoPackages for Real-Time Data Acquisition .
PSA requests for Web services remain open across several load processes. When you transfer data using Web services, you use this type of InfoPackage to define the size of the request or the time lapsed before the request is closed. The system checks the threshold values before it uses the request to update data. When a threshold value is reached, the system closes the current request and the data transfer is continued using a new request.
-
Switch from the InfoPackage to the monitor for real-time data acquisition.
In InfoPackage maintenance, on the Schedule tab page, choose Assign.
The Monitor for Real-Time Data Acquisition appears (transaction RSRDA).
-
Define a daemon (using
Create Daemon ) or select an existing daemon. -
Assign the DataSource (and the InfoPackage) to the daemon.
The InfoPackage appears in the monitor for real-time data acquisition; the system displays the InfoPackage in the Unassigned Nodes area, under the DataSource for which the InfoPackage was created. In the context menu of the DataSource, choose Assign Daemon to assign the InfoPackage to a daemon. The daemon can now use the InfoPackage for data extraction.
-
Assign the data transfer process to the daemon.
In the context menu of the DataSource, choose Assign DTP. The daemon uses the data transfer process to process data.
-
In the monitor for real-time data acquisition, start the daemon.
In the context menu of the daemon, choose Start Daemon with All InfoPackages .
The daemon waits for a free background job.
Result
When the Web service returns data to the BI system, it is updated into the PSA table.
While the background job is running, the daemon checks the PSA at regular intervals.
When the data has been successfully updated into the PSA table, the daemon starts the data transfer process(es) for real-time data acquisition. This updates the data from the PSA table into the DataStore object. Changes are recorded in the appropriate change log request. The request that transfers the data to the PSA table (PSA request), the data transfer process request, and the change log request for each DataStore object have a 1:1 ratio. The data is activated automatically and written to the change log. This allows you to skip an additional activation step in the DataStore object; data is not written to the activation queue of the DataStore object.
The data is now available for reporting.
Note
If you are using a Web service DataSource, you can use a standard DTP to update data from the PSA. You can also transfer master data to the BI system with a Web service in this way. More information: Transferring Data Using Web Services (Standard) .