ERPClimb logoERPClimb

SAP SAC / Datasphere Data Federation Interview Questions

Data Federation is a standard block in SAP SAC / Datasphere interviews. It is rarely asked as a definition; it is asked as a situation you have to talk your way through.

Data Federation covers how SAP Datasphere and SAP Analytics Cloud access remote data live, without physically copying it into the platform, using remote tables and live connections. This topic explains the business case for federation versus replication, how connections and remote tables are configured, how query pushdown and runtime execution work across source systems, and the performance, security, and governance trade-offs consultants must manage in production landscapes.

This page carries 12 reviewed SAP SAC / Datasphere data federation interview questions, each with a complete written answer and no sign-in required. The set breaks down into 3 foundational, 6 mid-level and 3 advanced questions, so you can start at the top for a first interview or skip ahead to the scenario-based items for a senior round.

Treat the answers as a starting structure, not a script. Interviewers in SAP SAC / Datasphere rounds follow up on whatever you sound least certain about, so the value is in being able to keep going after the first answer.

12 Data Federation questions with answers

easyData Federation

1. What are the core concepts of Data Federation, and how would you explain them clearly in an SAP interview?

Data Federation covers how SAP Datasphere and SAP Analytics Cloud access remote data live, without physically copying it into the platform, using remote tables and live connections. This topic explains the business case for federation versus replication, how connections and remote tables are configured, how query pushdown and runtime execution work across source systems, and the performance, security, and governance trade-offs consultants must manage in production landscapes. Key lesson areas: Configuring and Modeling with Federated Remote Tables in Datasphere; Configuring Federated Connections and Remote Tables for Production Use; Optimizing Performance and Troubleshooting Federated Remote Table Queries; Tuning and Troubleshooting Federated Query Performance in Datasphere; Understanding Data Federation Fundamentals in SAP Datasphere and SAC; What Data Federation Means in SAP Datasphere and SAC Introduces the concept of data federation, why it exists, and how it differs from data replication in SAP Datasphere and SAP Analytics Cloud. Learn how to diagnose and improve performance of federated (virtual access, non-replicated) remote tables in SAP Datasphere, including query pushdown limits, filter propagation, and common failure patterns in production models. Learn how to diagnose and resolve slow or failing federated queries in SAP Datasphere by analyzing pushdown behavior, join placement, connection limits, and source-system load. Learn the practical steps and considerations for setting up connections and remote tables to support federated access in Datasphere, plus how this surfaces through SAC live connections. Understand the core concept of data federation in the SAP Datasphere and SAC ecosystem, why it exists, and how it differs from replicating data. Walks through the practical steps of setting up connections, creating federated remote tables, and building models on top of them, including runtime and troubleshooting considerations.
easyData Federation

2. Using this SAP project situation — A retail analytics team needed near real-time inventory visibility across regional S/4HANA systems — explain What Data Federation Means in SAP Datasphere and SAC. What should happen, which concepts or process steps matter, and what common mistake would you avoid?

Understand the core concept of data federation in the SAP Datasphere and SAC ecosystem, why it exists, and how it differs from replicating data. Deep explanation: Data federation is the practice of querying data where it lives, in the source system, instead of copying it into a target analytics or data platform first. In the SAP Datasphere and SAP Analytics Cloud (SAC) context, this matters because organizations often need reporting or modeling on data that is large, frequently changing, governed by strict access rules, or simply too costly to duplicate across every consuming tool. Federation lets Datasphere or SAC send a query to the source at run time and return only the result set needed, rather than storing a full copy. In Datasphere, federation is primarily implemented through remote tables that are set to a 'remote' access type (as opposed to 'replicated', where data is physically pulled into Datasphere's in-memory or persisted storage). A remote table object in Datasphere is a virtual representation of a table sitting in a source system, connected through a defined Connection (for example, to an SAP S/4HANA system, SAP BW/4HANA, or a non-SAP database). When a model or view built on that remote table is queried, Datasphere translates and pushes down as much of the query logic as it can to the source system, then returns results back through the semantic layer. On the SAC side, federation shows up in two related but distinct ways. First, SAC can connect live to SAP BW/4HANA, SAP HANA, or S/4HANA via 'live data connections', where SAC never stores the data locally; every story or analysis query goes straight to the source system in real time. Second, when SAC connects to Datasphere, it can also use a live connection, meaning the data displayed in stories is fetched from Datasphere on demand, and Datasphere itself may in turn be federating from an even more original source. This creates a chain: source system to Datasphere (federated) to SAC (federated), where no full physical copy exists at any layer if fully virtual paths are used. Why would a team choose federation over replication? Reasons include: the source data changes too frequently for a replicated snapshot to stay useful (e.g., real-time operational data); storage costs or governance policies discourage duplicating sensitive data; the data volume is too large to replicate economically; or the source system already has strong query performance and the team wants to avoid double maintenance. The trade-off is that federated queries depend on the source system's availability and performance at query time, and network latency or source system load can directly affect the end-user experience in SAC or Datasphere. A critical beginner-level distinction is between 'remote' and 'replicated' access types for Datasphere remote tables. Remote access performs live pass-through queries. Replicated access copies data into Datasphere on a schedule or in real-time replication mode, so subsequent queries hit the local copy, trading some data freshness guarantees for consistent query performance. Many real projects use a mixed strategy: frequently queried, performance-sensitive tables are replicated, while less frequently accessed or highly volatile tables stay federated. Understanding this foundational concept is essential before diving into connection configuration, performance tuning, or security modeling, because every subsequent decision (which connection type to use, whether to enable data access controls, how to model joins across federated and replicated sources) depends on whether you are dealing with a live pass-through query or a stored copy. Recommended practices: • Default to replication for stable, frequently queried master data or dimension tables where slight staleness is acceptable. • Reserve remote (federated) access for highly volatile or very large fact data where replication is impractical or against governance policy. • Always test federated query performance under realistic concurrent user load before promoting to production, since source system contention is invisible in low-volume testing. • Document for business stakeholders which reports are federated so they understand dependency on source system availability. • Periodically review remote table access type choices as data volumes and usage patterns evolve; a table federated at launch may warrant replication later. Common mistakes to challenge: • Assuming 'connecting' a source automatically means data is copied into Datasphere, when in fact the default remote table access type performs live pass-through queries. • Treating federation and replication as interchangeable without evaluating data freshness needs versus query performance needs for the specific use case. • Not accounting for source system load: federated queries add real-time query pressure onto operational systems that may already be busy with transactional workloads. • Overlooking that SAC live connections to Datasphere or BW/4HANA have different feature support (e.g., certain planning or scripting features) compared to import-based models. • Failing to communicate to business users that federated data reflects so
easyData Federation

3. Using this SAP project situation — A retail customer wants a live sales dashboard in SAC that always reflects the current stock levels in their S/4HANA on-premise system, because business users complained that a nightly replicated copy showed stale inventory numbers during promotional events — explain Understanding Data Federation Fundamentals in SAP Datasphere and SAC. What should happen, which concepts or process steps matter, and what common mistake would you avoid?

Introduces the concept of data federation, why it exists, and how it differs from data replication in SAP Datasphere and SAP Analytics Cloud. Deep explanation: Data federation is the capability that lets SAP Datasphere and SAP Analytics Cloud query data directly at its source system, at the moment a report or model requests it, instead of first copying that data into the platform's own storage. This matters because many organizations have large volumes of transactional data sitting in source systems such as SAP S/4HANA, SAP BW/4HANA, or non-SAP databases, and duplicating all of that data into a cloud analytics layer is often expensive, slow to keep in sync, and sometimes disallowed by data governance policy (for example, financial data that must never leave a regulated system boundary except for aggregated results). In SAP Datasphere, federation is implemented primarily through remote tables that are configured in Replication Flow-capable connections but explicitly set to a 'Remote' access mode rather than 'Replicated'. When a remote table is in Remote (federated) mode, no data is copied into Datasphere's own persistence layer. Instead, every time a view or model built on top of that remote table is queried, Datasphere sends a live query request through the underlying connection (commonly using SAP HANA smart data access, ODBC-based connections, or SAP-specific adapters) to the source system, and the source system executes the query and returns only the result set needed for that specific request. The alternative is replication, where the same remote table is instead loaded into Datasphere's storage on a schedule or in real time via Replication Flows, so subsequent queries hit a local copy rather than the original source. The business decision between federation and replication depends on several factors: data freshness requirements, source system query load tolerance, network latency between the cloud platform and the source, data volume, and licensing or governance constraints on data movement. Federation is attractive when data changes very frequently and users need to see the latest values, or when the source data is too large or sensitive to duplicate. Replication is attractive when query performance must be fast and consistent, when the source system cannot tolerate frequent live queries from analytics tools, or when the connection to the source is unreliable. From a runtime perspective, it is critical to understand that federated queries add the source system's own processing time plus network round-trip time to every single query a business user runs. If a source system is already under heavy transactional load, adding federated analytical queries on top can create contention. This is why federation is not automatically the 'best' choice just because it avoids data duplication; it shifts cost from storage and synchronization to runtime query performance and source system load. Another foundational concept beginners must grasp is that federation in SAC/Datasphere is connection-dependent: not every connection type supports live federated access, and the supported query pushdown capabilities vary by source (SAP S/4HANA Cloud, SAP S/4HANA on-premise via Cloud Connector, generic database connections, and other SAP or non-SAP systems each have different federation characteristics). Consultants should always verify, for the specific connection type in scope, whether remote tables can be created in federated mode at all, and what limitations apply to modeling on top of federated objects (for example, some complex calculations or joins may not push down efficiently and could force a fallback to less efficient row-by-row processing). Finally, federation is not an all-or-nothing architectural decision at the model level. A single Datasphere space can mix federated remote tables and replicated remote tables, and models can combine both types of sources, though doing so requires care because federated and replicated objects behave differently under load and during troubleshooting. Recommended practices: • Choose federation primarily when data freshness is a hard business requirement or when governance rules restrict data duplication. • Always assess source system query capacity before enabling federation on high-traffic tables. • Document, per remote table, whether it is federated or replicated so future troubleshooting and performance tuning is straightforward. • Start with replication as a safer default for large historical or slow-changing datasets, and reserve federation for genuinely time-sensitive data. • Revisit the federation-versus-replication decision periodically as data volume and user concurrency grow. Common mistakes to challenge: • Assuming federation always improves performance because it avoids storage costs, when in fact it usually increases per-query latency compared to replicated data. • Federating very large or frequently scanned tables without checking the source system's capacity to handle additional concurrent query load from analytics users. • Not confirming whether the specific connection type actually supports federated (remote) access before designing the model around it.
mediumData Federation

4. How would you apply Data Federation in a real SAP project? Walk through the design or implementation approach.

A consulting team is building a Datasphere model that joins a federated remote table from an on-premise S/4HANA system with a locally replicated dimension table for reporting hierarchies. During testing, story load times in SAC are unacceptably slow. Investigation reveals that the join logic cannot be pushed down entirely to the source because of a calculated currency conversion column on the federated side, forcing large row sets to be pulled and processed inside Datasphere. The team resolves this by moving the currency conversion to a persisted, replicated intermediate table instead of computing it live on the federated object, restoring acceptable performance. A finance team building a group-level margin analysis model needed live figures from an on-premise S/4HANA system that could not be fully replicated due to data governance restrictions on financial detail tables. The integration team set up a Datasphere connection using principal propagation so that each analyst's own S/4HANA authorizations were respected at query time. During UAT, certain views ran slowly because a currency conversion calculation prevented push-down; the team restructured the view to push filtering and aggregation to the source first, then applied the currency conversion on the smaller result set, cutting query time significantly. A retail analytics team needed near real-time inventory visibility across regional S/4HANA systems. Replicating inventory tables every few minutes was rejected due to volume and licensing constraints on storage. The team instead configured Datasphere remote tables with remote access type against each regional S/4HANA system, built a consolidated view on top, and exposed it to SAC via a live data connection. This kept inventory numbers current without duplicating high-volume operational data, at the cost of query response times being tied to each S/4HANA system's load. A retail customer built a SAC analytic model directly on a federated remote table exposing live S/4HANA sales order data so that regional managers could see same-day order status. During month-end close, the dashboard became extremely slow and business users complained it was unusable. Investigation showed the model had almost no filters at the story level, so every dashboard refresh triggered a broad federated query against production S/4HANA at the same time financial closing jobs were running. The consulting team added mandatory filter prompts (fiscal period and sales organization) at the story level to force pushdown-friendly filtering, and moved a separate month-end reporting cube t
mediumData Federation

5. Suppose you inherit an existing Data Federation solution. How would you review it before making a change?

First understand the current business requirement, dependencies, configuration or code path, integrations, production usage, and known pain points. Do not redesign before establishing the existing behavior. Lesson areas to review: Configuring and Modeling with Federated Remote Tables in Datasphere; Configuring Federated Connections and Remote Tables for Production Use; Optimizing Performance and Troubleshooting Federated Remote Table Queries; Tuning and Troubleshooting Federated Query Performance in Datasphere; Understanding Data Federation Fundamentals in SAP Datasphere and SAC; What Data Federation Means in SAP Datasphere and SAC Known mistakes: • Assuming 'connecting' a source automatically means data is copied into Datasphere, when in fact the default remote table access type performs live pass-through queries. • Treating federation and replication as interchangeable without evaluating data freshness needs versus query performance needs for the specific use case. • Not accounting for source system load: federated queries add real-time query pressure onto operational systems that may already be busy with transactional workloads. • Overlooking that SAC live connections to Datasphere or BW/4HANA have different feature support (e.g., certain planning or scripting features) compared to import-based models. • Failing to communicate to business users that federated data reflects source-system-availability windows, so if the source system is down for maintenance, reports will fail or show errors. • Assuming all modeling logic pushes down to the source system when building on federated remote tables, without verifying actual query execution behavior. • Placing complex calculated columns or currency conversions directly on federated objects, which often forces local processing and slows performance. • Overlooking that source-system authorizations and Datasphere access controls must both be checked for federated data, since no local copy exists to apply Datasphere-only security. • Ignoring Cloud Connector health and latency when troubleshooting slow federated queries against on-premise systems. • Joining federated and replicated tables without considering that inconsistent access modes can create unpredictable performance across different parts of the same model. • Assuming federation always improves performance because it avoids storage costs, when in fact it usually increases per-query latency compared to replicated data. • Federating very large or frequently scanned tables without checking the source system's capacity to handle additional concurrent query
mediumData Federation

6. A project encounters this situation while working on Optimizing Performance and Troubleshooting Federated Remote Table Queries: A retail customer built a SAC analytic model directly on a federated remote table exposing live S/4HANA sales order data so that regional managers could see same-day order status. Walk through how you would analyze the requirement or issue, what you would validate, and how you would test the solution before release.

Learn how to diagnose and improve performance of federated (virtual access, non-replicated) remote tables in SAP Datasphere, including query pushdown limits, filter propagation, and common failure patterns in production models. Deep explanation: Data Federation is attractive because it avoids duplicating data and keeps consumption close to real time, but it comes with performance and reliability trade-offs that intermediate-level modelers must understand before promoting federated models to production. When a remote table is set to 'Remote' access (as opposed to 'Replica'), every query issued from a SAC story, analytic model, or Datasphere view against that table is translated into a request sent to the source system through the underlying connection (for example an SAP HANA smart data access connection, an ABAP-based connection to S/4HANA, or a supported third-party source). The performance of that query depends heavily on three factors: how much of the query logic can be pushed down to the source, the responsiveness of the source system itself, and the complexity of joins or calculations layered on top of the federated table inside Datasphere. Pushdown means that filters, aggregations, and sometimes joins are translated into the native query language of the source and executed there, so only the necessary result set is transferred back. Not all operations push down equally well. Simple filters on indexed or well-structured source fields typically push down cleanly. Complex calculated columns defined in a Datasphere graphical view, calculations that reference multiple federated sources, or operations that require row-level scripting in the view logic often cannot be pushed down and force Datasphere to pull larger result sets and process them locally, which increases latency and network load. Joining two federated remote tables from different source systems is a particularly expensive pattern because Datasphere cannot push a cross-system join down to either source; it must pull data from both sides and join locally, which can be slow and resource-intensive if either source table lacks adequate filtering. A second major consideration is source system load. Because federation issues live queries against the source, a poorly filtered dashboard or a wide-open analytic model exposed to many concurrent business users can generate repeated, expensive queries against a production ERP or database, potentially competing with operational transactions for resources. This is a business-critical concern in on-premise S/4HANA landscapes where source system performance directly affects order processing or financial closing. Datasphere and SAC do provide some caching and query optimization, but caching is not universal and cannot be assumed for every source type or connection. Troubleshooting federated performance issues generally follows a structured path. First, isolate whether the delay is in the source system or in Datasphere/SAC by checking whether a native query against the source (where access is available) shows similar latency. Second, examine the view or model design to see which filters exist and whether they are being applied on fields that the source can use efficiently, rather than on calculated fields defined only inside Datasphere. Third, review whether the model mixes federated remote tables with replicated tables or in-memory calculation views, since mixed models can behave unpredictably if one federated source becomes slow while others remain fast. Fourth, confirm connection health and check for authentication, timeout, or connectivity errors that manifest as intermittent failures rather than consistent slowness. A key architectural decision is choosing between federation and replication for a given remote table. Federation is appropriate for data that changes frequently and must be current, for low-volume or well-filtered access patterns, and for exploratory or ad hoc scenarios. Replication is generally preferred for high-volume analytical workloads, frequently reused dimension or fact data, and scenarios where source system contention must be avoided. Some Datasphere source connections support switching a remote table between remote and replica access, and reviewing this switch is often the fastest way to resolve a chronic performance problem, at the cost of introducing a refresh schedule and additional storage. Recommended practices: • Apply filters as close to native source fields as possible to maximize pushdown, and avoid filtering on locally calculated columns when performance matters. • Reserve cross-source joins across multiple federated remote tables for low-volume or well-filtered scenarios; prefer replication when joining large federated datasets. • Enforce mandatory filter prompts in stories consuming federated models to prevent unfiltered, expensive queries against production sources. • Monitor source system load during peak business periods before promoting a federated model broadly to end users. • Periodically reassess whether a remote table should remain federated or be converted to replicated access as usage patterns and data volumes evolve. • Document, for each federated model
mediumData Federation

7. A project encounters this situation while working on Configuring Federated Connections and Remote Tables for Production Use: A finance team building a group-level margin analysis model needed live figures from an on-premise S/4HANA system that could not be fully replicated due to data governance restrictions on financial detail tables. Walk through how you would analyze the requirement or issue, what you would validate, and how you would test the solution before release.

Learn the practical steps and considerations for setting up connections and remote tables to support federated access in Datasphere, plus how this surfaces through SAC live connections. Deep explanation: Moving from concept to implementation, configuring data federation in SAP Datasphere begins with establishing a Connection to the source system. Connections define the technical and authentication details needed to reach a source such as an S/4HANA system, an SAP BW/4HANA system, another SAP HANA Cloud instance, or select non-SAP databases supported by Datasphere's connection framework. Depending on the source, the connection may use principal propagation (passing the end user's identity through to the source, respecting source-level authorizations) or a technical user model (a single service account used for all federated queries, with authorization filtering handled inside Datasphere via data access controls). Once a connection exists, an administrator or data engineer browses available source objects and adds them as remote tables inside a Datasphere space. At this point, a key configuration decision is the access type: remote (federated, live pass-through) or replicated (data physically copied on a schedule or via real-time replication where supported). This choice can often be changed later, but changing it has operational implications: switching from remote to replicated introduces a new scheduling and storage footprint, while switching from replicated to remote removes that footprint but reintroduces dependency on live source performance. For federated (remote) tables, Datasphere pushes down filters, joins, and aggregations to the source system whenever the source's SQL/query engine supports the operation. This push-down is important for performance: if a view built on a remote table forces significant post-processing inside Datasphere (for example, complex calculated columns that cannot be pushed down), then the source system may return a large intermediate result set, and Datasphere does the heavy lifting locally, which can slow down queries significantly. Reviewing the generated query execution details, where available through Datasphere's modeling and monitoring tools, helps identify whether push-down is occurring as expected. A second layer of configuration involves how these federated objects are exposed to SAC. When SAC connects to Datasphere, it typically does so as a live data connection: SAC does not store the query results permanently, so every story interaction generates queries against Datasphere, which in turn may generate queries against the original federated source. This creates a multi-hop federation chain. Latency accumulates across hops, so a story that feels responsive when built against a fully replicated Datasphere model may feel noticeably slower when built against a chain that ends in a remote, federated source table, especially under concurrent user load. Security configuration matters heavily in federated scenarios. If principal propagation is used, the end user querying through SAC must have a valid mapped identity that flows all the way to the source system, and that source system's own authorization objects or roles still apply, meaning data access controls need to be consistent across layers, not just defined once in Datasphere. If a technical user model is used instead, Datasphere-level data access controls (row-level security definitions applied to spaces or views) become the primary enforcement point, and administrators must ensure these controls are correctly scoped so that federated queries do not inadvertently expose broader source data than intended. Troubleshooting federated setups commonly involves three areas: connectivity (network reachability, certificate or credential expiry, firewall rules between Datasphere's cloud environment and on-premise source systems, often requiring a cloud connector or private link setup depending on deployment), performance (identifying whether push-down is happening, checking source system load, and reviewing query timeouts), and data consistency (confirming that what federation returns matches source system reality, since there's no snapshot to independently verify against other than checking the source directly). Production support teams should have a clear checklist to distinguish 'the source system is down or slow' from 'the Datasphere model logic is inefficient' when a federated report fails or times out. Recommended practices: • Choose principal propagation when source-level, user-specific authorization must be strictly respected; choose a technical user model with Datasphere data access controls when centralized governance is preferred. • Design views on remote tables to push filtering and aggregation down first, applying complex calculations only after the result set has been reduced. • Validate network connectivity, credentials, and certificate lifetimes for on-premise source connections proactively, not only at initial setup. • Monitor and periodically reassess whether remote tables under heavy repeated use should be converted to replicated tables to protect source system performance. • Clearly document the
mediumData Federation

8. A project encounters this situation while working on Configuring and Modeling with Federated Remote Tables in Datasphere: A consulting team is building a Datasphere model that joins a federated remote table from an on-premise S/4HANA system with a locally replicated dimension table for reporting hierarchies. Walk through how you would analyze the requirement or issue, what you would validate, and how you would test the solution before release.

Walks through the practical steps of setting up connections, creating federated remote tables, and building models on top of them, including runtime and troubleshooting considerations. Deep explanation: Once the conceptual distinction between federation and replication is understood, the next step for a consultant is knowing how to actually configure federated access in SAP Datasphere and understand the runtime flow when reports execute against it. The configuration process begins with a connection to the source system. In Datasphere, connections are created in the Connections area of a space, and the connection type determines what federation capabilities are available. For SAP source systems such as S/4HANA, connections typically rely on either a direct database-level connection method or an application-level connection depending on deployment (cloud versus on-premise via Cloud Connector). For non-SAP sources, generic database connections (for example, standard SQL-based connections) may be used. Not every connection type exposes the option to mark a remote table as federated; some only support replication. Before designing a model, the consultant must open the connection's associated data source browser in Datasphere, locate the desired source table or view, and check whether it can be added as a remote table with 'Remote' access type selected, as opposed to being forced into replicated mode only. After a remote table is added in federated (Remote) mode, it appears in the space's repository like any other object, but its icon and properties clearly indicate that it has no local persistence. Modelers can then build graphical views, analytic models, or fact models on top of it exactly as they would with a replicated or locally built table. The important behavioral difference emerges at runtime: when a business user opens a story in SAC or previews data in Datasphere, Datasphere's query processor decomposes the model's logic and determines how much of that logic can be pushed down to the source system versus what must be executed locally within Datasphere's own processing layer after the source returns data. Simple filters, aggregations, and joins on federated tables are often pushed down efficiently, especially when the underlying source is SAP HANA-based, because the federation layer can translate much of the SAP-standard modeling logic into native source queries. However, more complex scenarios, such as certain calculated columns, currency conversions, or joins across a federated table and a locally replicated or persisted table, may not push down completely, forcing Datasphere to pull larger intermediate result sets and process them locally, which increases both network transfer and local compute time. Troubleshooting federated queries requires a different mindset than troubleshooting replicated data issues. With replication, problems usually center on load schedules, delta capture, or synchronization failures, and are visible in Replication Flow monitors. With federation, problems typically appear as slow story rendering, timeouts, or inconsistent results caused by the source system being busy or by network instability between Datasphere and the source. Diagnosing this requires checking the connection's health and latency, reviewing whether the source system itself is under heavy load at the time of the slow query, and examining the model to see whether calculation logic could be pushed down more effectively (for example, by simplifying calculated columns or restructuring joins so that filtering happens as early as possible in the query, ideally before crossing the federation boundary). Security for federated access also has its own nuances: since no data is copied into Datasphere, row-level security and data access controls must be enforced either at the source system (through its own authorization concepts) or through Datasphere's own space-level and model-level permissions, and the two layers do not automatically align. A consultant must verify that the combination of source-system authorizations and Datasphere access controls together produce the intended security outcome, rather than assuming one layer alone is sufficient. Finally, on the cloud versus on-premise distinction: federated connections to cloud-native SAP sources are generally more straightforward because network paths and authentication are designed for cloud-to-cloud communication, while federated connections to on-premise S/4HANA systems typically require additional infrastructure such as a Cloud Connector, introducing another potential point of latency and failure that must be accounted for in performance planning. Recommended practices: • Verify push-down behavior empirically during design, rather than assuming all model logic executes at the source. • Keep calculated columns and currency conversions on persisted or replicated objects when they cannot be efficiently pushed down on federated sources. • Explicitly design security by checking both source-system authorizations and Datasphere-level permissions together for federated objects. • Account for Cloud Connector latency and availability as a distinct risk factor when
mediumData Federation

9. A project encounters this situation while working on Tuning and Troubleshooting Federated Query Performance in Datasphere: A retail customer built an executive dashboard in SAC on top of a Datasphere federated view joining live sales data from S/4HANA with live inventory data from a separate legacy Oracle system. Walk through how you would analyze the requirement or issue, what you would validate, and how you would test the solution before release.

Learn how to diagnose and resolve slow or failing federated queries in SAP Datasphere by analyzing pushdown behavior, join placement, connection limits, and source-system load. Deep explanation: Federated access (virtual tables and federated views built on top of remote connections) trades storage duplication for runtime dependency on the source system's ability to execute pushed-down SQL efficiently. When federation performs poorly, the root cause is almost always one of: (1) queries that cannot be pushed down and instead pull large row sets into Datasphere for local processing, (2) joins across two different remote systems that force a client-side join, (3) source-system resource contention, or (4) network latency between Datasphere and the source. Start troubleshooting by isolating the layer. Run the federated view or virtual table in isolation with a simple SELECT and minimal filters to confirm baseline latency. If that alone is slow, the problem lies in the connection or source system, not your modeling. Compare this to running the equivalent query directly against the source (for example through a native SQL client for an HANA source, or the source system's own reporting tool for SAP-based connections). If direct access is fast but federation is slow, the issue is in how Datasphere is generating the pushdown SQL or how the connection is configured (parallelism, fetch size, timeout settings). A common performance killer is cross-source joins: joining a virtual table from Source A with a virtual table from Source B. Datasphere cannot push this join into either remote system, so it must fetch both result sets and join them locally, which is expensive if either side returns a large volume of rows. The mitigation is to push filters as far upstream as possible (apply filters directly in the federated view definition rather than downstream in a consuming model), reduce the columns projected from each side, and where feasible, replicate at least one side into Datasphere as a persisted table so the join becomes local-to-remote instead of remote-to-remote. Another frequent issue is aggregation pushdown. If a story or model requests an aggregated result, Datasphere attempts to push the GROUP BY down to the source. Some connection types and some source query complexities prevent this, causing full detail-level extraction before aggregation happens locally. Reviewing the generated query plan (where the connection type exposes one) or testing with progressively simpler aggregations helps identify where pushdown breaks down. Connection-level constraints also matter: many source connections enforce a maximum number of concurrent open connections or session timeouts. In a multi-user story scenario, concurrent federated queries from multiple end users can exhaust this pool, causing queued or failed queries during peak hours. This is a capacity planning problem, not a modeling bug, and requires coordination with the source-system team to size connection pools appropriately or to introduce caching/replication for high-concurrency dashboards. Finally, distinguish between transient and structural performance problems. Transient issues (a batch job on the source system consuming resources at query time) resolve on their own and are diagnosed by correlating query failure timestamps with source-system job schedules. Structural issues (a poorly filtered virtual table used by dozens of stories) require model redesign: adding mandatory filters, restricting exposed columns, or converting frequently-hit federated objects to scheduled replication. Recommended practices: • Always embed restrictive filters directly in federated views rather than relying on downstream filtering • Avoid joining two federated sources from different systems; replicate at least one side when a join is unavoidable • Test federated objects in isolation with simple queries before blaming the overall model for performance issues • Coordinate connection pool sizing and peak-load windows with source-system administrators before scaling federated dashboards to many concurrent users • Use replication for high-concurrency, latency-sensitive dashboards and reserve federation for low-volume, near-real-time lookups • Monitor and periodically review which federated objects are most frequently queried to identify replication candidates proactively Common mistakes to challenge: • Joining two federated (virtual) sources directly without checking whether the join can be pushed down, causing full local materialization of both sides • Applying filters only in the downstream consuming model or story instead of embedding them in the federated view, so filters are not pushed to the source early • Assuming federation performance will match replicated/persisted table performance under high user concurrency • Not coordinating with source-system teams on connection pool sizing before rolling out federated dashboards to a large user base • Ignoring source-system batch schedules when diagnosing intermittent slow queries, missing the correlation with peak load windows • Exposing wide, unfiltered virtual tables directly to business users, encouraging ad hoc queries that ge
hardData Federation

10. A production issue is reported in Data Federation. What would you check first, and how would you troubleshoot it systematically?

Start by reproducing and scoping the issue, then validate the relevant master/configuration/runtime data and isolate the failing step before changing anything. Common failure patterns from the lesson set: • Assuming 'connecting' a source automatically means data is copied into Datasphere, when in fact the default remote table access type performs live pass-through queries. • Treating federation and replication as interchangeable without evaluating data freshness needs versus query performance needs for the specific use case. • Not accounting for source system load: federated queries add real-time query pressure onto operational systems that may already be busy with transactional workloads. • Overlooking that SAC live connections to Datasphere or BW/4HANA have different feature support (e.g., certain planning or scripting features) compared to import-based models. • Failing to communicate to business users that federated data reflects source-system-availability windows, so if the source system is down for maintenance, reports will fail or show errors. • Assuming all modeling logic pushes down to the source system when building on federated remote tables, without verifying actual query execution behavior. • Placing complex calculated columns or currency conversions directly on federated objects, which often forces local processing and slows performance. • Overlooking that source-system authorizations and Datasphere access controls must both be checked for federated data, since no local copy exists to apply Datasphere-only security. • Ignoring Cloud Connector health and latency when troubleshooting slow federated queries against on-premise systems. • Joining federated and replicated tables without considering that inconsistent access modes can create unpredictable performance across different parts of the same model. • Assuming federation always improves performance because it avoids storage costs, when in fact it usually increases per-query latency compared to replicated data. • Federating very large or frequently scanned tables without checking the source system's capacity to handle additional concurrent query load from analytics users. • Not confirming whether the specific connection type actually supports federated (remote) access before designing the model around it. • Mixing federated and replicated objects in the same model without documenting which is which, causing confusion during performance troubleshooting later. • Treating federation as a permanent architectural choice rather than revisiting it as data volumes or usage patterns change over tim
hardData Federation

11. What are the most important design decisions, trade-offs, and best practices in Data Federation?

• Always embed restrictive filters directly in federated views rather than relying on downstream filtering • Avoid joining two federated sources from different systems; replicate at least one side when a join is unavoidable • Test federated objects in isolation with simple queries before blaming the overall model for performance issues • Coordinate connection pool sizing and peak-load windows with source-system administrators before scaling federated dashboards to many concurrent users • Use replication for high-concurrency, latency-sensitive dashboards and reserve federation for low-volume, near-real-time lookups • Monitor and periodically review which federated objects are most frequently queried to identify replication candidates proactively • Apply filters as close to native source fields as possible to maximize pushdown, and avoid filtering on locally calculated columns when performance matters. • Reserve cross-source joins across multiple federated remote tables for low-volume or well-filtered scenarios; prefer replication when joining large federated datasets. • Enforce mandatory filter prompts in stories consuming federated models to prevent unfiltered, expensive queries against production sources. • Monitor source system load during peak business periods before promoting a federated model broadly to end users. • Periodically reassess whether a remote table should remain federated or be converted to replicated access as usage patterns and data volumes evolve. • Document, for each federated model, why federation was chosen over replication, so future support staff understand the design intent and constraints. • Choose federation primarily when data freshness is a hard business requirement or when governance rules restrict data duplication. • Always assess source system query capacity before enabling federation on high-traffic tables. • Document, per remote table, whether it is federated or replicated so future troubleshooting and performance tuning is straightforward. • Start with replication as a safer default for large historical or slow-changing datasets, and reserve federation for genuinely time-sensitive data. • Revisit the federation-versus-replication decision periodically as data volume and user concurrency grow. • Choose principal propagation when source-level, user-specific authorization must be strictly respected; choose a technical user model with Datasphere data access controls when centralized governance is preferred. • Design views on remote tables to push filtering and aggregation down first, applying complex calculations only afte
hardData Federation

12. A senior architect is reviewing Data Federation. The project situation is: A dashboard federated a multi-million-row ERP table on every refresh. What design changes, validation evidence and production controls would you require before approving the solution?

Choose federation or replication from latency, source load, transformation and governance requirements rather than assuming real-time remote access is always superior. Recommended design and operating practices: • Decide per dataset. • Measure remote query behavior. • Make freshness visible. • Monitor replication failures. • Avoid unnecessary duplicate copies. Failure patterns that must be challenged: • Calling federation 'real time' without source-load analysis. • Replicating every dataset unnecessarily. • Ignoring filter pushdown. • Hiding data-staleness from consumers. • No recovery plan for failed replication. A strong architect answer should make the business or analytical semantics explicit, identify integration and security boundaries, define performance/volume assumptions, show monitoring and recovery ownership, and require test evidence for both the happy path and material failure paths before go-live.

Related lesson

SAP Data Federation Tutorial (Part 1)

Related topics

Next practice step

Go deeper on this topic