How OpenMetadata connects to SAP HANA and SAP ERP
The data platform team usually arrives here because SAP sits outside the catalog: tables and business objects have no owners, lineage stops at the SAP boundary, and quality checks run somewhere else. The SAP HANA connector is a database connector that reads the SYS schema, while the SAP ERP connector is metadata only and needs CDS views and OData services exposed in SAP first. These are two different integration methods with different owners, prerequisites and limits, so each one needs its own plan and its own sign-off.
For HANA, the work sits mostly on the database side. The connector works with HANA or HANA express since SPS 2 and needs read access to the SYS schema, which is where catalog metadata is read from. The documented scope includes lineage, column-level lineage, profiling and data quality, so the team should confirm with the SAP Basis or database administrators which schemas the connector user may read, whether profiling runs against production tables, and how the connector user is created and rotated. Start with the grants and the SPS level of your HANA landscape, since those decide whether the connector can be configured at all.
For SAP ERP, the connector ingests metadata only, so it does not give you profiling or data quality on ERP tables. Before OpenMetadata can read anything, your SAP team must set up CDS views and OData services that expose the data through RESTful interfaces. That makes the ERP work a development and authorization project inside SAP, with its own transport path, testing and role design. Review the OpenMetadata SAP ERP connector documentation with your SAP team early, and confirm the exposed objects, the service user and the change control process before scheduling the catalog work.
What must be in place before connecting SAP HANA or SAP ERP
Connecting OpenMetadata to SAP sources depends on three things: the HANA database version and SYS schema access, the OpenMetadata platform it runs on, and the SAP ERP exposure work done by SAP teams. Confirm each item below before the connector is configured, because the SAP-side work usually has the longest lead time.
HANA version and SYS access
The HANA connector works with HANA or HANA express from SPS 2 onward, and it needs read access to the SYS schema to extract metadata, lineage, profiler and data quality inputs. Ask your HANA administrator to confirm the SPS level on each system and which SYS views the integration user can read. Check this on every HANA instance you plan to catalog, not only the production one.
SAP HANA connector docsOpenMetadata platform prerequisites
A bare metal install needs Java 21, either MySQL 8.0.42 or later or PostgreSQL 15 or later for the metadata database, and Elasticsearch 9.x or OpenSearch 3.x for search. Confirm these versions against your standard build images before scheduling the SAP work, since mismatched components are a common cause of failed first runs. Kubernetes or Docker installs follow their own deployment guides.
Bare metal deployment docsNetwork paths to HANA and OData
The ingestion host must reach the HANA SQL port and the SAP ERP OData endpoints over paths your network team has approved. Confirm firewall rules, DNS names and any TLS certificate chain that the connector must trust, in both directions where a callback is needed. Ask whether HANA and SAP ERP sit in a segment that requires a jump host or a proxy, because that changes where the ingestion workers can run.
CDS view and OData service owners
SAP ERP metadata reaches OpenMetadata only after CDS views and OData services are created and exposed for RESTful access. Identify the SAP functional and basis owners who build and release these objects, and agree on which business areas are in scope. Their change calendar, not the OpenMetadata side, usually sets the start date for the ERP connector.
SAP licensing and transport process
Exposing CDS views and OData services, and reading HANA system schemas, can touch SAP licensing terms and your change management path. Confirm with your SAP team whether the planned access is permitted under your agreement, and how new objects move from development to production through transport requests. Record the approved transport route and the named approver in the project plan before the build begins.
Service accounts and credential ownership
Decide which service account the HANA and ERP connectors use, who holds its password or certificate, and how rotation is handled. Keep the account read-only and limited to the SYS views and OData services listed in the project scope. Store the credentials in your approved secrets system, not in ingestion configuration files shared across the team.
Configuration sequence for the HANA connector and the SAP ERP connector
This sequence takes a team from a running OpenMetadata instance to a HANA service with metadata, lineage, profiling and data quality, and to an SAP ERP service that ingests metadata only from CDS views and OData services. Each step ends with a check you can see before moving on.
Confirm the OpenMetadata version and deployment
Before touching either source, confirm which OpenMetadata release you run and how it is deployed, whether on Kubernetes, on bare metal or in Docker for a trial. The SAP connector pages are documented for the 2.0.x line, so check that your ingestion image and server match that line before you configure services. Your platform owner or the team that runs OpenMetadata completes this step. It is done when the version shown in the UI or API matches the connector documentation you are following, and the ingestion runner can reach the server.
Create a dedicated HANA read user with SYS access
Ask the HANA administrator to create a separate database user for OpenMetadata, not a personal or administrator account. The connector needs access to the SYS schema, so grant only the read privileges the SAP HANA connector documentation lists for that schema, and record exactly what was granted. Confirm the HANA version is SPS 2 or later, or that you are using HANA express, since the connector supports those. It is done when you can log in as that user from the ingestion host and read the SYS catalog views without write rights.
Configure the HANA service and test the connection
In OpenMetadata, create a database service for SAP HANA and enter the host, port, database and the dedicated user's credentials. Store the password through the secrets option your deployment uses rather than pasting it into plain configuration files where that is avoidable. Run the connection test before saving the workflow. It is done when the test connection succeeds and the service appears under Services with the expected host.
Run HANA metadata ingestion and check the catalog
Run a metadata ingestion workflow for the HANA service with a scope you have agreed, such as selected schemas, so the first run stays small and reviewable. Schema, table and column metadata should be extracted from the SYS catalog. It is done when the ingestion run reports success and you can open a sample table in the catalog and see its columns and types, with no unexpected schemas included.
Enable HANA lineage, profiler and data quality
After metadata looks correct, turn on lineage extraction, column-level lineage, the profiler and data quality tests in the same service, one at a time. Profiling reads data, so confirm the profiler scope and sampling with the data owners before running it on large tables. Run each workflow separately so a failure in one does not hide the others. It is done when lineage edges appear for a known view or calculation, a profile exists for a test table, and a data quality test returns a result.
Define CDS views and OData services in SAP ERP
SAP ERP exposes data to the connector only through CDS views and OData services that your SAP team builds and activates. Agree the list of business objects to catalog, then have the SAP team define the CDS views and publish the OData services that serve them as RESTful interfaces. The connector documentation confirms this is a prerequisite, so do not start ingestion until the services exist. It is done when the SAP team confirms the views and services are active and lists their names.
Verify the RESTful endpoints before ingestion
Call each published OData endpoint with the integration user from a host that can reach the ERP, and confirm it returns metadata and records as expected. Check authorization for that user so it can read only the agreed views. This check happens outside OpenMetadata and avoids debugging the connector against a broken service. It is done when each endpoint returns a valid response for the integration user and an unauthorized request is refused.
Configure SAP ERP ingestion as metadata only
Create the SAP ERP service in OpenMetadata with the endpoint and integration user, then configure ingestion for metadata only, because the connector ingests metadata and does not extract or profile data. Run the connection test, then a metadata ingestion run. It is done when the test connection passes, the run completes, and the CDS-based entities you agreed to catalog appear with their owners ready to be assigned.
What each connector covers and where it stops
The HANA connector is the deeper of the two. It works with SAP HANA or HANA express from SPS 2 onward and reads through the SYS schema, which is where the database exposes its catalog objects. Because it reaches that layer, the connector can carry lineage, column-level lineage, profiling and data quality tests, so HANA tables can be owned, tested and traced in the same way as your other warehouses. Profiling is the cost lever here: it runs queries against the data itself, so the scope you choose decides how much load lands on a production HANA instance.
- Lineage and column-level lineage: Covered by the connector, so downstream impact can be traced from HANA tables into the rest of the catalog.
- Profiling and data quality: Run against HANA data, so schedule them and size them with the database team before enabling them broadly.
- Ownership: Assign owners to schemas and tables early, since lineage and test failures route to the people listed there.
- Access: The integration user needs read access to the SYS schema objects the connector queries, and that grant should be reviewed by the HANA administrators.
- Version floor: Confirm your HANA release is SPS 2 or later, or the connector will not fit your landscape.
Confirm the exact privileges and lineage behavior for your HANA release in the connector documentation before you write the grant request.
The SAP ERP connector ingests metadata only. It does not provide lineage, profiling or data quality for ERP data, so the catalog will describe ERP objects without measuring them. The connector depends on setup that happens inside SAP: CDS views and OData services must be built and exposed so the connector can reach SAP data through RESTful interfaces. That build work is usually the largest part of the effort and sits with the SAP team, not with the catalog team.
- Metadata only: Expect object names, descriptions and structure to appear, with no lineage, profiling or quality results from the connector.
- CDS views and OData services: Must exist and be exposed before ingestion works, so schedule this work ahead of the connector configuration.
- Ownership: Owners must be assigned by hand for ERP objects, since the business process owners rarely appear in SAP metadata.
- Profiling cost: Not applicable through this connector, which keeps load on the ERP system low but also means no data-level assurance.
- Coverage: Confirm which SAP ERP objects are covered in the current connector documentation before promising the business a specific list.
Check the SAP ERP connector page for the current object coverage and the exposure steps your SAP release needs.
The two connectors create different expectations for the business. HANA objects can be profiled, tested and traced, so data owners can be held to quality checks and impact analysis. ERP objects arrive as a described inventory, which helps with discovery and glossary work but does not show whether the data is correct or how it moves. Setting these expectations early prevents the catalog from being judged by the wrong measure, especially when stakeholders assume every connected SAP source is fully governed.
- Stewardship roles: Name a steward for each ERP domain who will maintain descriptions and glossary links that the connector cannot supply.
- HANA ownership: Owners of HANA schemas should also own the quality tests and alerts configured on them.
- Gap reporting: Record which SAP sources lack lineage or profiling so the gaps are visible to governance committees.
- Scope agreement: Put the connector scope, object list and exclusions in the written project plan.
- Review cadence: Revisit the coverage list when SAP or OpenMetadata releases change connector behavior.
Agree on the owner and steward for each SAP source before ingestion starts, so the catalog does not open with unowned assets.
Profiling is the main operational cost difference between the connectors. Profiling and data quality on HANA run queries against live tables, so the work consumes database resources and may compete with business workloads. The ERP connector does not run that workload, which keeps the operational footprint on SAP smaller, but it also means no profile statistics appear for ERP objects. Plan the HANA profiler scope as a capacity question for the HANA team, not only as a catalog setting.
- Scope limits: Profile a defined set of high-value tables first rather than every schema the connector can reach.
- Timing: Agree on run windows with the HANA administrators so profiling avoids peak business periods.
- Sampling: Confirm the sampling options available in your OpenMetadata version and choose them with the database team.
- Recurring cost: Profiling and test runs recur on a schedule, so their load continues after the initial build.
- Quote inputs: Ask any implementation partner to price HANA profiling separately from metadata ingestion, and to state who runs the schedules after handover.
Before enabling profiling, ask the HANA team to confirm the resource headroom and approved run windows in writing.
How SAP objects map to OpenMetadata entities
This table shows how HANA schemas, tables, views and columns, and SAP ERP CDS views and OData entity sets, are expected to appear in OpenMetadata. Read each row as the starting point: the connector sets the structure during ingestion, while owners, glossary terms and domains need to be assigned afterward. The main takeaway is that the ERP side only produces metadata once CDS views and OData services are exposed, so confirm those objects exist before expecting a catalog entry.
| SAP object | OpenMetadata entity | Assigned after ingestion | Verify in your environment |
|---|---|---|---|
| HANA database or tenant | Database service | Service owner and domain | Connection target and HANA version or express edition |
| HANA schema (including SYS access) | Database and database schema | Data owner and domain for business schemas | SYS schema access granted to the connection user |
| HANA tables | Tables | Glossary terms and tier or classification | Table names match what business teams call them |
| HANA views (calculation and SQL views) | Tables or views with view lineage | Owner for each business-facing view | Lineage reflects the view logic you expect |
| HANA columns | Columns with profiler and data quality tests | PII tags and glossary term links | Data types and sensitive fields reviewed by data owners |
| ERP CDS views | Tables built from exposed CDS views | Business owner, glossary terms and domain | CDS views are created and exposed for the connector |
| ERP OData entity sets | Metadata-only tables exposed through the OData interface | Ownership by the SAP functional team | OData services are activated and the integration user can read them |
How metadata moves from SAP systems into the catalog
Ingestion starts in the OpenMetadata server's network zone and reads SAP HANA through the SYS schema, which requires access to that schema. SAP ERP cannot be read directly: its metadata is only reachable after CDS views and OData services are set up to expose SAP data through RESTful interfaces, and the connector ingests metadata only. Check which side of the trust boundary the connection crosses, who approves the firewall opening, and where the metadata store and search index sit relative to users.
Ingestion crosses from the SAP zone into the catalog zone through two read paths.
Securing the HANA user and SAP ERP service accounts
The HANA user and the SAP ERP integration account are the two credentials that let OpenMetadata read your SAP landscape, so they need the same care as any production service account. The cards below cover what to grant, where secrets live, how traffic is protected, and how the catalog login itself is secured.
Least-privilege read accounts for HANA
The HANA connector needs access to the SYS schema to read catalog metadata, and that is the scope to design around. Create a dedicated user for ingestion and grant only the read privileges the connector documentation names for the features you enable, such as lineage, profiling or data quality. Ask your HANA administrator to confirm which SYS views the user can reach, and test the grants with a dry run before the first full ingestion.
SAP HANA connector docsService user for SAP ERP exposure
The SAP ERP connector reads metadata through CDS views and OData services, so the integration user must be authorized for exactly those exposed services and nothing else. Use a technical user that is not shared with other integrations, and restrict it to the specific CDS views and OData services your catalog scope requires. Confirm with your SAP security team that the user cannot call transactional services used by business processes.
SAP ERP connector docsStoring credentials in OpenMetadata
Database and SAP passwords are entered in the ingestion service configuration, so decide up front where those values are stored and who can read them. Keep the secret out of pipeline definitions in source control, restrict who can edit ingestion services in the OpenMetadata UI, and rotate the HANA and SAP passwords on the schedule your security policy sets. Confirm how your deployment's secrets manager integration handles these values before you rely on it.
Network paths to SAP ports
Restrict the ingestion runner so it can reach only the HANA SQL port and the SAP HTTP or HTTPS ports that serve your CDS views and OData services. Allow traffic from the subnet where ingestion runs, and block it from general user networks. Ask your network team to document the firewall rules and to confirm they match the ports in your SAP and HANA configuration, because the exact ports depend on your landscape.
TLS for HANA and SAP connections
Encrypt every connection from the ingestion runner to HANA and to the SAP gateway, and verify server certificates rather than accepting any certificate. Ask your SAP Basis and HANA teams which certificate authority issued the server certificates and whether the CA chain must be installed on the ingestion runner. Test the connection with certificate validation enabled, since a connector that works only with validation disabled is a finding for your security review.
Separating ingestion from business users
Keep the ingestion accounts out of the groups that business users and analysts hold in HANA and SAP. Give catalog consumers their own OpenMetadata roles, and keep ingestion bots limited to the service they run. This separation means a leaked ingestion credential cannot be used to query business data, and an analyst's access change does not break ingestion.
Catalog login: one authentication mechanism
OpenMetadata documents SSO with providers such as Okta, Azure, Google and Keycloak, along with custom OIDC. It does not support combining SSO and basic authentication at the same time, so choose one mechanism for the catalog login and plan the admin path for when the identity provider is unavailable. Review the OpenMetadata security docs for the full list of options before you decide.
OpenMetadata security docsCommon SAP connection and ingestion failures
This table pairs the failures teams most often hit when connecting OpenMetadata to SAP HANA and SAP ERP with their likely cause and the first check to run. Read it in order of the connection path: version and schema access on HANA first, then CDS views, OData exposure and authentication on the ERP side. Most failures trace back to a missing permission or an unexposed interface rather than to OpenMetadata itself.
| Symptom | Likely cause | First check |
|---|---|---|
| HANA connection fails at the start | HANA version is below SPS 2, which the SAP HANA connector does not support | Confirm the HANA or HANA express service pack level in the database system information before changing any connector settings |
| Metadata extraction returns no tables | The ingestion user cannot read the SYS schema, so catalog views return empty | Run a simple select against a SYS catalog view as the ingestion user and compare the result with an administrator session |
| Lineage or profiling sections are empty on HANA | Required SYS views are not granted, or profiling was enabled without the matching data permissions | Check the connector's documented permission list for lineage and profiler runs separately, then rerun each run type alone |
| ERP connector reports no data objects | CDS views are not created or not activated in the SAP ERP system | In the ABAP development tools, confirm each CDS view used by the connector is active and visible through the expected package |
| ERP requests return 404 or empty responses | OData services are not published or not activated for the interface the connector calls | Open the SAP Gateway service maintenance for the service and confirm it is active and linked to the correct system alias |
| ERP requests fail with 401 or 403 | The technical user is rejected, locked, missing authorizations for the OData service, or the password has expired | Test the same credentials against the service URL outside OpenMetadata and review the user's authorization roles and status |
| ERP metadata appears, but no lineage links | The SAP ERP connector ingests metadata only, so cross-system lineage is not produced from it | Set expectations with the data owner and document lineage for ERP-to-warehouse flows through the warehouse or pipeline side |
| Profiling or data quality never runs on ERP objects | The SAP ERP connector does not provide profiling, so no profiler job is defined for these objects | Confirm the connector's documented capabilities before scheduling profiler jobs against SAP ERP sources |
| Intermittent timeouts during large extracts | Extraction scope covers too many schemas or objects, or the OData service page size is small for the volume | Narrow the schema and object filters in the first run, then widen them after the connection is stable |
Questions buyers ask about SAP and OpenMetadata integration
What drives the cost of connecting SAP HANA and SAP ERP to OpenMetadata?
The largest drivers are the number of SAP systems in scope, how many CDS views and OData services must be built or reviewed before extraction works, and how much testing the metadata needs before owners trust it. Setup of the OpenMetadata server, its database and its search service is a separate cost component that recurs as infrastructure, upgrades and support. Ask any partner for a quote that splits one-time work (landscape review, CDS and OData build, connector configuration, validation) from recurring work (upgrades, ingestion monitoring, retainers), and state which SAP and OpenMetadata versions it assumes.
How long does an SAP and OpenMetadata integration take?
Duration depends mainly on the SAP landscape: how many systems sit behind the integration, whether HANA is already reachable with a suitable read account, and how quickly the SAP team can build and approve CDS views and OData services. A single HANA database with an existing read account moves faster than a multi-system ERP estate that needs new exposure work and security review. Ask for a timeline tied to written milestones, and confirm which environments (sandbox, test, production) must be ready before extraction is validated.
What must our team provide before the integration can start?
Three groups of people are needed. Your SAP Basis team confirms system access, network paths, client settings and an approved technical user. Your CDS and OData owners confirm which views and services expose the data you want cataloged and who maintains them after go-live. Your security and access approvers sign off on the read permissions, the SYS schema access for HANA and any credential storage rules. Without these approvals, the work stalls before the first connector run, so assign named owners at kickoff.
Can our own data team connect SAP to OpenMetadata without a partner?
Yes, if your team has SAP Basis skills, experience with OpenMetadata connectors and time to build CDS views and OData services correctly. The SAP HANA connector is documented as working with HANA or HANA express since SPS 2, and it needs access to the SYS schema. The SAP ERP connector ingests metadata only and depends on CDS views and OData services that expose SAP data through RESTful interfaces. The main risk for an internal team is underestimating SAP-side work and the approvals it needs. Review the SAP HANA connector documentation and the SAP ERP connector documentation before deciding.
Why is SAP ERP lineage not part of the connector scope?
The SAP ERP connector ingests metadata only, so it extracts the structures that CDS views and OData services expose, not the transformation logic or data flow between SAP objects. Lineage in this topic applies to the SAP HANA connector, which covers lineage and column-level lineage. Teams that need ERP-to-warehouse lineage must plan it separately, for example by documenting it in a glossary, using the OpenMetadata lineage APIs, or connecting downstream warehouse lineage from the systems that receive SAP data. Confirm the exact lineage scope in the current connector documentation before writing requirements.
What goes wrong most often with SAP metadata in OpenMetadata?
Most failures come from access, not from OpenMetadata itself. Common problems include a technical user without read rights on the SYS schema, CDS views that were never released for external consumption, OData services that return incomplete metadata, and sandbox systems that do not match production naming. Teams also miss ownership: when no one maintains the exposed views, the catalog drifts from SAP after the first change. Test the connection against a non-production system, record which views and services are in scope, and assign an owner to each.
What should we ask a partner before signing a scope?
Ask which SAP HANA and SAP ERP versions the partner has validated against and how it will confirm the SYS schema grants before build. Ask who builds and maintains the CDS views and OData services, who approves them, and what happens when SAP changes. Ask for the scope in writing, including what the SAP ERP connector will not cover, how lineage will be delivered for HANA, and how upgrades to OpenMetadata will be handled. Request a fixed-scope proposal with deliverables and a retest plan, since DeployOpen agreements are typically fixed-scope and agreed in writing before work starts.
How DeployOpen scopes and delivers SAP connections
DeployOpen puts the SAP connection into a written scope before any work starts. For this topic, that scope names which SAP HANA schemas and which SAP ERP CDS views and OData services are in play, who on the client side owns each one, and what the OpenMetadata connector should extract from each source. Because the HANA connector needs access to the SYS schema and the ERP connector depends on CDS views and OData services that the SAP team must prepare, the written scope also states which of those prerequisites the client's SAP team delivers and which DeployOpen configures. Agreeing this split early prevents a connector build from stalling while a request sits with another team.
Delivery runs through the client's own SAP Basis, data and security teams. DeployOpen works with them to confirm the database user and its grants, the network path from the OpenMetadata ingestion runtime to the HANA and ERP endpoints, and how service credentials are stored and rotated. The connectors are then built and run inside the client's infrastructure, and each one is tested against the agreed scope: metadata extraction for the HANA SYS schema, lineage and profiling results where the HANA connector supports them, and the metadata-only ingestion from SAP ERP. Test results are reviewed with the client before the scope is closed, and the client keeps the configuration and runbooks as the source of truth.
After handover, the client can keep the connection in its own hands or move part of the work to a support arrangement. DeployOpen offers support and retainers for connector updates, OpenMetadata upgrades, changes to SAP views and services, and periodic checks that ingestion still runs with the permissions it was granted. Whether a retainer fits depends on how often the SAP landscape changes, which the client should estimate from its own release calendar. Ask any partner, DeployOpen included, to confirm in writing which SAP-side changes are covered and who pays for re-testing after an SAP upgrade.

