Quality, freshness and observability
Free sample lesson · open to everyone
Data quality and freshness are explicit service expectations, not side effects of a pipeline being green. Define key uniqueness, acceptable lag, schema compatibility and reconciliation rules. Distinguish late data from duplicates and from changed business definitions.
In this lessonShow sectionsHide sections
Visual overview
The situation: a real project scenario
A fictional daily order metric is technically successful but missing late-arriving cancellations: the nightly job completes with a green status and the expected row count, but an order that was cancelled at the source after the extraction window still shows as open in the consumer's reported metric. The pipeline's success status reflects that it ran, not that the numbers it produced are current or correct.
Explanation
Tutorial outcome
Data quality and freshness are explicit service expectations, not side effects of a pipeline being green. Define key uniqueness, acceptable lag, schema compatibility and reconciliation rules. Distinguish late data from duplicates and from changed business definitions.
Prerequisites
Complete chapters 1–9 in this module. Use synthetic fixtures or an authorized sandbox.
Worked case — fictional
A fictional daily order metric is technically successful but missing late-arriving cancellations.
Step-by-step investigation
1. Contract
Define key, update-time meaning, freshness target and cancellation handling.
Expected evidence: Each order has a stable key and an agreed freshness limit.
2. Measure
Compare source and consumed timestamps and reconcile order status counts.
Expected evidence: The consumer is two refresh periods behind.
3. Classify
Separate late arrival, duplicate keys and transformation defects with minimal fixtures.
Expected evidence: A cancellation update was omitted, not a duplicate order.
4. Recover
Reprocess through a supported path and verify downstream totals and latency.
Expected evidence: The cancelled order no longer inflates the open total.
Try it yourself
Reproduce the synthetic input from the example below in a local fixture or authorized sandbox. Follow each step, record the observed result, and explain any mismatch before continuing. Do not treat the expected evidence as a result observed in your SAP tenant.
Acceptance check
The learner can prove the difference between successful processing and current, correct data.
Common failure to avoid
Do not infer freshness or completeness from a successful job status alone.
Self-check
What proves that the metric is current?
Expected reasoning: A measured freshness check plus reconciliation of relevant updates.
Edition and release scope
Check the linked SAP documentation for your product, runtime, region and enabled service plan. The worked case is a simulation; these steps were not executed in a customer SAP tenant.
SAP references
References checked 2026-10-30. SAP material supports the named concepts; the case, fixture and acceptance checks are original ERPClimb teaching material. No SAP tenant execution or certification is claimed.
[SAP Help — Working with data products](https://help.sap.com/docs/SAP_BUSINESS_DATA_CLOUD/f7acf8c9dad54e99b5ce5ebc633ed8e1/fcf9975b49ea4adeb837e4be16116175.html) — SAP-managed data products, packages and consumption
[SAP Learning — Installation, access agreements and lifecycle](https://learning.sap.com/courses/developing-detailed-knowledge-of-sap-business-data-cloud/extending-data-products_d60954ca-c983-4da3-b98d-460b1fe82820) — Access requests, federation/replication and schema-change checks; tenant dependent
Code example
{"order":"A201","sourceStatus":"cancelled","consumerStatus":"open","diagnosis":"stale-update"}Loading guided workshop…
Watch out
Common mistakes
Do not infer freshness or completeness from a successful job status alone. A job finishing without error only confirms that the process executed; it says nothing about whether source changes that occurred near or after the extraction window - such as a late cancellation - were captured, so a green pipeline can still deliver stale or incomplete data to consumers.
Do this
Best practices
The learner can prove the difference between successful processing and current, correct data. Define an explicit freshness or lag tolerance for each metric rather than trusting job-success status, build a reconciliation check that specifically targets late-arriving changes such as cancellations near the extraction cutoff, and alert on a freshness or completeness failure separately from a pipeline-execution failure. Check the linked SAP documentation for your product, runtime, region and enabled service plan. The worked case is a simulation; these steps were not executed in a customer SAP tenant.
In the interview
Interview angle
What proves that the metric is current? A weak answer points to the pipeline's successful completion status. A strong answer runs an explicit freshness check that compares the consumer's reported state against the source for records most likely to have changed recently, such as cancellations near the extraction cutoff, and treats a mismatch as a freshness failure independent of job status.
Practice this lesson
Original educational case studies for SAP consultants, not official SAP certification exam questions. Verify product edition and implementation details against the current SAP documentation.
Quick check
0 of 3 questions attempted
Question 1 of 3
What does data freshness monitoring check?
Question 2 of 3
A dashboard shows yesterday's numbers as today's. What should consumers see?
Question 3 of 3
Which is a useful data quality check for an order data product?
Practise this in an interview
Answer in your own words and get instant feedback, the way an interviewer would judge it.
1How do you implement data observability for data products?
2A KPI suddenly drops 40% overnight. How do you determine if it's real or a data problem?
See it in code
Each example starts from a requirement, shows the design, then the code step by step with a plain-language explanation of every part.
Was this lesson helpful?
Keep exploring
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.