Daemon for Real-Time Data Acquisition

Definition

Background process that processes the InfoPackages and data transfer processes assigned to it at regular intervals.

Use

The daemon controls and monitors the transfer process for real-time data acquisition. The daemon performs the following tasks depending on the scenario used:

  • If you are transferring data from an SAP source system, the daemon starts the transfer of data into the PSA using an InfoPackage.

  • It controls the status of the data transfer.

  • It starts the further processing of data into the DataStore object using a data transfer process.

  • It closes and opens requests when threshold values are reached.

  • It triggers the subsequent process chains.

The daemon receives information from the InfoPackage and data transfer process about the data to be transferred or further updated, PSA tables or DataStore objects to be filled, and when a request should be closed and a new one opened.

Function

When you extract data, the daemon works on the basis of the list of DataSources assigned to it in the InfoPackage, extracts the data from the source systems, and transfers it to the PSA table and DataStore objects. It informs the service API in the source system when the data for the target system has been successfully updated. When the PSA request has been successfully closed and a new delta request has been opened, the updated data is deleted from the delta queue of the source system.

When you further update data from the PSA to the DataStore objects, the daemon works on the basis of the list of sources (DataSources) and targets (DataStore objects) assigned to it in the data transfer processes. It transfers data to the DataStore object. The data is directly activated in standard DataStore objects and written to the change log.

Operating Mode

The daemon runs in a permanent background job and switches to idle mode, during which the background job continues execution, between extraction processes.If you are using the service API to transfer data, the RFC connection to the source system remains open. This implies that a permanent RFC connection is required between each source system and BI for real-time data acquisition using the service API. To prevent the system from using too much main memory and to avoid keeping the RFC connection open for too long, the daemon stops independently on a regular basis and reschedules itself. As a result, the main memory can be released and a new RFC connection is opened. This happens without having to close the request for real-time data acquisition.

Error Behavior

The daemon writes each successfully executed step to a control table. If the extraction or update is terminated, the daemon restarts itself and continues the process from the point at which it was terminated. It repeats the entire substep with the granularity of a data package. For example, if execution of the DTP is terminated, the daemon gets the new data from the source and loads it into the InfoProvider together with the data packages that terminated previously.

You define the maximum allowed number of such repetitions when the daemon loads or closes requests in the InfoPackage.

More information: Creating InfoPackages for Real-Time Data Acquisition .