Governance, access and privacy
Free sample lesson · open to everyone
Catalog discoverability, access agreements, system privileges and row-level consumption rules can have different scopes. Follow the applicable access process and test the actual consumer identity. Revocation must be checked at the consumption boundary, not only in an administration screen.
In this lessonShow sectionsHide sections
Visual overview
The situation: a real project scenario
A fictional analyst can discover a product but must not read another organization's order data: the catalog entry and the space assignment both show the product as available, but row-level restrictions by company code still need to be verified using the analyst's actual test identity, not an administrator account. The team runs the same query as both an authorized and a forbidden company code to confirm the restriction actually blocks the second case.
Explanation
Tutorial outcome
Catalog discoverability, access agreements, system privileges and row-level consumption rules can have different scopes. Follow the applicable access process and test the actual consumer identity. Revocation must be checked at the consumption boundary, not only in an administration screen.
Prerequisites
Complete chapters 1–8 in this module. Use synthetic fixtures or an authorized sandbox.
Worked case — fictional
A fictional analyst can discover a product but must not read another organization's order data.
Step-by-step investigation
1. Classify
Record sensitive fields, permitted purpose and intended organizations.
Expected evidence: The synthetic product contains company codes 1000 and 2000.
2. Grant
Use the supported product-access and target-space process with minimum required privileges.
Expected evidence: The analyst has the agreed training scope only.
3. Test
Query through the actual consumer identity and verify visible and forbidden records.
Expected evidence: The restricted test user cannot read company code 2000.
4. Revoke
Exercise agreement or target-access removal in a sandbox and re-test access.
Expected evidence: Formerly permitted access follows the documented revocation behavior.
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 access design is supported by both positive and negative consumption evidence.
Common failure to avoid
Do not assume catalog visibility or a space assignment automatically enforces every downstream row restriction.
Self-check
Where should an access restriction be verified?
Expected reasoning: At the actual consumption boundary using the relevant test identity.
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
[SAP Learning — Sharing from BDC cockpit](https://learning.sap.com/courses/introducing-the-open-data-ecosystem-for-sap-business-data-cloud/sharing-data-products-from-sap-business-data-cloud-cockpit) — Sharing activated products to supported targets and revoking the target
Code example
{"testUser":"Analyst1000","allowedCompanyCodes":["1000"],"forbiddenCompanyCode":"2000"}Loading guided workshop…
Watch out
Common mistakes
Do not assume catalog visibility or a space assignment automatically enforces every downstream row restriction. Being able to see or discover a product in a catalog says nothing about what rows a given identity can actually read, and a broad space assignment can mask a missing row-level filter. Testing access only with an administrator or superuser account is a second common mistake, since elevated accounts routinely bypass the restrictions an ordinary consumer would hit.
Do this
Best practices
The access design is supported by both positive and negative consumption evidence. Test every access design with a real, representative consumer identity rather than an administrator account, run both an allowed-case and a forbidden-case query to prove the restriction actually blocks what it should, and verify restrictions at the point of consumption rather than trusting catalog or space-level visibility settings. 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
Where should an access restriction be verified? A weak answer checks the catalog's visibility settings or the space-assignment screen and stops there. A strong answer runs an actual query as the lowest-privileged real consumer identity, confirms both the allowed and the forbidden cases return the expected rows, and treats a passing administrator-account test as no evidence at all.
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
How should access to a data product with personal data be granted?
Question 2 of 3
What is data minimisation in analytics?
Question 3 of 3
Analysts need customer-level trends but not identities. What is a good technique?
Practise this in an interview
Answer in your own words and get instant feedback, the way an interviewer would judge it.
1How do you govern access and privacy for data in Business Data Cloud?
2A data scientist requests full customer data for a churn model. How do you respond?
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.