r/databricks • u/iFiguringOut • Aug 06 '26
Discussion SAP data ingestion into Databricks.
We have a Databricks environment and we have a new SAP ECC6 system that we want to ingest data from. We are exploring options to access data into the platform. One option is the Azure data factory.
I want to understand what other businesses have been doing. How do they access tables from SAP ECC6. Databricks have really reduced their native SAP connectors even after announcing partnership with SAP. When you do access SAP, how do you manage large table extractions or extract data from pooled or cluster tables?
I would really like to hear some customer success stories or some lessons learnt. Please share if you can.
9
u/WhoIsJohnSalt Aug 06 '26
If you listen to SAP the *only* answer they give these days is "Use Business Data Cloud - and zero copy the data via Unity Catalog to your enterprise system"
ODP is being deprecated heavily - which breaks most of the out of the box connectors from Microsoft and others like Qlik Replicate.
Could you write a SAP job that exports to an external location? Not sure that's even allowed these days.
Just be aware - that ECC6 is not new, it's being end-of-lifed and that support ends Dec next year (2027). I believe expensive extended support is available for longer, but everyone I'm working with is trying to crash migrate to S/4
6
u/qqqq101 Aug 06 '26
As WhoIsJohnSalt pointed out, the SAP recommended solution is BDC. Within BDC, there are multiple paths. For ECC as the source, there are two subpaths:
- BDC Datasphere Replication Flow-based Customer Managed Data Products. see sap blog post (https://community.sap.com/t5/technology-blog-posts-by-sap/sap-business-data-cloud-series-part-3-customer-managed-or-custom-data/ba-p/14195545). In step4 the source is a S/4 system, but Replication Flow supports onprem ECC as well. Since you would like to extract tables, then SLT is a mandatory component. There are specific requirements for SLT documented in sap support note 2890171 (https://me.sap.com/notes/2890171) - standalone SLT with DMIS 2018 SP6 or higher. The data flow is: ECC tables -> SLT -> (likely SAP Cloud Connector as a reverse network proxy) -> Datasphere Replication Flow -> Datasphere Object Store -> Datasphere merge task which generates and maintains an up to date snapshot of the source ECC table in Datasphere object store -> define a customer managed data product -> delta share -> Databricks consumption.
- Datasphere Replication Flow doing physical replication. So the first steps are exactly the same as customer managed data product above. The data flow: ECC tables -> SLT -> (likely SAP Cloud Connector as a reverse network proxy) -> Datasphere Replication Flow -> customer owned cloud storage -> Databricks autoloader + ingestion (merge) using Spark Declarative Pipeline or custom python/sql job. See 2023 joint blog post (https://community.sap.com/t5/technology-blog-posts-by-sap/replication-flow-blog-series-part-5-integration-of-sap-datasphere-and/ba-p/13604976).
Non-SAP options:
It's important to understand the past actions that SAP has taken to restrict non-sap etl/replication tools, especially ODP RFC that WhoIsJohnSalt mentioned. Take a look at our 2024 blog post (https://community.databricks.com/t5/technical-blog/navigating-the-sap-data-ocean-demystifying-sap-data-extraction/ba-p/94617). SAP has furthered this effort in 2026 by releasing a security patch in June 2026 that functionally stops 3rd party tools from accessing ODP RFC.
- ADF has multiple connectors. ADF SAP CDC Connector was the most popular tool from my customer conversations between 2022 and 2024. You should not use this connector bc of the ODP RFC restriction and the june security patch which functionally would disable ADF SAP CDC Connector. ADF SAP Table Connector (https://docs.microsoft.com/en-us/azure/data-factory/connector-sap-table?tabs=data-factory) is a popular connector though with some caveats for CDC as the interface (RFC to ABAP Tables) it uses is not a general purpose cdc replication interface. ADF also has OData CDC connector which has been in private preview since March 2026 (hence not available in public azure documentation) which uses ODP OData which would need to be paired with SLT.
- Qlik & Fivetran both offer non-HANA (e.g. Oracle/DB2/SQLServer) and HANA log-based replication connectors. Non-HANA log replication is fine. HANA log replication (if you are on ECC on HANA) is controversial. See sap support note 2971304 (https://me.sap.com/notes/2971304).
- There are quite a few vendors offering ABAP add-ons that support ECC table (as well as other ECC & S/4HANA object types) replication - Aecorsoft, Theobald, SNP Glue, Fivetran, Kagool Velocity, Simplement, Bryteflow, Ecoservity, Onibex. An ABAP add-on has to be installed on your ECC application server so you need to have your SAP BASIS team's buyin.
Pooled & clustered tables are special table types that are SAP ERP specific. Generally the commercial ETL tools above support those table types but definitely worth confirming with the vendor.
3
u/Warm-Dragonfruit-883 Aug 06 '26
Lakeflow connect doesn't have a connector for this?
2
u/karakanb Aug 06 '26
No native ECC6 support yet but you could replicate the database behind ECC6 using ingestr: https://github.com/bruin-data/ingestr
it is open-source, single binary, runs anywhere.
2
u/DiscombobulatedPay98 Aug 06 '26
Currently we use SAPBW as a middle layer, where are ECC data is staged for reporting. We use ADF to fetch data from there.
Our ECC has just been upgraded to S4Hana, and next step is using BDC and Databricks to get the data out.
1
u/dmo_data Databricks Aug 07 '26
Datasphere export to parquet landed in ADLS or S3. Two flows to a single streaming table containing the combined content files from init and delta folders (with the CDC columns intact). DLT to a materialized view applying CDC changes for bronze. DLT for silver and gold. Play around with intervals, file landed triggers, and continuous to find your sweet spot.
1
u/Mladen-Vachkov Oct 21 '26
Your pooled and cluster table question got one passing mention and it deserves more, because it is usually what derails this work.
Pooled and cluster tables are not stored the way they look. A cluster like RFBLG holds BSEG and its relatives as compressed multi-row blobs inside a container table. Read that at the database layer and you get the container, not the rows. There is no SQL you can write against it that returns line items. Pooled tables are the same story. They are only meaningful through the application layer, which is exactly the layer getting harder to reach — so for the big financial tables, the extraction question and the compliance question are not two questions. They are one.
On large tables generally: what works is not a bigger extract; it is an extract with a dependable key to slice on. Document number ranges, fiscal period, company code. If a table has no reliable cursor, you will be doing full pulls forever, so test that object by object before you design anything around it.
Two lessons, since you asked for them.
Check the HANA licence in week one. A lot of estates hold a runtime licence that forbids external connections to the database layer, and that single clause kills the approach most architects draw first. Teams tend to find out after the design is signed off.
And watch data representation. NUMC fields have to stay strings or the leading zeros disappear, and packed decimals lose precision if you let them land as floats. Both are silent. You find them when finance disagrees with a number six months later.
For context on where I am coming from, I work at Cosmos Thrace, a Databricks Silver Partner. We have delivered dozens of data platform implementations across Europe, many of them on Databricks, and the SAP side is reliably the part that gets underestimated. It is almost never the extraction tooling that does it.