Symptom
When running a Replication Flow in SAP Datasphere that extracts data from an ODP DataSource on an ABAP source system, the replication fails with following errors:
• Failed to retrieve package for consumer ID
• Error during delta extraction
• Failed to fetch data package for consumer ID
Environment
- SAP Datasphere
- SAP BW/4HANA
- SAP NetWeaver BW
- SAP S/4HANA
Reproducing the Issue
- In SAP Datasphere, open a Replication Flow that uses an ODP DataSource on an ABAP system as the source.
- Run the Replication Flow in delta mode.
- Observe the error: "Failed to retrieve package for consumer ID" or "Failed to fetch data package for consumer ID".
Cause
The extraction job ODQR_*** on the ABAP source system failed before the data package could be delivered to the Datasphere consumer.
This can be caused by various transient issues on the ABAP side, such as a temporary lock, a short dump, or a work process timeout.
As a result, the data package remains in a failed state in the ODQ (Operational Delta Queue) and cannot be fetched by the Datasphere Replication Flow.
Resolution
- Investigate and resolve the root cause of the extraction failure on the ABAP source system (e.g., release any locks, review short dumps in ST22, or check work process logs in SM50/SM66).
- After the root cause has been resolved, open transaction ODQMON on the ABAP source system.
- Navigate to the affected DataSource and locate the failed extraction request.
- Select the failed extraction request and click "Read Extraction request again".
- Re-run the Replication Flow in SAP Datasphere and verify that data is extracted successfully.
Keywords
Replication Flow, ODP, ODQ, ODQMON, consumer ID, delta extraction, Failed to retrieve package, Failed to fetch data package, Datasphere, ABAP , KBA , DS-DI-ABA , Datasphere - Data Flow / Replication Flow ABAP Integration , Problem
SAP Knowledge Base Article - Public