Handling Duplicate Data Records

Use

DataSources for texts or attributes can transfer data records with the same key into BI in one request. Whether the DataSource transfers multiple data records with the same key in one request is a property of the DataSource. If you want to transfer multiple data records with the same key (referred to as duplicate data records below) to BI more than once within a request, this could be specific to an application, and not an error. BI provides functions to handle duplicate data records so that you can accommodate this.

Features

In a dataflow that is modeled using a transformation, you can work with duplicate data records for time-dependent and time-independent attributes and texts.

If you are updating attributes or texts from a DataSource to an InfoObject using a data transfer process (DTP), you can specify the number of data records with the same record key within a request that the system can process. In DTP maintenance on the Update tab page, you set the Handle Duplicate Record Keys indicator to specify the number of data records.

This indicator is not set by default.

If this indicator is not set, data records that have the same key are written to the error stack of the DTP.

If you set the indicator, data records with the same key are handled as follows:

  • Time-independent data:

    If data records have the same key, the last data record in the data package is interpreted as being valid and is updated to the target.

  • Time-dependent data:

    If data records have the same key, the system calculates new time intervals for the data record values. The system calculates new time intervals on the basis of the intersecting time intervals and the sequence of the data records. The prime criteria is the interval of the last data record; the intervals of the previous data records are corrected.

Note

You can specify how data records with the same key are handled within a request independently of whether the setting that allows DataSources to deliver data records that potentially have the same key has been made. This is useful if the setting was not made to the DataSource, but the system knows from other sources that data records with the same key are transferred (for example, when flat files are loaded).