Schema evolution and consumer compatibility
Free sample lesson · open to everyone
An upstream schema change can affect installation artifacts, models and downstream consumers differently. Classify additive and breaking changes, then verify actual compatibility. Current BDC lifecycle procedures include product-version and schema-change checks, but follow the workflow exposed in the target tenant.
In this lessonShow sectionsHide sections
Visual overview
The situation: a real project scenario
A synthetic product changes an amount field's meaning while retaining its technical name: Amount moves from document-currency to reporting-currency between versions, but the field's label, type and position are unchanged. Consumers who compare period-over-period totals without re-checking the field's definition see a silent shift in reported currency, and an automated schema-diff tool reports the change as compatible because no column was added, removed or retyped.
Explanation
Tutorial outcome
An upstream schema change can affect installation artifacts, models and downstream consumers differently. Classify additive and breaking changes, then verify actual compatibility. Current BDC lifecycle procedures include product-version and schema-change checks, but follow the workflow exposed in the target tenant.
Prerequisites
Complete chapters 1–12 in this module. Use synthetic fixtures or an authorized sandbox.
Worked case — fictional
A synthetic product changes an amount field's meaning while retaining its technical name.
Step-by-step investigation
1. Baseline
Record the current schema, field meanings and consuming models before the change.
Expected evidence: Amount means document-currency order value.
2. Detect
Compare technical schema and semantic contract; use supported schema-change tooling where available.
Expected evidence: The new definition uses a different currency basis.
3. Assess
Run consumer fixtures and reconciliation before accepting the version.
Expected evidence: Unchanged field names do not hide the broken meaning.
4. Release
Coordinate compatible model updates or a controlled version transition with rollback.
Expected evidence: Consumers know which contract version they use.
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 change process catches semantic incompatibility as well as removed or retyped fields.
Common failure to avoid
Do not call every additive schema update safe or treat an unchanged field name as an unchanged contract.
Self-check
Can an unchanged technical schema still break a consumer?
Expected reasoning: Yes; changed business meaning can invalidate the consumer's logic.
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 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
{"field":"Amount","v1Meaning":"document-currency","v2Meaning":"reporting-currency","compatibility":"review-required"}Schema evolution and consumer compatibility: evidence walkthrough
Simulated training case. These observations are authored fixtures, not screenshots or results from a customer SAP system.
A synthetic product changes an amount field's meaning while retaining its technical name.
Before you start
- Complete chapters 1–12 in this module. Use synthetic fixtures or an authorized sandbox.
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.
Baseline
Record the current schema, field meanings and consuming models before the change.
Expected evidence · simulated
Amount means document-currency order value.
Automatic playback is disabled by your reduced-motion preference. All steps remain available.
Try it, then verify
The change process catches semantic incompatibility as well as removed or retyped fields.
Watch for: Do not call every additive schema update safe or treat an unchanged field name as an unchanged contract.
Open the ERPClimb lesson diagram at full sizeSAP references and release scope
References checked 2026-10-30. The linked SAP material supports the named concepts; the scenario, fixtures and acceptance checks are original ERPClimb teaching material. This is not an SAP certification or a tenant-execution claim.
- SAP Learning — Installation, access agreements and lifecycle
Access requests, federation/replication and schema-change checks; tenant dependent
Watch out
Common mistakes
Do not call every additive schema update safe or treat an unchanged field name as an unchanged contract. An added column can still break a consumer that does strict column-count validation, and a field that keeps its name and data type can still change its business meaning, as when an amount field is repointed from document currency to reporting currency. Review the business definition of every changed field, not just its technical shape, before approving a version as backward compatible.
Do this
Best practices
The change process catches semantic incompatibility as well as removed or retyped fields. Maintain a documented business definition alongside the technical schema for every exposed field, re-run consumer validation against both old and new definitions before a version is promoted, and require sign-off from the field's business owner when its meaning changes even if its name and type do not. 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
Can an unchanged technical schema still break a consumer? A weak answer checks only column names, types and nullability and calls the change safe. A strong answer also diffs the business definition of each field - units, currency, grain and calculation - because a passing technical diff can still hide a meaning change that silently corrupts a downstream metric.
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
Which change to a data product is usually non-breaking?
Question 2 of 3
How should breaking changes be introduced?
Question 3 of 3
Why keep a list of registered consumers per 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 evolve a data product without breaking consumers?
2A source system adds a new document type that changes totals. How do you handle it?
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.