This guide helps data and technology leaders plan an SAP to Databricks migration, from choosing the target architecture and moving SAP data to rebuilding BW logic, validating results and retiring legacy SAP analytics.
Migrating from SAP (such as SAP S/4HANA, SAP BW or SAP HANA) to Databricks involves moving or sharing enterprise data and rebuilding proprietary SAP logic on open formats like Delta Lake. SAP Business Data Cloud (BDC) users connect through SAP BDC Connect, via Delta Sharing, or SAP Databricks, while other landscapes need an approved extraction route, since SAP restricts third-party ODP-RFC extraction.
Key Takeaways
- SAP to Databricks migration modernizes SAP analytics on the lakehouse, while SAP ERP, Ariba, SuccessFactors and Concur keep running business processes
- SAP and Databricks are partners, so SAP data can reach Databricks through SAP Business Data Cloud with zero-copy sharing
- Teams choose between SAP Databricks inside Business Data Cloud, an enterprise Databricks workspace, or both
- SAP Note 3255746 restricts third-party ODP-RFC extraction, which changes how many SAP pipelines must be built
- SAP-specific semantics such as leading zeros, currency decimals and fiscal periods can cause reconciliation failures even when converted code runs cleanly
What Is SAP to Databricks Migration?
SAP to Databricks migration moves the analytical layer built on SAP data to Databricks, while SAP applications continue to run finance, supply chain, procurement and HR processes.
Databricks does not replace SAP ERP. The workloads that move are the ones built to analyze SAP data: SAP BW and BW/4HANA warehouses, HANA sidecar databases, custom extracts and the BusinessObjects or SAP Analytics Cloud reports on top of them. According to Databricks, 90% of Fortune 500 organizations leverage SAP.
HANA sidecar warehouses deserve a mention of their own. They are separate SAP HANA databases that hold replicated ERP tables, with calculation views and custom tables built on top, so their logic needs its own inventory alongside BW.
| Component | What Happens | Databricks Destination |
|---|---|---|
| SAP S/4HANA or ECC | Stays in SAP | Data shared or replicated into Delta tables |
| SAP Ariba, SuccessFactors, Concur | Stay in SAP | Data products shared through Business Data Cloud |
| SAP BW and BW/4HANA | Migrated in waves | Delta tables, views and Lakeflow pipelines |
| HANA sidecar warehouses | Migrated | Delta tables and Databricks SQL |
| BusinessObjects and BEx reports | Rebuilt or repointed | AI/BI dashboards or existing BI tools |
The result is SAP data that sits next to data from other applications, databases and object storage, governed together in Unity Catalog. Analysts query it with SQL, data scientists build forecasts on it, and Genie Agents answer business questions on it without new extracts.
How the SAP and Databricks Partnership Works for Migration
SAP and Databricks announced SAP Databricks in February 2025, and SAP data now reaches Databricks through SAP Business Data Cloud with its business meaning intact.
The partnership changed what an SAP migration looks like. Before it, customers often replicated SAP data into external platforms, which added complexity, cost and governance gaps. Now data products in SAP Business Data Cloud, which carry SAP business context, are available to Databricks through Delta Sharing without physical copying. Four parts matter for planning:
- SAP Business Data Cloud: a fully managed SaaS offering that combines SAP Datasphere, SAP Analytics Cloud and SAP BW, with managed SAP Databricks available as a native component
- SAP Databricks: a fully managed version of Databricks sold by SAP, provisioned from SAP for Me, with Unity Catalog, Databricks SQL, notebooks and machine learning
- SAP BDC Connect for Databricks: generally available since October 2025, it shares Business Data Cloud data products with an existing Databricks workspace in both directions, without copying
- SAP Application Data Foundation: announced at SAP TechEd in 2026, it extends that access to SAP application data in cloud and on-premises systems
Databricks also earmarked $250M to help customers and SI partners with SAP Databricks deployment, migrations and unlocking the business value of SAP data.
Timing adds pressure. Mainstream maintenance for SAP NetWeaver 7.5, the platform for SAP BW 7.5, ends at the end of 2027, with paid extended maintenance to 2030. Enterprises on BW 7.5 can choose between a BW/4HANA conversion, a move into Business Data Cloud or a rebuild on Databricks.
SAP Databricks vs Enterprise Databricks: Choosing Your Target
SAP Databricks suits SAP-centered analytics inside Business Data Cloud, while enterprise Databricks suits one lakehouse across SAP and non-SAP systems, and many enterprises run both.
| Decision Factor | SAP Databricks | Enterprise Databricks With BDC Connect |
|---|---|---|
| Sold through | SAP | Databricks |
| Data scope | SAP data products plus external data brought in | All enterprise sources, with SAP data products shared in |
| Infrastructure | Compute and storage fully managed inside Business Data Cloud | The company’s own cloud account and workspace |
| Best fit | Analytics and AI on SAP data, with SAP applications downstream | Analytics and AI across SAP and non-SAP data in existing Databricks deployments |
| Data movement | Data products read without replication | Data products mounted as Unity Catalog catalogs, zero-copy |
Enterprises that already run Databricks can connect their workspace to Business Data Cloud through BDC Connect, while SAP Databricks is provisioned from SAP for Me inside Business Data Cloud.
SAP Databricks is sold by SAP, while enterprise Databricks is bought from Databricks.
Hybrid Architecture for SAP and Non-SAP Data
A hybrid model keeps SAP-governed analysis in SAP Databricks and runs enterprise-wide engineering and AI in the main Databricks workspace. Results flow both ways: a demand forecast built on Delta tables can be published back to Business Data Cloud as a custom data product, where SAP planning users consume it.
Data that never passes through Business Data Cloud, such as BW history or legacy HANA tables, still needs a physical migration. That is why SAP migrations combine two tracks: sharing for current SAP data, migration for the history and logic locked in BW.
SAP to Databricks Migration Steps
An SAP to Databricks migration runs in six steps, from assessing BW workloads and choosing extraction methods to rebuilding logic and reports, then validating results before BW is retired.
Step 1: Assess SAP Data Sources and BW Workloads
The assessment builds a complete picture of what SAP analytics does today. The inventory covers:
- InfoProviders, including ADSOs, InfoCubes, CompositeProviders and MultiProviders
- Transformations, start and end routines, and custom ABAP in exits
- Process chains, their schedules and run times
- BEx queries, with usage statistics showing which ones still run
- HANA calculation views, CDS views and custom tables in sidecar systems
- BusinessObjects universes and reports, and their consumers
Usage data helps scope the work. Once statistics are switched on, BW records query runtime data, which shows who ran each query and when. Queries and InfoProviders that no longer run can be retired, which shrinks the migration before any code is written.
Step 2: Choose How SAP Data Reaches Databricks
Lakeflow Connect has no managed SAP connector, and Lakehouse Federation does not support SAP HANA, so each source needs a deliberate route:
| Method | Best For | Watch For |
|---|---|---|
| Business Data Cloud data products | Standard SAP data and BW objects shared zero-copy | Data products must be shared by admins on both sides |
| Data Product Generator for SAP BW | Exposing BW 7.5 and BW/4HANA objects as data products | BW hierarchies are not supported yet |
| Replication tools | Change capture from S/4HANA and ECC | Confirm the tool does not depend on ODP-RFC |
| OData on CDS views | Targeted extraction of specific business objects | Each service must be exposed through SAP Gateway |
SAP Note 3255746: SAP now prohibits customer and third-party applications from using ODP-RFC to extract data from SAP ABAP systems such as S/4HANA, ECC and BW. SAP began technical enforcement with security patches on June 9, 2026, with a temporary opt-out that expires in December 2026 (SAP Note 3731818). SAP Note 3439624 provides a self-assessment tool, and SAP recommends Business Data Cloud or ODP OData in place of ODP-RFC.
Step 3: Set Up Unity Catalog Governance for SAP Data
SAP data spans ERP, procurement, HR and travel, and Unity Catalog governs it together with the rest of the enterprise data.
When Business Data Cloud shares are mounted as Unity Catalog catalogs, SAP semantic metadata, including table and column comments, primary and foreign keys and governance tags, syncs into Unity Catalog, so the business meaning SAP defined travels with the data. Unity Catalog row filters and column masks can then restrict access to specific rows and columns.
Step 4: Rebuild BW Models, ABAP Logic and Calculation Views
BW data that is not shared through Business Data Cloud is rebuilt on Databricks with Delta tables, Lakeflow Spark Declarative Pipelines and Lakeflow Jobs. ABAP routines can hold logic such as currency handling. SAP stores amounts with two decimals regardless of currency, and table TCURX defines the real decimals, so a Japanese yen amount of 1,000 is stored as 10.00. A rebuilt transformation must apply the shift explicitly, as in this example with illustrative table names:
SELECT f.company_code,
f.fiscal_period,
f.currency,
CAST(f.amount * pow(10, 2 – coalesce(x.currdec, 2)) AS DECIMAL(23,3)) AS amount_actual
FROM finance.silver.gl_line_items f
LEFT JOIN finance.silver.tcurx x
ON f.currency = x.currkey;
Step 5: Move SAP Reporting to Databricks SQL and AI/BI
Reports follow the data once gold tables are stable. Databricks SQL has validated BI integrations with tools such as Tableau, Power BI, Qlik, ThoughtSpot, Sigma and Looker, so existing reports can be repointed to Databricks SQL, and AI/BI dashboards are available for new ones.
Genie Agents on top of curated SAP tables let finance and supply chain users ask questions in plain language. Our BI migration guide covers report migration in more depth.
Step 6: Validate, Run in Parallel and Decommission SAP BW
Databricks recommends an automated testing framework that compares values on both platforms and runs pipelines in parallel for a period. Checks run from structure to business sign-off:
- Table existence, schemas and data types match
- Row counts match, overall and per period
- Aggregates such as SUM, MIN, MAX and AVG match on numeric columns
- Key figures match BW query results
- Process owners sign off on the reports each area depends on
BW and Databricks run in parallel for an agreed period, and BW is retired once the last dependent report has moved.
Combining SAP and Non-SAP Data for AI on Databricks
The business case for moving SAP analytics to Databricks rests on combining SAP data with non-SAP data for forecasting, planning and AI agents across business functions.
SAP data covers ERP, procurement, HR and travel, while the rest of the enterprise data sits in other applications, databases and object storage. Databricks governs both together, and SAP Databricks supports use cases such as low-code forecasting for planning, RAG-based chatbots on internal documents, custom model development and agentic systems on the blended data. One example is forecasting future cash flows from SAP data products combined with external sources.
The SAP Databricks documentation lists automated forecasting, fine-tuning an LLM, exploratory analysis in notebooks and business intelligence in the SQL editor as key use cases.
Predictions produced on Databricks can be sent back into Business Data Cloud for planning, reporting or visualization. In the SAP Databricks announcement, Adobe said the collaboration will power AI-driven insights across sales, finance, supply chain and products, and Heineken said it helps the company use all its data to understand customers, optimize marketing and drive operational efficiency. Databricks has also said it plans to link Genie with SAP Joule, so answers can appear inside SAP software.
SAP to Databricks Migration Challenges and How to Solve Them
SAP reconciliation failures can come from conventions SAP applies inside the application layer, which disappear once data is read straight from tables.
Converted code can run without errors and still disagree with BW. SAP applies many rules quietly in its application layer: shifting decimals, choosing exchange rates, reading the right version of master data. When data leaves SAP as raw tables, those rules are lost. The issues below are worth testing before the first parallel run.
SAP Fiscal Periods and Year-End Adjustments
Some SAP companies close their books on a fiscal year that does not follow the calendar. Under fiscal year variant V3, period 1 is April, period 12 is March, and periods 13 to 16 are special periods that hold audit and year-end adjustments.
A converted report that maps period numbers straight to months puts April revenue under January and leaves the special periods out of annual totals, so the full-year figure no longer matches the general ledger. A fiscal calendar table built from the variant settings in SAP, keyed by company code, lets every report read periods through it.
Currency and Unit Conversion in SAP Data
Currency logic needs explicit handling in finance data. Four details matter:
- Amounts are stored with two decimals, and TCURX holds the real decimals, as shown in Step 4
- Exchange rates in TCURR store their valid-from dates as inverted numbers, so a plain date comparison picks the wrong rate
- The exchange rate type must match the one BW used for each report
- Quantities in alternative units, such as cases and pallets, convert through material-specific factors in MARM
A reconciliation check that compares totals per currency and per unit against BW catches a wrong rate type early.
Time-Dependent SAP Master Data
Cost centers, profit centers and org assignments change over time, and BW keeps time-dependent attributes with valid-from and valid-to dates. Joining transactions to the current version restates history: after a reorganization, two years of costs suddenly appear under profit centers that did not exist then. The join has to use the posting date, shown here with illustrative table names:
SELECT g.document_number,
g.posting_date,
g.amount,
c.profit_center
FROM finance.silver.gl_line_items g
JOIN finance.silver.cost_center_history c
ON g.cost_center = c.cost_center
AND g.posting_date BETWEEN c.valid_from AND c.valid_to;
SAP Delta Records and Reverse Postings
SAP delta extraction sends each change as one or more records, marked by a record mode:
| Record Mode | Meaning | How the Pipeline Uses It |
|---|---|---|
| Blank | After image | The new state of the record |
| X | Before image | The previous state, with additive values negated |
| R | Reversal | Cancels a record sent earlier |
| D | Delete | Removes the record by key |
Handling depends on the target. Additive totals net before and after images together, while a table that stores current state keeps after images and applies deletes. Treating every record the same way either double counts changes or loses them.
Smaller SAP Data Issues to Check in Every Wave
| Issue | What Goes Wrong | Fix |
|---|---|---|
| Leading zeros from ALPHA conversion | Numeric material and customer keys lose zeros in file extracts and stop joining | Keep the internal format in silver, format for display in gold |
| Language-dependent texts | Text tables keyed by language multiply rows | Filter on the reporting language, with a fallback language |
| Initial values | SAP writes empty dates as 00000000 and blanks where Databricks expects NULL | Convert to NULL in silver with agreed rules per column |
SAP to Databricks Migration Best Practices
Strong SAP migrations model data around business processes, keep BW experts on the team, review compliance early and define key figures once before reports are rebuilt.
Model SAP Data Around Business Processes Instead of Tables
Following the medallion architecture, bronze and silver keep the original SAP structure for lineage, while gold tables can be organized around business processes. Typical SAP sources for each process:
| Business Process | Typical SAP Sources | Gold Table Answers |
|---|---|---|
| Order to cash | VBAK and VBAP orders, LIKP deliveries, VBRK billing | Order cycle time, on-time delivery, days sales outstanding |
| Procure to pay | EKKO and EKPO purchase orders, goods receipts, supplier invoices | Spend by supplier, invoice cycle time, maverick buying |
| Record to report | BKPF and BSEG in ECC, ACDOCA in S/4HANA | Trial balance, margin by segment, period close status |
Bring SAP BW Developers Into the Migration Team
BW developers know the existing models, routines and process chains. Hands-on training and documentation help teams adopt new workflows in Databricks SQL and Lakeflow pipelines, and named owners for data quality, governance and performance keep the new platform running.
Review SAP Licensing and Compliance Before Building Pipelines
- Run the SAP Note 3439624 self-assessment and replace any ODP-RFC extraction before it is blocked
- Confirm which SAP data products the Business Data Cloud subscription covers
- Confirm which data products are shared in each direction and who approves them
- Record the approved extraction route for every SAP source
Define SAP Key Figures Once in a Shared Semantic Layer
BW gave users consistent key figures, and that consistency has to survive the move. Without a shared definition, different teams can calculate the same measure differently on Databricks.
Unity Catalog metric views define a measure once and reuse it across dashboards, notebooks and Genie, so every consumer returns the same figures.
Retire BW Objects in Order of Usage
BW query statistics show which reports still matter. Unused objects are archived first, and high-usage finance reports move in early waves. Our Databricks migration guide and Unity Catalog migration guide cover the platform and governance setup that follows.
How Does the LatentView-Databricks Partnership Support SAP Migration?
As a Databricks Elite C&SI partner, we run a Databricks Center of Excellence of 400 data engineers, with 150+ certified specialists. For a leading American construction management SaaS company, we migrated 5,000+ daily dbt models from Snowflake to Databricks with MigrateMate, as this case study shows.
SAP migrations add BW logic, SAP-specific data semantics and extraction routes that change with SAP policy. We assess the SAP analytics estate, convert and validate workloads in waves, and use MigrateMate, our automated migration accelerator, with UCMate, our Unity Catalog migration solution, for governance setup. Plan your SAP migration with our Data Engineering Expert.
Frequently Asked Questions About SAP to Databricks Migration
1. Are SAP and Databricks Partners?
Yes. SAP and Databricks announced SAP Databricks in February 2025, sold by SAP as part of SAP Business Data Cloud.
2. What Is SAP Databricks?
SAP Databricks is an edition of Databricks inside SAP Business Data Cloud, with Unity Catalog, Databricks SQL, notebooks and machine learning.
3. Does Databricks Have an SAP Connector?
SAP BDC Connect shares Business Data Cloud data products with Databricks. Lakeflow Connect has no managed SAP connector.
4. What Is SAP Note 3255746?
SAP Note 3255746 prohibits customer and third-party applications from using ODP-RFC to extract data from SAP ABAP systems.
5. Can Databricks Replace SAP BW?
Databricks can run the analytical workloads BW supports: SAP Databricks provides data warehousing, data engineering and AI governed by Unity Catalog, while SAP applications such as ERP keep running business processes.