Powered By

Free XML Skins for Blogger

Powered by Blogger

Friday, January 9, 2009

Handling of Data Records with Errors in BW BI

Use

On the Update tab page in the data transfer process (DTP), the error handling settings allow you to control how the system responds if errors occur in the data records when data is transferred from a DTP source to a DTP target.

These settings were previously made in the InfoPackage. When using data transfer processes, InfoPackages only write to the PSA. Therefore, error handling settings are no longer made in the InfoPackage but in the data transfer process.

Features

Settings for Error Handling

For a data transfer process (DTP), you can specify how you want the system to respond when data records contain errors. If you activate error handling, the records with errors are written to a request-based database table (PSA table). This is the error stack. You can use a special data transfer process, the error DTP, to update the records to the target.

Temporary storage is available after each processing step of the DTP request. This allows you to determine the processing step in which the error occurred.

Checks for Incorrect Data Records

The following table provides an overview of where checks for incorrect data records can be run:

Where Is Check Run?

Examples of Incorrect Data Records

In the transformation

Field contains invalid characters or lowercase characters

Error during conversion

Error during currency translation

A routine returns a return code <> 0

Characteristic value is not found for master data

Error reading master data

Customer-specific formula results in error

When data is updated to the master data table or text table

Invalid characters in keys or navigation attributes

If no SID exists for the value of the navigation attribute

If no language field is defined for texts

Invalid "from" and "to" dates

Duplicate data records with relation to keys

Overlapping and invalid time intervals

When data is updated to the InfoCube

If no SID exists for the characteristic value

When checking referential integrity of an InfoObject against master data tables or DataStore objects

If no SID exists for the characteristic value

"Repairing" with Error DTP

You create an error DTP for an active data transfer process on the Update tab page. You run it directly in the background or include it in a process chain so that you can schedule it regularly in the context of your process chain. The error DTP uses the full update mode to extract data from the error stack (in this case, the source of the DTP) and transfer it to the target that you have already defined in the data transfer process.

Activities

...

1. On the Extraction tab page under This graphic is explained in the accompanying text Semantic Groups, define the key fields for the error stack.

This setting is only relevant if you are transferring data to DataStore objects with data fields that are overwritten. If errors occur, all subsequent data records with the same key are written to the error stack along with the incorrect data record; they are not updated to the target. This guarantees the serialization of the data records, and consistent data processing. The serialization of the data records and thus the explicit definition of key fields for the error stack is not relevant for targets that are not updated by overwriting.

The default value and possible entries for the key fields of the error stack for DataStore objects that overwrite are shown below:

Default Value/Possible Entries

Which Fields of the Source?

Default value for the key fields of the error stack (fields selected by the system)

All fields of the source that are uniquely assigned to a key field of the target. That is, all the fields of the source that are directly assigned to a key field of the DataStore object in the transformation.

Fields that can also be selected as key fields for the error stack

No comments: