All SAP Datasphere interview questions in one place, grouped by page. Read the page when an answer needs more depth.
How to practise: cover the answer, say yours out loud in 30–60 seconds, then compare.
01 · Datasphere Overview, Architecture & Spaces
Q1. What is SAP Datasphere in one sentence?
A SaaS data warehouse and business data fabric on SAP HANA Cloud that integrates, federates or replicates SAP and non-SAP data into secure spaces, models it with business semantics and exposes it to SAP Analytics Cloud and other tools; it is the data foundation of SAP Business Data Cloud.
Q2. How is SAP Datasphere related to SAP Data Warehouse Cloud?
It is the same product renamed in March 2023: DWC (launched 2019) became SAP Datasphere with added catalog, replication flow and marketplace capabilities. Existing tenants were updated automatically; technical IDs such as sap.dwc role IDs and the DWC_ prefix still show the old name.
Q3. What is a space and why does it matter?
A space is a secure area in the tenant where all modeling happens. It has its own schema, storage quota, priority, users (via scoped roles), connections and database users. Objects are invisible to other spaces until shared or exposed. Spaces are therefore the main tool to separate departments or layers and to control cost and security.
Q4. What is the difference between a standard space and a file space?
A standard space stores data in SAP HANA Cloud (memory and disk) and supports all objects. A file space stores data as local tables (file) in the object store on SAP HANA data lake files, processed with Apache Spark; it is a cheap inbound layer for large volumes, supports replication flows, transformation flows and task chains, and shares its tables to standard spaces for modeling.
Q5. Explain global roles, role templates and scoped roles.
Global roles carry tenant-wide privileges (administration, catalog) and are assigned directly to users. Role templates such as DW Modeler define space-related privileges. A scoped role combines a template with a set of spaces and users, so one user can be modeler in one space and viewer in another.
Q6. Which standard roles do you know and what can a DW Consumer do?
System Owner, DW Administrator (global); DW Space Administrator, DW Integrator, DW Modeler, DW Viewer and DW Consumer (templates); Catalog Administrator and Catalog User; AI and Joule consumer roles. A DW Consumer cannot log in to Datasphere – the user only consumes exposed data in SAC or other tools.
Q7. What happens when a space exceeds its storage quota?
After 60 minutes the space is locked: users can still edit and save in the repository but cannot deploy. A space administrator can unlock it for a 24-hour grace period; then data must be deleted or the administrator assigns more disk or memory (or disables the quota).
Q8. Describe the architecture of a Datasphere tenant.
Browser apps write definitions into a repository (CSN); deploy creates run-time objects in the tenant's SAP HANA Cloud database, one schema per space, with memory, disk and optional data lake tiers. File spaces live in the object store with Apache Spark. Connectivity uses the replication flow engine, Cloud Connector, Data Provisioning Agent and smart data access. Optional elastic compute nodes and BW bridge add capacity and BW functions. Consumers are SAC, Excel, OData and SQL clients.
Q9. How is a Datasphere tenant provisioned and charged?
As part of SAP Business Data Cloud in SAP for Me, or as a service instance in the SAP BTP cockpit (standard plan, or a free plan for 90 days). Resources – memory, storage, data lake, object store, data integration hours, premium outbound blocks, ECN block-hours, catalog – are configured on the Tenant Configuration page and converted into capacity units, metered hourly.
Q10. Which sizing decisions are hard to reverse?
Disk storage cannot be downsized (the tenant must be recreated), BW bridge storage cannot be downsized, and data lake storage can only be reduced by deleting and recreating the data lake. Memory can be reduced within limits. Size storage carefully and use elastic compute nodes instead of permanent memory for short peaks.
Q11. How would you design spaces for a company with S/4HANA, SuccessFactors and several LoBs?
Integration spaces per source (connections, replication flows, raw tables), a central harmonization space for cleansed master and transaction data with data access controls, and LoB consumption spaces with analytic models for SAC. Share views (with DACs) instead of tables, give priority to consumption workloads, and use a file space if very large raw volumes must be staged cheaply.
Q12. When would you choose Datasphere instead of S/4HANA embedded analytics or BW/4HANA?
Embedded analytics is enough for real-time operational reporting within one S/4HANA system. Datasphere fits when data from several SAP and non-SAP systems must be combined, historised, governed and shared in the cloud, especially as part of Business Data Cloud. BW/4HANA remains an option for customers who stay on-premise; many landscapes combine them during a transition.
02 · Data Integration – Connections, Replication & Data Flows
Q1. What are the main ways to bring data into SAP Datasphere?
Federation with remote tables, replication with replication flows (or remote table snapshot / real-time replication), transformation and load with data flows and transformation flows, and push or import: Open SQL schema, partner tools, CSV files, Data Marketplace, Content Network and the Import Entities wizard. Task chains orchestrate them.
Q2. When do you federate and when do you replicate?
Federate when data must stay in the source, volumes are small and the source can answer fast; replicate when performance, source load, history or availability matter, or when data is combined heavily. Many projects start federated and persist the objects that turn out slow.
Q3. Replication flow vs data flow vs transformation flow?
A replication flow copies up to 500 objects 1:1 with initial and delta loads to many targets. A data flow is graphical ETL with operators and Python into one local table, initial load only. A transformation flow transforms local data with a graphical or SQL view into one table and supports delta through delta capture tables, on SAP HANA or Apache Spark.
Q4. What load types does a replication flow support and what does "At Scheduled Time" mean?
Initial Only, Initial and Delta, Delta Only. Initial and Delta normally runs as a long-running task checking for deltas every interval (default 60 minutes). With Delta Load Run = At Scheduled Time the flow processes the available deltas and ends, so it can be scheduled or placed in a task chain.
Q5. How is replication charged and how do you control the cost?
By the run time of replication flow jobs in data integration execution hours, not by records. A longer delta interval or scheduled delta runs reduce hours. Non-SAP targets additionally consume premium outbound integration blocks of 20 GB each.
Q6. What are Cloud Connector and Data Provisioning Agent used for?
The Cloud Connector links on-premise systems to Datasphere for replication flows, data flows, model import, the ABAP SQL service and SAP HANA smart data access. The Data Provisioning Agent hosts SAP HANA smart data integration adapters for classic remote tables (federation and snapshot / real-time replication); one agent serves one tenant.
Q7. Which S/4HANA objects can a replication flow read?
Extraction-enabled CDS views (@Analytics.dataExtraction.enabled) via the ABAP Pipeline Engine, CDS view entities exposed with the ABAP SQL service, ODP sources (SAPI extractors, BW InfoProviders) and SLT tables. For delta, CDS views need a delta annotation such as automatic change data capture; objects without a primary key support only the initial load.
Q8. What is the ABAP SQL service and why is it recommended?
A standard ABAP protocol that gives SQL (ODBC) access to CDS view entities listed in a service definition with an SQL – Web API binding and protected by privileged-access roles. Datasphere uses it for federated remote tables (ABAP platform 2022+) and replication (2025+). It exposes only released or custom CDS entities – clean core, no table access.
Q9. What is delta capture on a local table?
A setting chosen before the first deploy that adds Change Date and Change Type columns and creates a delta table plus an active-records view. Replication and transformation flows read and write changes, including deletions, while views see only active records. Deleted records are cleaned up with a task chain activity.
Q10. A replication flow from S/4HANA is slow during the initial load. What do you check?
Source and target thread limits (default 10, up to 160), the number of parallel jobs the tenant has (data integration hours), other flows sharing the jobs, partitioning of big objects, fast serialization, filters to reduce volume, and source system load. Large objects can get their own flow; schedules can be staggered.
Q11. How do you orchestrate a nightly load in Datasphere?
With a task chain: e.g. run replication flows (At Scheduled Time), then transformation flows, persist views, delete old delta records and send a notification; parallel branches with ANY / ALL, Retry Run, parameters. The chain is scheduled with cron by a user or technical user with valid consent and monitored in the Data Integration Monitor.
Q12. As an architect, how would you design S/4HANA extraction for a clean-core greenfield project?
Use released CDS views (or custom CDS view entities on released objects) as the only interface, replicate them with replication flows into an ingestion space with delta capture tables, federate small or real-time data via the ABAP SQL service, avoid table-level and ODP RFC access by third-party tools, use Import Entities to bring semantics, and size data integration hours and parallel jobs for the initial loads. In BDC, prefer SAP-managed data products where they exist.
03 · Data Modeling – Data Builder, Views & Analytic Models
Q1. Which modelling objects does the Data Builder offer?
Local and remote tables, graphical views, SQL views (SQL or SQLScript table function), analytic models, intelligent lookups, E/R models and data access controls, plus the flows and task chains for data integration and generated currency / time objects. Everything lives in a space, is saved to the repository and deployed to the space schema in SAP HANA Cloud.
Q2. What is the difference between an association and a join?
A join combines the data every time the view runs. An association only declares the relationship; the join is executed on demand when a consumer uses a field of the target. Associations connect facts to dimensions, dimensions to texts and hierarchies, and are what the analytic model and SAC navigate.
Q3. Which semantic usages exist and what do they require?
Fact (at least one measure), Dimension (at least one key; standard or fiscal time), Text (member and language keys), Hierarchy (parent / child, child as key), Hierarchy with Directory (several hierarchies with a directory dimension) and Relational Dataset (default). Analytical Dataset is deprecated – use Fact plus an analytic model.
Q4. What is an Analytic Model and why did it replace the analytical dataset?
It is the multidimensional consumption object built on a fact (or another analytic model). Unlike the analytical dataset it supports calculated, restricted, count distinct, conversion and non-cumulative measures, exception aggregation, variables, structures, global filters, selective exposure of measures and dimensions (including second-level dimensions) and a rich analytical preview.
Q5. Explain standard and exception aggregation.
Standard aggregation summarises a measure over the dimensions not in the drill-down; exception aggregation applies a different rule for named dimensions, e.g. LAST over time for stock or AVERAGE over customer. Order: standard aggregation, then formula, then exception aggregation – exception aggregation is slower, so use few dimensions.
Q6. How do you model stock (a non-cumulative key figure) in Datasphere?
A fact with the movements and reference points, a record type column (0 delta, 1 reference point, 2 delta included), a date associated to a time dimension, and a non-cumulative measure in the analytic model with exception aggregation FIRST / LAST over time.
Q7. Which variable types does an analytic model have?
Standard variables (mapped to fact input parameters, sub types reference date and fiscal variant), filter variables on dimensions, restricted measure variables used inside one restricted measure, and reference date variables for time-dependent data. Values can be derived from a lookup entity or given a dynamic default.
Q8. When do you persist a view, and what blocks persistence?
When a virtual view is slow or puts load on a remote source: persist it (with schedules and partitions) after checking it with the View Analyzer. A view cannot be persisted if it consumes a view protected by a data access control; persistence of views with input parameters covers only the default value.
Q9. What does releasing a view mean?
Release State Released guarantees stable output for at least two years: only additive changes (new columns, associations, parameters with defaults) are allowed. To retire it you deprecate it with a successor and later decommission it – like the C1 contract for S/4HANA CDS views.
Q10. How do you bring S/4HANA semantics into Datasphere?
With the Import Entities wizard / Semantic Onboarding on an S/4HANA connection: it reads released CDS views (filter by modeling pattern and release contract C1), creates facts, dimensions, texts and hierarchies with associations, and loads data via replication flows or remote tables. Currency tables come from the Currency Conversion Views generator, calendars from the generated time dimensions.
Q11. When would you use an intelligent lookup?
When two data sets must be combined but there is no clean join key – free-text names, partial codes, external data. Exact and fuzzy rules match records iteratively; a business expert reviews the uncertain and unmatched results; the output is a reusable view.
Q12. As an architect, how do you structure models across spaces?
Inbound spaces with 1:1 replicated or remote source tables; harmonisation views where data is cleaned, joined and secured with data access controls; released semantic views (facts, dimensions) shared to consumer spaces; small analytic models per business question on top. Persist where the View Analyzer shows it pays off, and share currency and time data centrally.
04 · Business Layer, Consumption, Security & Catalog
Q1. Which ways exist to consume Datasphere data?
Analytic models live in SAC stories and in the SAC Excel add-in; analytic models and exposed views through the OData consumption API (analytical and relational); exposed views over ODBC/JDBC with a database user; planning integration with SAC (seamless planning, OData import, CDI export); physical outbound replication with premium outbound integration.
Q2. What was the Business Builder and what replaces it?
A semantic layer of business entities, fact models, consumption models, perspectives and authorization scenarios on top of Data Builder views. It is deprecated and receives no updates; analytic models (with data access controls) replace consumption models and perspectives.
Q3. How do you migrate an analytical dataset without breaking stories?
Create an analytic model from the dataset, add it as a new source in the stories, copy and repoint the pages, compare, delete the old pages, then switch the view to semantic usage Fact and redeploy.
Q4. What does a user need to see a Datasphere analytic model in SAC?
An SAC role such as BI Content Creator, a live data connection to the tenant, a scoped role with Data Warehouse Consumption and Space Files read on the space (DW Consumer is enough), the Optimized Design Experience, and DAC entries if the model is protected.
Q5. How do you read an analytic model from Power BI or a custom app?
Through the analytical OData API /api/v1/datasphere/consumption/analytical/<space>/<model>/<model> with an OAuth client (interactive authorization code, technical user client credentials or SAML bearer). $select defines the aggregation; variables are passed as (<var>=<value>)/Set; about 300 requests per user per minute.
Q6. Explain the Datasphere security layers.
Authentication by the IdP; global and scoped roles for what a user may do per space; spaces and sharing for which objects are visible; data access controls for row-level security; plus audit logs and personal-data tagging.
Q7. What is a data access control and which types exist?
A Data Builder object that filters rows by the current user, based on a permissions entity mapping user IDs (or IdP attributes, OAuth technical users, database users) to values. Types: Single Values, Operator and Values, Hierarchy and Hierarchy with Directory. It is applied to views and analytic models and inherited by everything built on them.
Q8. A modeler in the IT space can see all rows although a DAC is applied. Why?
DACs are enforced when the view is shared to another space or consumed outside the space; inside the owning space the unprotected sources stay reachable. Keep raw data and DACs in a restricted space and share only protected views.
Q9. How do you reuse BW analysis authorizations?
Implement SAP Note 3062381 in BW 7.5 SP16+ or BW/4HANA 2.0+ to generate the RSDWC_RSEC_DAC permissions table, then run the Import Permissions wizard: it imports the table and creates a permissions SQL view and a DAC per imported InfoProvider and applies it. Keep the table current (federated or daily refresh).
Q10. What is the difference between a catalog asset and a data product?
An asset is the extracted metadata of an existing object (Datasphere view, SAC story, BW ADSO) that you open in its system. A data product is a curated data set with an API definition that you request, get an agreement for and install into a space by federation or replication.
Q11. How is a Business Data Cloud data product installed technically?
After the access request is approved, installation creates the objects once in the connection's ingestion space – remote tables for federation or local tables plus a replication flow for replication – and shares them to the requesting modeling space. Updates are applied automatically; reinstall switches the access mode.
Q12. As an architect, how do you design consumption and security for a new tenant?
Analytic models as the only SAC / Excel interface, released views exposed for OData / SQL tools; DW Consumer scoped roles for business users; IdP-attribute-based DACs on harmonised views in an IT space, shared to business spaces; audit policies on spaces with personal data; catalog governance with glossary, KPIs and published assets; monitoring of capacity, expensive statements and task logs.
05 · Development, APIs & Lifecycle
Q1. What is the difference between an SQL view in standard SQL and one in SQLScript?
Standard SQL is one SELECT statement; Datasphere derives the output columns. SQLScript creates an SAP HANA Cloud table function: you write the body with table variables, IF and loops and finish with RETURN. It is read-only, output columns often need manual maintenance, it cannot be formatted or generated with AI, and delta loads from BW bridge remote tables require standard SQL.
Q2. Which SQL rules typically break a Datasphere SQL view?
Missing double quotes around technical names, TOP instead of LIMIT, mixing aliases and source names, unused input parameters, and objects of other spaces without the space ID as schema.
Q3. What is an Open SQL schema and when do you use it?
The schema of a database user created by a space administrator, named SPACE#SUFFIX. It holds own tables, views and SQLScript procedures, serves ETL and BI tools via ODBC / JDBC, reads views exposed for consumption, and gives access to PAL / APL. Use it for what the Data Builder cannot do or for external tools – not as the default modeling place.
Q4. How can a space write into an Open SQL schema or run its procedures?
The database user calls DWC_GLOBAL.GRANT_PRIVILEGE_TO_SPACE with GRANT and one privilege (INSERT, UPDATE, DELETE, EXECUTE or ALTER) at schema or table level. Then data flows can target its tables and task chains can run its procedures from the SQL Script Procedures folder.
Q5. Database user, database user group, HDI container – what is the difference?
A database user belongs to one space and has one Open SQL schema. A database user group is created by an administrator, is not tied to a space and can share its schemas with several spaces. An HDI container is built with HANA tools via SAP HANA for SQL data warehousing, needs instance mapping and the DWC_CONSUMPTION_ROLE / DWC_WRITE_ROLE roles, and is assigned to exactly one space.
Q6. What are the rules for Python in a data flow?
You implement transform(data) on a Pandas DataFrame and return a DataFrame with exactly the declared output columns. NumPy and Pandas are available as np and pd without imports; I/O and introspection functions are blocked. Data arrives in batches, so no logic that needs the whole table.
Q7. How do you automate Datasphere?
With the datasphere CLI (spaces, database users, objects, packages, tasks) and the REST APIs (tasks, replication flows, connections, SCIM, consumption, content). Both authenticate with OAuth clients: Interactive Usage for users, Technical User or API Access for unattended jobs – with limits such as no BW bridge process chains for technical users.
Q8. How does a transport work in Datasphere compared with ABAP?
There are no transport requests: a space administrator models a package with objects of one space, its lineage and required packages and a semantic version, exports it to the Content Network, and the target tenant imports it with space mapping, overwrite option and optional deploy. SAP Cloud Transport Management adds routes, scheduled imports and audit.
Q9. What does the Transport app not move?
Data (except local tables with Allow Data Transport in a BDC formation), connection credentials (connections are never overwritten), Open SQL schema objects, HDI containers and BW bridge objects. Task chains are transported without the objects they run unless those are in the package.
Q10. What is a released view and why would you release one?
A view whose release state is Released: it must keep its columns, parameters and associations for at least two years; you can only add. To retire it you deprecate it with a successor and decommission it after a year. It gives other spaces, SAC and OData consumers a stable interface.
Q11. A task chain must start after an SAP job outside Datasphere. How do you design it?
Let the external scheduler call POST /api/v1/datasphere/tasks/chains/<space>/run/<chain> with a technical-user token and input parameters, keep the returned logId and poll the logs endpoint; or, the other way round, call the external system from the chain with an asynchronous API task.
Q12. Where do you keep the source of Datasphere models for review and audit?
The repository keeps versions per deployment and Activities log every deploy. For external review, export CSN/JSON per object with the CLI into version control; the actual promotion still runs through packages and the Transport app or CTMS so that dependencies and release states are checked.
06 · BW Bridge, Migration & Architect View
Q1. What is the SAP BW bridge?
An optional Datasphere feature that provides BW functionality in the public cloud: a separate tenant on the ABAP platform in SAP BTP with its own HANA Cloud, holding InfoObjects, ADSOs, CompositeProviders, transformations, DTPs and process chains, fed by ODP source systems and BW bridge content. Its objects are imported into Datasphere as remote tables in a generated BW bridge space and shared to other spaces.
Q2. What can you not do in the BW bridge compared with BW/4HANA?
No SAP GUI back-end access, no own reporting front end, no Open Hub, source connectivity through ODP source systems, no application development, and routines may only use objects SAP has released. Business semantics and consumption are built in Datasphere.
Q3. How do you connect an on-premise ECC to the BW bridge?
Through the Cloud Connector with RFC: add the Datasphere subaccount and the ECC system, a service channel to the bridge, a communication system and arrangement with SAP_COM_0692 in the BW Bridge Cockpit, the ODP source system in the BW Modeling Tools, and the callback RFC destination in ECC.
Q4. How does bridge data reach an analytic model?
Import Entities with the BW bridge connection creates remote tables in the BW bridge space, shares them to a target space and generates views and entities there. Extraction views feed transformation flows that load deltas into local tables; views and analytic models build on them; a task chain runs the bridge process chain first.
Q5. Shell or remote conversion – what is the difference?
Shell moves metadata only, data is reloaded and delta DataSources are initialised again. Remote moves metadata and data via RFC, converts request IDs to TSNs and clones delta queues so sender and bridge can run in parallel; it needs BW 7.3 SP10 or higher, the DMIS add-on and SAP_COM_0818 in addition to SAP_COM_0691.
Q6. How are BW bridge developments transported?
With gCTS software components: created in Manage Software Components, cloned as source (push and pull) in development and as target (pull only) in test and production; objects live in development packages below the structure package, never in $TMP. The Datasphere side is transported with packages; use the same BW bridge space name in all tenants.
Q7. How do you bring BW/4HANA queries into Datasphere without moving BW?
Create an SAP BW/4HANA Model Transfer connection (tunnel connection and Data Provisioning Agent) and import the analytic queries with the Import Entities wizard; Datasphere generates consumption models, business entities, views and remote tables. For BW 7.x only queries as InfoProviders over an SAP BW or SAP ABAP connection are possible.
Q8. How do you reuse BW analysis authorizations in Datasphere?
Generate table RSDWC_RSEC_DAC in BW with the report from SAP Note 3062381, then run the Import Permissions wizard: it imports the table and creates a permissions view, a data access control and a protected view per object. Supported from BW 7.5 SP16 and BW/4HANA 2.0.
Q9. How is Datasphere licensed and what drives the cost?
Through capacity units – as part of BDC or via SAP BTP subscription or consumption contracts. CU go to memory and storage, data integration execution hours, premium outbound volume, object store, catalog, data lake, elastic compute nodes and BW bridge storage; the Capacity Unit Estimator shows valid combinations. A BW bridge cannot be downsized.
Q10. How would you structure spaces in a large Datasphere implementation?
Inbound spaces per source, a shared harmonization space with released fact and dimension views and data access controls, consumption spaces per domain with analytic models, and sandbox spaces for business users – objects shared upwards, one owner each, quotas and workload limits per space, identical space IDs across tenants.
Q11. A customer on BW 7.5 asks: BW bridge, BW PCE or rebuild?
BW bridge for small or medium extractor-based BWs that must move to the public cloud and reuse staging; lift to BW PCE in BDC with the Data Product Generator for large BWs near end of maintenance; native rebuild when models are outdated and S/4HANA CDS sources exist. Usually a combination per use case, with harmonisation views joining BW history and new data.
Q12. Why replicate from the bridge instead of reporting on it directly?
Bridge remote tables use smart data access without partitioning and the data stays in the bridge; SAP recommends extraction views with transformation flows to replicate deltas into Datasphere, where modeling, data access controls and analytic models can work on local, well-performing data.