All SAP BW / BW/4HANA (Data Warehousing) 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 · Data Warehousing Concepts & BW Architecture
Q1. What is a data warehouse? Explain Inmon's four properties.
A subject-oriented, integrated, non-volatile and time-variant collection of data for decision making. Subject-oriented: organised by business subject; integrated: one format and meaning across sources; non-volatile: loaded and read, not changed by transactions; time-variant: keeps history so periods can be compared.
Q2. Why do we need a data warehouse if S/4HANA has embedded analytics?
Embedded analytics reports on current data of one S/4HANA system. A warehouse integrates many SAP and non-SAP sources, keeps long history even after archiving, harmonises master data and takes heavy enterprise-wide reporting load off the operational system.
Q3. What is the difference between OLTP and OLAP?
OLTP runs the business: many short read/write transactions on current, normalised data. OLAP analyses the business: few heavy read queries that aggregate historical, integrated data in denormalised structures such as the star schema.
Q4. What is a data mart and which types exist?
A small warehouse focused on one subject or department. Dependent marts are fed from the central DWH, independent marts directly from the sources, hybrid marts from both. In BW/4HANA a data mart is a data mart ADSO or, preferably, a virtual CompositeProvider.
Q5. What is data mining? Is it the same as fast data retrieval?
No. Data mining discovers patterns, correlations and trends with statistical and machine-learning methods (clustering, association, classification, regression). On HANA it runs in the Predictive Analysis Library; the classic APD / Data Mining Workbench are legacy.
Q6. ERM vs star schema – why does a warehouse use a star schema?
ERM is normalised to avoid redundancy and suits writing. The star schema puts facts in one fact table and descriptive data in dimension tables, so queries need few joins and aggregate fast. SAP's extended star schema keeps master data outside the cube, shared through SID tables.
Q7. Which types of metadata exist?
Technical (tables, fields, data types, transformations), business (definitions, descriptions, calculation rules) and operational (load requests, times, status, logs). BW keeps them in the Metadata Repository; objects exist in D, M and A versions.
Q8. Name the layers of the SAP BW data flow.
Extraction (DataSource), staging (PSA in classic BW; delta queue or inbound table of a staging ADSO in BW/4HANA), transformation, loading (DTP into InfoProviders) and reporting (queries, Analysis for Office, SAP Analytics Cloud).
Q9. What is LSA++ and how does it differ from LSA?
LSA++ is SAP's layered architecture for BW on HANA and BW/4HANA: an Open ODS inbound layer, a core EDW layer with corporate memory and propagation, and virtual data marts built with CompositeProviders. Classic LSA had more persistent layers and physical InfoCube data marts; HANA makes many of those copies unnecessary.
Q10. What is the difference between BW on HANA and BW/4HANA?
BW on HANA is BW 7.3–7.5 on a HANA database: classic objects still run, HANA objects are added. BW/4HANA is a separate HANA-only product with only ADSO, CompositeProvider, Open ODS view and InfoObject, ODP-based extraction and the BW/4HANA Cockpit; classic objects must be converted.
Q11. What is embedded BW, and should it be the enterprise data warehouse?
The BW component inside every S/4HANA system, used as the analytic engine for embedded analytics and for embedded planning. It reports on that system's own data; for cross-system, historical warehousing SAP positions BW/4HANA or SAP Datasphere – today as part of SAP Business Data Cloud, where existing BW can also run as SAP BW private cloud edition.
Q12. Which tools do you use in BW/4HANA compared with BW 7.x?
BW 7.x: RSA1 Data Warehousing Workbench and BEx Query Designer. BW/4HANA: BW Modeling Tools in Eclipse for all modelling and queries, the BW/4HANA Cockpit for administration and monitoring; RSA1 remains for a few tasks like source systems and the transport connection.
02 · Data Modeling – InfoObjects & InfoProviders
Q1. What is an InfoObject and which types exist?
The smallest building block of BW, defined once and reused. Types: characteristics (descriptive, with master data), key figures (measures), units (currency, unit of measure), time characteristics and technical characteristics. SAP objects start with 0, customer objects with a letter.
Q2. Display attribute vs navigation attribute?
A display attribute is only shown next to its characteristic. A navigation attribute can be used like a characteristic for drill down and filtering, without being stored in the InfoProvider; it costs an extra join at query time.
Q3. Which tables does BW generate for a characteristic with master data?
S (SIDs), P (time-independent attributes), Q (time-dependent attributes), M (view over P and Q), X / Y (attribute SIDs), T (texts) and H / K / I / J (hierarchies), in namespace /BI0/ for SAP and /BIC/ for customer InfoObjects – e.g. /BI0/PMATERIAL.
Q4. What is a SID and why does BW use it?
A surrogate ID: an integer assigned to every characteristic value in the S table. Classic InfoCubes and queries work with SIDs, which are smaller and faster to join than long keys and link transaction data to shared master data.
Q5. Explain the extended star schema.
Fact table with key figures and DIM IDs, dimension tables holding SIDs, and master data outside the cube in SID, attribute, text and hierarchy tables shared by all InfoCubes. Up to 16 dimensions (package, time, unit plus 13 custom). On HANA the HANA-optimized InfoCube put SIDs directly into the fact table.
Q6. InfoCube vs DSO?
An InfoCube is multidimensional and additive – records with the same characteristics are summed – and built for reporting. A DSO is a flat table with a semantic key that overwrites and produces a delta in its change log, used for document-level data and harmonisation.
Q7. Name the classic DSO types and their tables.
Standard DSO: activation queue, active data, change log. Write-optimized DSO: only the active table with a technical key, no activation. DSO for direct update: only the active table, filled by APIs or the APD.
Q8. MultiProvider vs InfoSet?
A MultiProvider unions InfoProviders; an InfoSet joins them (inner, left outer, temporal). Neither stores data. In BW/4HANA both are replaced by the CompositeProvider.
Q9. What is an ADSO and which tables does it have?
The DataStore object (advanced), the only persistent object of BW/4HANA. Inbound table /BIC/A<name>1, active data /BIC/A<name>2 and change log /BIC/A<name>3. Modelling types: staging, standard, data mart and direct update – together they replace PSA, DSO types and InfoCube.
Q10. How do you model an InfoCube-like object in BW/4HANA?
A data mart DataStore object: inbound and active table, no change log, activation compresses and sums the key figures, queries read inbound and active data together.
Q11. What is an Open ODS view?
A virtual BW object on data outside BW tables (HANA tables or views, remote sources, DataSources) with semantics facts, master data or texts. It allows reporting without loading; a data flow with an ADSO can be generated later.
Q12. How do BW and native HANA modelling work together?
Mixed scenarios: HANA calculation views are consumed in CompositeProviders or Open ODS views, and BW objects can generate external SAP HANA views for native consumers. Authorizations must be planned on both sides.
03 · Extraction, Transformation & Loading
Q1. Which transactions do you use to activate and test a Business Content DataSource?
RSA5 to install it in the source system, RSA6 to maintain it (hide or unhide fields, selections, enhancement), RSA3 to test the extraction. In BW: replicate the metadata and activate the content with RSORBCT; for LO DataSources also LBWE and the setup tables.
Q2. What is ODP and why is it preferred?
Operational Data Provisioning: one extraction framework for extractors, CDS views, BW, SLT and HANA views. Data goes into the operational delta queue per subscriber, so several consumers can read it, loads can be repeated within the retention period, and BW needs no PSA. Monitor with ODQMON.
Q3. How do you extract data from S/4HANA into BW/4HANA?
Preferably with CDS views annotated @Analytics.dataExtraction.enabled (released SAP views or custom ones) through the ODP source system context ABAP_CDS, with change data capture or a timestamp delta. Classic extractors via ODP SAPI where they are still supported (SAP Note 2500202).
Q4. What is change data capture for CDS extraction?
A delta method where database triggers record inserts, updates and deletions on the tables behind the view; enabled with @Analytics.dataExtraction.delta.changeDataCapture.automatic or mapping. Unlike a timestamp delta it also delivers deletions. Available from S/4HANA 1909 FPS01.
Q5. Explain the delta processes ABR and AIE.
ABR sends before, after and reverse images, so changes can be added into any target. AIE sends after images only, so the data must first go to an overwriting target (standard DSO / ADSO) that computes the real delta in its change log.
Q6. What are the values of 0RECORDMODE?
Blank after image, X before image, N new image, A additive image, R reverse image, D delete.
Q7. What replaced the PSA in BW/4HANA?
There is no PSA. For ODP sources the operational delta queue in the source keeps the data; when BW needs its own first persistence, a staging DataStore object with its inbound table plays that role.
Q8. Start routine, end routine, expert routine – when do you use which?
Start routine on the source package before the rules: filters and package-wide lookups. End routine on the result package after the rules: derivations and lookups for all records in target format. Expert routine replaces all rules and routines and is used only for logic the rules cannot express. Field routines handle one field.
Q9. What does a DTP do and which settings matter?
It moves data from a source object through a transformation to a target. Key settings: full or delta extraction, filters (also filter routines), package size and semantic groups, error handling with error stack and error DTP, and the processing mode (HANA execution).
Q10. InfoPackage vs DTP?
In BW 7.x the InfoPackage loads from the source system into the PSA and the DTP loads from the PSA into targets inside BW. In BW/4HANA there are no InfoPackages: the DTP extracts from the source directly.
Q11. What is a process chain and which process types do you use most?
An automated sequence of BW processes maintained in RSPC: start process, DTPs, activation of ADSO data, master data activation, clean-up, ABAP programs and AND / OR / decision steps. Production loads run in nested chains and are monitored in RSPCM or the BW/4HANA Cockpit.
Q12. Which data loading options does BW offer?
Manual or automatic (process chains); from flat files, databases (SAP HANA source system), SAP systems via ODP, and pushed data through the write interface of an ADSO (classic: web service source system). Near-real-time via streaming process chains (classic: RDA).
04 · Queries, Reporting & Analytics
Q1. What is the difference between a restricted and a calculated key figure?
An RKF filters one key figure by characteristic values (revenue for 2026); a CKF computes a formula over key figures (margin %). Both can be global (on the InfoProvider, reusable) or local to one query.
Q2. What is a structure and when do you need the cell editor?
A structure is a fixed set of elements on one axis, each with its own selection or formula (key figure structure, or rows Actual / Plan / Variance). With two structures every cell is an intersection, and the cell editor overrides individual cells – typical for financial statements.
Q3. Which variable types and processing types exist?
Types: characteristic value, hierarchy, hierarchy node, text, formula. Processing types: manual input / default value, replacement path, customer exit (BAdI in BW/4HANA), SAP exit, authorization.
Q4. Give an example of a replacement path variable.
A text variable that shows the selected month in a column header, or a formula variable that takes a number from a characteristic attribute (e.g. working days of a month) to use in a CKF.
Q5. Characteristic restriction or default value in the filter – what is the difference?
A characteristic restriction is fixed: the user cannot navigate outside it. A default value is only the starting selection and can be changed during navigation.
Q6. How do hierarchies work in BW reporting?
Hierarchies are master data of an InfoObject (nodes, leaves, intervals, versions, time dependency). In the query you activate a display hierarchy, choose a node (fixed or via node variable) and the expand level; the analytic manager aggregates over the nodes.
Q7. Which front ends do you use with BW today, and what replaced BEx?
Analysis for Office replaced BEx Analyzer; SAP Analytics Cloud replaced BEx Web and Lumira for dashboards. BEx tools are not supported with BW/4HANA; the query designer moved to the BW Modeling Tools in Eclipse.
Q8. SAC live connection or import connection to BW?
Live: the query runs in BW, data stays on premise, BW authorizations and logic apply, always current. Import: data is copied into an SAC model – needed for blending or SAC features that require acquired data, but it duplicates data and authorizations.
Q9. How do you set up analysis authorizations?
Flag the characteristics as authorization-relevant, create authorizations in RSECADMIN with values or hierarchy nodes plus 0TCAACTVT, 0TCAIPROV and 0TCAVALID, assign them through roles with S_RS_AUTH, and add authorization variables to the queries. Query access itself is controlled with S_RS_COMP.
Q10. A user gets "No authorization" in a query. How do you analyse it?
Run the query with RSUDO as that user and read the authorization log: it shows which characteristic or special characteristic failed. Usually the selection is wider than the authorized values – fix the role or use an authorization variable.
Q11. A query is slow. What do you do?
Measure with RSRT and the BW statistics to find where the time goes; then restrict with variables and filters, simplify cell-heavy structures and exception aggregations, check cache and read mode, and on classic BW check aggregates. On HANA aggregates and BWA are obsolete; push-down does the work.
Q12. What was APD, and what do you use instead on BW/4HANA?
APD (RSANWB) modelled read-transform-write analysis processes, including data mining. It does not exist in BW/4HANA; RSB4HAPD transfers supported APDs, otherwise use transformations with ABAP / AMDP, DTPs, ADSOs and Open Hub in process chains, and HANA PAL / APL or SAC for predictive.
05 · BW ABAP Development
Q1. When do you build a generic DataSource with a function module instead of a table or view?
When the data needs logic: tables a view cannot join, calculations, reading data through function modules, or a delta that one field of one table cannot express. Table / view DataSources are simpler and should be the first choice.
Q2. What is the difference between RSAX_BIW_GET_DATA_SIMPLE and RSAX_BIW_GET_DATA?
Both are templates in function group RSAX. RSAX_BIW_GET_DATA_SIMPLE has the simple interface (F2) and is the template copied for RSO2 DataSources; it reads everything, delta comes from the RSO2 generic delta whose range your code must evaluate in I_T_SELECT. RSAX_BIW_GET_DATA has the complete interface (F1) including the update mode, for extractors that handle delta themselves.
Q3. Walk me through the code of a function module extractor.
The first call (I_INITFLAG = X) checks the DataSource name and stores the selections and package size in global data. The first data call builds ranges from the selections and opens a cursor WITH HOLD; every data call FETCHes one package of I_MAXSIZE rows into E_T_DATA; when FETCH finds nothing the cursor is closed and NO_MORE_DATA is raised.
Q4. How do you enhance a standard DataSource?
Append ZZ fields to the extract structure, unhide them in RSA6, fill them in customer exit RSAP0001 (EXIT_SAPLRSAP_001 – 004, includes ZXRSAU01 – 04) or in BAdI RSU5_SAPI_BADI, test in RSA3, replicate and map the fields in BW. For LO DataSources check LBWE first.
Q5. Why use ZBW_<DataSource> programs or one class per DataSource?
All DataSources share one exit include. A dispatcher that calls a separate program or class per DataSource keeps the include tiny, isolates errors and transports, and lets several developers work in parallel.
Q6. Customer exit RSAP0001 or BAdI RSU5_SAPI_BADI?
Same purpose. The BAdI is object-oriented, multiple-use (several implementations) and SAP's recommended replacement; the exit is legacy but still runs. In S/4HANA prefer released CDS extraction views over enhancing SAPI DataSources.
Q7. Explain start, field, end and expert routines and their order.
Start routine on SOURCE_PACKAGE before the rules (filters, lookup preparation); field routines per record and field; end routine on RESULT_PACKAGE after the rules (lookups on target fields, deletions); the expert routine replaces all rules and maps the whole package itself.
Q8. ABAP or AMDP routine – and when does a transformation run in HANA?
AMDP routines are SQLScript methods working set-based on inTab / outTab inside HANA. A transformation runs in the HANA runtime only if all its rules and routines are HANA-capable; in BW 7.5 one ABAP routine forces the ABAP runtime and the two kinds cannot be mixed; in BW/4HANA an ABAP start, field or expert routine forces the ABAP runtime, while an ABAP end routine gives a partial HANA runtime.
Q9. What are the I_STEP values of the variable exit?
1 before the variable screen (defaults), 2 after it for non-input-ready variables (derivations), 3 check of all entries (exception shows the screen again), 0 called outside the variable screen – from the authorization check or the monitor, used for authorization variables.
Q10. How do you implement variable exits on BW/4HANA?
With BAdI RSROA_VARIABLES_EXIT_BADI in enhancement spot RSROA_VARIABLES_EXIT, method IF_RSROA_VARIABLES_EXIT_BADI~PROCESS, filtered by InfoObject. The CMOD exit RSR00001 / ZXRSRU01 is not supported in BW/4HANA.
Q11. What are DTP and InfoPackage routines used for?
A DTP filter routine sets the selection dynamically (last 30 days, current period). An InfoPackage routine (classic BW only) sets selections or the flat-file name and path on the application server dynamically, e.g. one file per day.
Q12. Your end routine is slow. What do you check?
SELECTs inside the loop (replace with one read per package into a hashed table), missing field symbols, linear reads on standard tables, package size, and whether standard rule types or an AMDP routine with HANA push-down could replace the ABAP.
06 · BW/4HANA, Datasphere & Architect View
Q1. What is embedded BW, and should we use it as our data warehouse?
It is the BW component inside every S/4HANA on-premise / private cloud system, used as the analytic engine for embedded analytics and for embedded planning. It shares the S/4HANA system's resources, so it is not meant as the enterprise data warehouse with many sources and long history.
Q2. Embedded analytics or BW/4HANA – how do you decide?
Embedded analytics for real-time operational reporting on one S/4HANA system; a data warehouse (BW/4HANA or Datasphere) when data from several systems must be harmonised, historised and reported together, or when query load must be kept off S/4HANA.
Q3. What changed from BW 7.5 to BW/4HANA?
HANA only; four modelling objects (ADSO, CompositeProvider, Open ODS view, InfoObject); no PSA or InfoPackages; ODP as the main extraction channel; Eclipse modelling and a Fiori cockpit; no BEx front ends; BAdIs instead of customer exits; HANA push-down of transformations.
Q4. Which conversion paths to BW/4HANA exist?
In-place (BW 7.5 on HANA with the Starter Add-on, objects transferred, system converted), remote (new BW/4HANA system, models and data transferred from BW 7.3 – 7.5 on any database), shell (new system, metadata only, data reloaded), or a new implementation.
Q5. BW 7.5 runs out of mainstream maintenance. What are the options?
Mainstream maintenance ends with 2027 (extended maintenance to 2030). Options: convert to BW/4HANA (maintained to at least 2040), lift BW into Business Data Cloud as BW private cloud edition (maintenance to end of 2030, optionally to end of 2033 with the SAP BW NetWeaver Cloud modernization option; then modernise into Datasphere), or re-implement in Datasphere.
Q6. What is SAP Datasphere, and what is the BW bridge?
Datasphere is SAP's cloud data warehouse on HANA Cloud with spaces, replication and federation, analytic models and SAC integration. The BW bridge is a BW-style ABAP environment inside it (ADSOs, transformations, process chains, ODP sources) for reusing BW staging logic in the cloud.
Q7. What is SAP Business Data Cloud?
A SaaS bundle of Datasphere, SAC, BW private cloud edition, SAP Databricks and SAP-managed data products with insight apps. BW customers can lift their BW system into it and publish BW data as data products with the Data Product Generator.
Q8. ODP extractors, CDS extraction views or SLT – which for S/4HANA?
Released CDS extraction views first (clean core, delta via timestamp or CDC). Classic SAPI extractors only where they are supported on S/4HANA and no CDS view exists. SLT when real-time replication of raw tables is required and the logic can be rebuilt in the warehouse.
Q9. What does clean core mean for extraction?
Extract only through released interfaces: released CDS extraction views or custom extraction views on released I_ views, custom fields through key-user extensibility. No new FM extractors or DataSources on internal tables, no new appends with exit code.
Q10. What is mixed modelling?
Combining BW objects and native HANA objects: BW generates HANA views for its InfoProviders and queries so SQL tools and calculation views can use them, and CompositeProviders / Open ODS views can include native HANA tables and views.
Q11. A third-party ETL tool wants to read S/4HANA through ODP RFC. What do you say?
SAP Note 3255746 does not permit non-SAP applications to use the ODP RFC interface. Use SAP-supported paths such as Datasphere replication flows or released APIs and CDS views.
Q12. Design the analytics architecture for a greenfield S/4HANA.
Embedded analytics for operational reporting; Datasphere (or an existing BW/4HANA) for enterprise reporting, fed by released CDS extraction views; SAC as the single front end; BDC data products and Databricks where AI is needed; no new custom extractors on application tables.
07 · BEx Tools & Query Design Deep Dive
Q1. What is the difference between the BEx Query Designer and the query designer in the BW Modeling Tools?
Both edit the same query metadata. The BEx Query Designer is the Windows desktop tool of BW 3.x – 7.5; the BW Query Designer is part of the Eclipse-based BW Modeling Tools, available with BW 7.5 and the only editor in BW/4HANA. BEx queries are compatible with BW/4HANA without changes.
Q2. Global or local restricted key figure – when do you use which?
Global (InfoProvider level) for agreed company KPIs used by many queries – one change updates all, so check the where-used list first; reusable RKFs cannot be dereferenced. Local for one-off columns in a single query.
Q3. What is constant selection? Give an example.
A selection that ignores navigation and filters at runtime. Plan is posted only to period 12: the PLAN column is restricted to period 12 with constant selection, so it stays visible when the user drills down by period. It works on characteristics of a selection or on a whole structure element, not on an RKF as a whole.
Q4. What is a formula collision and how do you resolve it?
With two structures, a row formula and a column formula meet in one cell. Set Formula Collision Resolution on one formula (use this or the concurrent formula), check the Priorities tab, or define a formula cell in the cell editor for that intersection.
Q5. Which cell types does the cell editor offer?
Selection cells and formula cells overwrite the generated intersection; reference cells make an intersection usable in other formulas; help cells are hidden auxiliary formulas or selections. Cells exist only in queries with two structures.
Q6. Local calculation or exception aggregation for an average per customer?
Exception aggregation (average with reference characteristic customer) in a formula or CKF: it is calculated by the analytic manager (or HANA) on every drilldown. Local calculations only recalculate the displayed result, ignore hierarchies and can be wrong after navigation.
Q7. How do you use the result of one query as a filter in another?
A characteristic value variable with replacement path from a query (pre-query). Because the pre-query runs every time, slow cases use a precalculated value set filled in the background by the Broadcaster.
Q8. Do conditions change the result rows?
No. Conditions only hide rows; the result row still shows the total of all data. Several conditions are combined with AND, and a condition is switched off when its characteristic is not in the drilldown or collides with another condition.
Q9. What is the status of BEx Analyzer and the other BEx tools?
BEx Analyzer and BEx precalculation left mainstream maintenance on 15 Oct 2025 (customer-specific maintenance, SAP Note 3665993); the Analyzer is 32-bit only. Query Designer, WAD and BEx Web remain with BW 7.5 within its maintenance. None of the BEx front ends exists in BW/4HANA; successors are the BWMT query designer, Analysis for Office and SAP Analytics Cloud.
Q10. How does the Report-Report Interface work?
In RSBBS you assign receivers to a sender query: another query, a transaction, an ABAP report, a URL and others. When the user jumps from a cell, the filters, variables, navigation state and the cell's drilldown values are passed; assignment details map or drop characteristics (variable, InfoObject, table field, URL parameter, delete). It still works in BW/4HANA from Analysis for Office.
Q11. Which Broadcaster distribution types do you know, and what replaces them?
E-mail, portal and printer; bursting by master data; multiple channels; broadcast by exception (also as alerts); fill OLAP cache; precalculate value set; fill MDX cache. Scheduled directly, by time or after a data change via the process chain type Trigger Event Data Change (for Broadcaster). Replacements: SAC scheduled publications and BI platform scheduling.
Q12. How are queries transported, and what goes wrong most often?
As ELEM objects through the transport connection; after the first transport changes are recorded in the BEx transport request (standard or per package). Typical problems: no new BEx request assigned after release, and reusable components missing because they were in another request – collect all necessary objects before release.