SAP Knowledge Base Article - Public

3833833 - Handling DataSource key definitions exposed through ODP when using SAP Datasphere Replication Flow

Symptom

  • Replication Flow deployment fails
  • Key fields contain initial/null-like values
  • Records are incorrectly aggregated
  • ODP-exposed keys do not match business keys

Environment

SAP Datasphere

Cause

For ODP DataSources as source object, Replication Flow consumes key definitions exposed by ODP metadata.

ODP key definitions may not always align with the expected business key for the target scenario.

Resolution

Currently, SAP Datasphere Replication Flow derives the target primary key from the key definition exposed by the source ODP DataSource and does not provide a mechanism to redefine the key fields within Replication Flow itself, in this situation. Therefore, if a different key definition is required for this scenario, it would need to be addressed through a product enhancement request.

As a workaround, report ROSOA_CHANGE_KEY adjust the key definition on the ODP layer according to your business requirements. This approach does not modify the SAPI DataSource extraction logic itself. Instead, it changes the key definition exposed through the ODP framework and consequently used by Datasphere Replication Flow.

After adjusting the key definition, please recreate the Replication Flow and the target table so that the schema can be derived again based on the updated key configuration.

See Also

Keywords

composite key, key mapping, key inconsistency, technical key, duplicate records, over-aggregation, empty key fields, activation failure, change key report, key harmonization, upsert issues, target key design, key override, key collision, de-duplication , KBA , DS-DI-ABA , Datasphere - Data Flow / Replication Flow ABAP Integration , DS-DI-RF , Replication Flow Runtime , BC-BW-ODP , Operational Data Provisioning (ODP) and Delta Queue (ODQ) , Problem

Product

SAP Datasphere all versions