๐ŸŸข SAP ยท HANA Database Licensing

SAP HANA Database Licensing Explained: Runtime vs Full-Use and Costs

The definitive CIO playbook for understanding SAP HANA licensing models โ€” runtime versus full-use rights, memory-based pricing, cloud transitions, compliance risks, and cost optimisation strategies.

๐ŸŸข SAP ๐Ÿ“Š HANA Licensing ๐Ÿ”„ Updated Feb 2026 โœ๏ธ Fredrik Filipsson
๐Ÿ“˜ This is a Pillar Guide in the SAP HANA licensing series. Related spoke articles: S/4HANA Licensing Migration Paths ยท RISE vs On-Premise Licensing
~15%
Runtime licence cost as % of SAP app value
$50K+
Full-use list price per 64 GB block
22%
Annual support as % of licence fee
4ร—
Typical cost multiple: full-use vs runtime

Executive Summary

SAP HANA is the in-memory database at the heart of every modern SAP system. Any organisation adopting S/4HANA, BW/4HANA, or SAP's next-generation platforms must run them on HANA โ€” making database licensing a critical cost and compliance consideration. SAP offers two primary licensing models: HANA Runtime (restricted to SAP applications only, priced at approximately 15% of the application licence value) and HANA Full-Use (unrestricted usage for any application, priced per memory capacity block).

The choice between runtime and full-use can mean the difference between a $150,000 database licence and a $600,000+ investment for the same environment. This guide provides CIOs, IT procurement leaders, and SAP administrators with the strategic analysis needed to make the right decision โ€” and avoid the compliance traps that catch the unwary.

๐Ÿ’ฒ

Runtime: Fraction of Full-Use Cost

Runtime licences cost ~15% of the SAP application's licence value โ€” typically 3โ€“4ร— cheaper than equivalent full-use licensing.

๐Ÿ“ฆ

Memory-Based Full-Use Pricing

Full-use HANA is licensed per 64 GB memory block. The larger your database footprint, the higher the cost โ€” with limited discount flexibility.

๐Ÿšซ

Strict Runtime Restrictions

Runtime licences prohibit all non-SAP usage: no custom schemas, no third-party tools, no direct SQL queries outside SAP applications.

๐Ÿ“Š

Audit Focus Area

SAP audit teams actively check HANA usage โ€” detecting unauthorised schemas, third-party connections, and memory overages on runtime and full-use licences.

HANA Runtime Licence Explained

A HANA runtime licence is a cost-effective way to licence the HANA database exclusively for SAP applications. It is valid only when HANA serves as the underlying database for SAP software โ€” such as S/4HANA, BW/4HANA, SAP Business Suite, or other SAP products. If your usage is confined to standard SAP applications, the runtime licence covers your needs at a fraction of the full-use cost.

๐Ÿ’ฒ Pricing: Percentage of Application Value

The runtime licence is priced based on the value of the SAP application it supports โ€” not on the HANA hardware size directly. A common approach is approximately 15% of the SAP application's licence cost. For example, if you purchased an S/4HANA software package for $1,000,000, the HANA runtime database licence would cost roughly $150,000 as a one-time fee. Annual support fees (~22% of the licence fee per year) apply on top, but the base cost remains a fraction of what a full-use licence would require for the same environment.

๐Ÿšซ Usage Restrictions: What You Cannot Do

The runtime licence comes with strict contractual limitations. All data in the HANA database must be accessed and manipulated through the SAP application's own interfaces and tools. Under a runtime licence, you cannot: build custom applications that directly query HANA tables; connect third-party reporting or BI tools (such as Tableau, Power BI, or Python scripts) directly to the HANA database; create custom schemas or load external data into HANA outside the SAP application; or run any non-SAP workloads on the same HANA instance.

Violating these terms โ€” even inadvertently โ€” constitutes a licence breach. A common compliance trap occurs when a well-meaning developer connects a data visualisation tool directly to HANA because it is technically straightforward, not realising it violates the licence. SAP auditors specifically look for such unauthorised connections.

๐ŸŽฏ What CIOs Should Do Now โ€” Runtime Licensing

HANA Full-Use Licence Explained

A HANA full-use licence unlocks the complete SAP HANA platform with no usage restrictions. Under full-use licensing, HANA can serve as the database for SAP applications and for any other applications, custom developments, or third-party tools. This is the model required when you intend HANA to function as an enterprise-wide data platform โ€” not merely an SAP application backend.

๐Ÿ“ฆ Pricing: Memory-Based Capacity Blocks

Full-use HANA licensing is based on the size of the HANA database, measured in memory capacity. You purchase HANA in fixed blocks โ€” commonly 64 GB increments โ€” at a list price of approximately $50,000+ per 64 GB block. For a 256 GB HANA instance, that is 4 blocks at roughly $200,000 list price. Larger environments can easily reach seven figures. SAP offers limited discounting on HANA full-use compared to application licences, making it one of the most expensive line items in an SAP landscape.

๐Ÿ“Š When Full-Use Is Required

You need a full-use licence in any scenario where HANA usage extends beyond supporting standard SAP applications. Common triggers include: building custom applications that run on HANA for high-performance needs; using HANA as a consolidated data platform pulling data from non-SAP systems for real-time analytics; running third-party software on HANA; connecting external BI tools directly to the HANA database; or consolidating multiple SAP products onto a single HANA instance (which runtime licences generally cannot cover).

Example Scenario

Technology Company: Custom Analytics on HANA

Situation: A SaaS company uses S/4HANA and wants to build a custom real-time analytics application that directly queries HANA tables alongside IoT sensor data from non-SAP sources. They estimate needing 512 GB of HANA memory.

Analysis: The custom analytics application and IoT data integration both require direct HANA access outside SAP application boundaries. A runtime licence would be in violation. Full-use licensing for 512 GB (8 ร— 64 GB blocks) at list price: approximately $400,000.

Result: Full-use licensing enables the combined use case but costs roughly 2.7ร— more than a runtime licence would have for the S/4HANA system alone.

Takeaway: Only pay the full-use premium when you have concrete, funded plans for non-SAP usage. The flexibility is genuine โ€” but so is the cost.

Pricing Comparison: Runtime vs Full-Use

AspectHANA Runtime LicenceHANA Full-Use Licence
Allowed UsageSAP applications only โ€” no third-party or custom direct useAny application โ€” SAP, third-party, or custom with no restrictions
Pricing Model~15% of SAP application licence value (one-time)Per 64 GB memory block (~$50K+ per block list)
Upfront CostLower โ€” fraction of full-useSignificantly higher โ€” scales with memory
Annual Support~22% of runtime licence fee~22% of full-use licence fee (higher absolute $)
ScalabilityNot tied to specific GB โ€” grows with SAP app usageExplicitly memory-sized โ€” must purchase more blocks as data grows
Ideal Use CaseSAP-only environments (ERP, BW)Mixed: SAP + custom apps, analytics, third-party tools
Upgrade PathCan convert to full-use (pay the delta)Already unrestricted
๐Ÿ“– Related Guide: SAP S/4HANA & HANA Licensing Guide: Migration, Models, and Cost Optimisation

Licensing Scenarios to Watch

๐Ÿ“Œ S/4HANA On-Premise Deployments

For on-premise S/4HANA implementations, a HANA runtime licence is almost always the most cost-effective choice โ€” unless you have concrete plans to extend HANA for non-SAP workloads. Critically, the runtime licence for S/4HANA does not automatically cover other SAP systems. It is tied to that specific S/4HANA environment. A separate BW/4HANA system, for example, would require its own runtime licence.

๐Ÿ“Œ BW on HANA / BW/4HANA

SAP Business Warehouse running on HANA can use a runtime licence restricted to BW workloads. However, be cautious with scenarios where BW and another SAP application share a HANA instance. SAP's policy is generally one runtime licence per product per HANA instance. If you attempt to run BW and S/4 on the same HANA database, runtime licences may not suffice โ€” SAP could require a full-use licence. Mixing workloads or building custom BW-based data marts may also push you towards full-use.

๐Ÿ“Œ Non-SAP and Custom Applications

This is the single most common compliance trap. Any time you plan to use HANA for something other than an SAP application, you need a full-use licence. Even if a third-party tool reads data from S/4HANA's tables, if it connects directly to HANA (bypassing SAP application interfaces), SAP views this as unlicensed usage under a runtime agreement. Factor full-use costs into any project involving external analytics tools, custom applications, or third-party integrations at the database level.

๐Ÿ“Œ Cloud Deployments: BYOL vs Pay-As-You-Go

Deploying HANA on AWS, Azure, or Google Cloud offers two paths. BYOL (Bring Your Own Licence) lets you reuse an existing SAP licence on a cloud VM โ€” same terms, different hardware. This is typically more cost-effective for steady production workloads. Pay-As-You-Go from hyperscaler marketplaces includes HANA licensing in the hourly rate โ€” convenient for prototyping or variable workloads, but substantially more expensive over the long term for stable production systems.

๐Ÿ“Œ RISE with SAP and HANA Cloud

Under RISE with SAP, the HANA database is delivered as part of the subscription service โ€” you do not separately licence HANA. However, your existing on-premise HANA licences become potential shelfware once you go live on RISE. When negotiating RISE contracts, always negotiate credit or trade-in value for existing HANA licences to avoid double-spending. If you adopt SAP HANA Cloud as a standalone BTP service, note that on-premise HANA licences do not carry over โ€” it is an entirely separate subscription model.

๐ŸŽฏ What CIOs Should Do Now โ€” Deployment Strategy

Optimisation and Cost Control Strategies

1

Choose Runtime Whenever Feasible

If your HANA usage is confined to standard SAP applications, always opt for the cheaper runtime licence. The cost difference is substantial โ€” often 3โ€“4ร— lower than full-use for an equivalent deployment. Start with runtime to minimise costs; you can upgrade later if genuinely needed.

2

Right-Size Your Memory (Avoid Over-Provisioning)

For full-use licensing, memory equals cost. Work with your SAP Basis team to estimate HANA memory requirements using SAP's sizing tools and conservative growth projections. Do not over-size with a large safety cushion "just to be safe" โ€” every unnecessary 64 GB block is real money wasted. You can purchase additional capacity later, but you cannot refund unused licensed capacity.

3

Implement Data Tiering and Archiving

Not all data needs to reside in expensive in-memory storage. Use HANA's Native Storage Extension (NSE), warm/cold data tiering, and aggressive archiving policies to keep your active memory footprint lean. Archiving five-year-old transactional data out of HANA could save you from licensing an additional 128 GB block โ€” potentially $50,000+ saved per year in support alone.

4

Negotiate Future Growth Upfront

When making the initial HANA deal, lock in pricing for future memory expansions. If you anticipate doubling your HANA capacity in 2โ€“3 years, negotiate the option to purchase additional blocks at the same discount rate. Without this, SAP may charge list price for new capacity when you have less leverage. Large S/4HANA migration deals are the ideal moment to secure these terms.

5

Monitor Usage Continuously

Treat HANA licence management as an ongoing operational task. Use SAP's system measurement tools, HANA cockpit views, and SQL queries to track memory consumption and connected users. Early detection of compliance issues โ€” an unauthorised schema, a rogue BI tool connection, memory creeping past the licensed amount โ€” allows remediation before audit pressure makes it expensive.

6

Leverage SAP Programmes and Bundle Deals

SAP periodically offers promotions โ€” free runtime licences for customers migrating from legacy systems, bundle pricing for S/4HANA + HANA + BTP, or conversion credits. Talk to your SAP account executive about available incentives, but always decompose bundle pricing to confirm it truly delivers value rather than hiding costs behind a single number.

"The most expensive HANA licensing mistake is not choosing the wrong model โ€” it is failing to enforce the boundaries of the model you chose. A runtime licence that quietly acquires third-party connections costs far more to remediate in an audit than a proactively licensed full-use environment."

HANA Licence Compliance and Audits

SAP is known for its strict licence compliance audits, and HANA has become a focus area in recent years. SAP's audit tools and system measurement scripts can detect: the amount of memory installed versus what is licensed (for full-use); whether unauthorised users, schemas, or connections exist (indicating non-SAP usage on runtime); and whether specific features are being used beyond your licence edition's scope.

๐Ÿ“Œ Consequences of Non-Compliance

If an audit reveals you are exceeding your licensed entitlement โ€” whether through memory overage on full-use or unauthorised usage on runtime โ€” SAP will typically require you to purchase the necessary licences retroactively. This includes back-dated maintenance fees for the period of non-compliance. For example, if you had a 256 GB full-use licence but were actually using 300 GB, SAP will demand you purchase an additional 64 GB block and backdate maintenance to when the overage began. If runtime usage violations are discovered, SAP may require a full conversion to full-use licensing โ€” an unplanned expense that can reach hundreds of thousands of dollars.

Compliance Scenario

Manufacturing Firm: The Accidental BI Connection

Situation: A manufacturer runs S/4HANA on a HANA runtime licence. A data analyst connects Tableau directly to the HANA database to build executive dashboards โ€” technically straightforward but contractually prohibited.

Audit Discovery: SAP's system measurement detects the external schema and user created for Tableau. The audit team classifies this as unlicensed full-use consumption.

Result: The manufacturer must purchase a full-use licence for the entire HANA instance (~$400K), plus back-maintenance fees for 18 months of non-compliant usage (~$132K additional). Total unplanned spend: over $530,000.

Takeaway: Implement governance controls that prevent direct HANA connections under runtime licensing. Education and access restrictions are far cheaper than audit remediation.

Cloud Transition: What Happens to Existing HANA Licences

Many SAP customers are transitioning to RISE with SAP, SAP HANA Cloud, or IaaS deployments. Planning the fate of existing HANA licences during these moves is essential to avoid wasting prior investments.

Watch Out

RISE with SAP โ€” Shelfware Risk

RISE includes HANA as part of the subscription. Your existing on-premise HANA licences become unused assets unless you negotiate trade-in credits. You may continue paying maintenance on idle licences unless you actively terminate them.

Opportunity

BYOL to Hyperscaler Cloud

Reuse existing HANA licences on AWS, Azure, or GCP VMs. The licence is not hardware-bound โ€” as long as the cloud VM is HANA-certified, your entitlement carries over. This maximises your existing investment whilst gaining cloud flexibility.

Plan Ahead

SAP HANA Cloud (BTP)

On-premise HANA licences do not carry over to SAP HANA Cloud service. If adopting BTP-based HANA, negotiate conversion rights or cloud credits during your transition deal to avoid paying twice for database capability.

๐ŸŽฏ What CIOs Should Do Now โ€” Cloud Transition

Related Reading

Frequently Asked Questions

Do I need a separate HANA licence for each SAP system?
Generally, yes. HANA runtime licensing is tied to each SAP product environment. If you have separate systems for S/4HANA and BW/4HANA, each requires its own HANA runtime licence entitlement. You cannot use one runtime licence for two different SAP products simultaneously. Non-production (dev/test) systems are typically covered under your production licence โ€” but always verify your specific contract terms. The only scenario where a single licence covers multiple systems is with full-use licensing on a consolidated HANA instance with sufficient memory allocated.
What happens if my HANA memory usage exceeds what I licensed?
On a full-use licence, exceeding your purchased memory capacity puts you out of compliance. You must purchase additional HANA capacity blocks (e.g., another 64 GB) to cover the overage. If discovered during an audit, SAP will typically backdate maintenance fees to when the overage began. It is far better to monitor proactively and licence up before an audit forces the issue. On a runtime licence, there is no explicit memory cap, but SAP may question extremely large database growth that seems inconsistent with normal SAP application usage.
Is HANA mandatory for all SAP products?
Not for all, but for the major current-generation products, yes. SAP S/4HANA runs exclusively on HANA โ€” unlike its predecessor SAP ECC, you cannot use Oracle, DB2, or SQL Server. BW/4HANA similarly requires HANA. Some SAP products still support other databases (e.g., SAP Business One on SQL Server), but if your organisation is adopting SAP's modern ERP and analytics solutions, HANA is mandatory.
Can runtime licences be upgraded to full-use later?
Yes โ€” this is a common path. SAP will typically let you convert by crediting the original runtime licence fees towards the full-use licence price (you pay the delta). For example, if you paid $200K for runtime and full-use for the same scenario costs $600K, you would pay approximately $400K for the upgrade. It is better to anticipate this need early and negotiate conversion terms as part of your original deal whilst you have maximum leverage. Do not begin using HANA beyond runtime rights until you have officially completed the licence conversion.
How does HANA licensing work in RISE with SAP?
In RISE, SAP provides the HANA database as part of the subscription service โ€” you do not separately deal with a HANA licence. The subscription fee covers database usage with restrictions similar to runtime (you cannot access the raw database freely). Existing on-premise HANA licences are not consumed by RISE and may become shelfware unless you negotiate trade-in credits. On-premise HANA licences also cannot be converted to SAP HANA Cloud credits โ€” these are entirely separate licensing constructs.

Need Help Optimising Your SAP HANA Licensing?

Redress Compliance provides independent, vendor-neutral advisory on SAP licensing โ€” from HANA model selection and cost optimisation to audit defence and contract negotiation.

๐Ÿ“š SAP HANA Licensing โ€” Article Series

Related Resources

FF

Fredrik Filipsson

Co-founder of Redress Compliance โ€” a leading independent advisory firm specialising in Oracle, Microsoft, SAP, IBM, Salesforce, and Broadcom/VMware licensing. With over 20 years of experience in software licensing and contract negotiations, Fredrik has helped hundreds of organisations โ€” including numerous Fortune 500 companies โ€” optimise costs, avoid compliance risks, and secure favourable terms with major software vendors.

โ† Back to SAP Knowledge Hub