Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
SantaT
New Member

Power BI Direct Connection to SAP HANA Production Database

Hello,

I would like to ask about best practices and licensing considerations when connecting Power BI directly to an SAP HANA production database.

Currently, we are using a copy of our SAP HANA database as the source for our Power BI reports. This creates delays because the copied database must be refreshed regularly, meaning our reports do not contain live data.

Since Power BI has native SAP HANA integration, I would like to understand whether it is technically supported and considered best practice to connect Power BI directly to an SAP HANA production database for reporting purposes.

I would also like to know whether this could potentially breach SAP licensing agreements or usage policies, and whether Microsoft and SAP recommend a specific architecture for near real-time or live reporting.

Any guidance or experiences with similar setups would be greatly appreciated.

Thank you.

1 ACCEPTED SOLUTION
Poojara_D12
Super User
Super User

Hi @SantaT 

Connecting Power BI directly to a live production SAP HANA database is fully supported by Microsoft via its native database connector, but doing so carries severe operational risks and potential licensing violations that make it a discouraged practice.

From a performance standpoint, querying a live transactional production environment directly for real-time reporting is highly risky; Power BI's DirectQuery mode translates user dashboard interactions into massive, unoptimized SQL statements that strike the underlying database engine simultaneously. This can quickly exhaust CPU and thread resources on your production HANA node, leading to severe concurrency bottlenecks and lagging out the core transactional operations of your business.

From a compliance perspective, you run a very high risk of breaching your SAP contractual agreements due to SAP’s Indirect Access (Digital Access) policies. If your enterprise operates under a Runtime License for SAP HANA (where the database is strictly bundled to only power the core SAP ERP application), connecting a third-party front-end tool like Power BI to pull raw data directly from the underlying tables is explicitly prohibited. Even if you have a Full-Use Database License, exposing this direct backdoor connection to dashboard users who do not possess a matching, active SAP Named User license can trigger massive financial penalties during an audit, as SAP classifies automated external data retrieval as actionable platform consumption.

To achieve near real-time reporting without crashing your production environment or failing a compliance audit, Microsoft and SAP recommend routing your data through an application-driven semantic layer rather than a direct database connection. The industry best practice is to build ABAP Core Data Services (CDS) views or HANA Calculation Views inside the SAP layer, expose them securely as OData Services, and connect Power BI using the native OData or SAP Business Warehouse (BW) connectors. This framework allows you to implement Single Sign-On (SSO) via Kerberos Constrained Delegation, meaning Power BI handles data requests by impersonating the individual user’s authenticated SAP profile—which completely eliminates indirect access compliance risks, preserves SAP’s internal application-level security roles, and allows the SAP engine to safely throttle and cache incoming query traffic.

 

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos"

Kind Regards,
Poojara - Proud to be a Super User
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS

View solution in original post

4 REPLIES 4
Poojara_D12
Super User
Super User

Hi @SantaT 

Connecting Power BI directly to a live production SAP HANA database is fully supported by Microsoft via its native database connector, but doing so carries severe operational risks and potential licensing violations that make it a discouraged practice.

From a performance standpoint, querying a live transactional production environment directly for real-time reporting is highly risky; Power BI's DirectQuery mode translates user dashboard interactions into massive, unoptimized SQL statements that strike the underlying database engine simultaneously. This can quickly exhaust CPU and thread resources on your production HANA node, leading to severe concurrency bottlenecks and lagging out the core transactional operations of your business.

From a compliance perspective, you run a very high risk of breaching your SAP contractual agreements due to SAP’s Indirect Access (Digital Access) policies. If your enterprise operates under a Runtime License for SAP HANA (where the database is strictly bundled to only power the core SAP ERP application), connecting a third-party front-end tool like Power BI to pull raw data directly from the underlying tables is explicitly prohibited. Even if you have a Full-Use Database License, exposing this direct backdoor connection to dashboard users who do not possess a matching, active SAP Named User license can trigger massive financial penalties during an audit, as SAP classifies automated external data retrieval as actionable platform consumption.

To achieve near real-time reporting without crashing your production environment or failing a compliance audit, Microsoft and SAP recommend routing your data through an application-driven semantic layer rather than a direct database connection. The industry best practice is to build ABAP Core Data Services (CDS) views or HANA Calculation Views inside the SAP layer, expose them securely as OData Services, and connect Power BI using the native OData or SAP Business Warehouse (BW) connectors. This framework allows you to implement Single Sign-On (SSO) via Kerberos Constrained Delegation, meaning Power BI handles data requests by impersonating the individual user’s authenticated SAP profile—which completely eliminates indirect access compliance risks, preserves SAP’s internal application-level security roles, and allows the SAP engine to safely throttle and cache incoming query traffic.

 

Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos"

Kind Regards,
Poojara - Proud to be a Super User
Data Analyst | MSBI Developer | Power BI Consultant
Consider Subscribing my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS
v-kpoloju-msft
Community Support
Community Support

Hi @SantaT

Thank you for reaching out to the Microsoft Fabric Community Forum. Also, thanks to @lbendlin,  for those inputs on this thread.

Has your issue been resolved? If the response provided by the community member @lbendlin, addressed your query, could you please confirm? It helps us ensure that the solutions provided are effective and beneficial for everyone.

Hope this helps clarify things and let me know what you find after giving these steps a try happy to help you investigate this further.

Thank you for using the Microsoft Community Forum.

Hi @SantaT

Just wanted to follow up. If the shared guidance worked for you, that’s wonderful hopefully it also helps others looking for similar answers. If there’s anything else you'd like to explore or clarify, don’t hesitate to reach out.

Thank you.

lbendlin
Super User
Super User

It is not best practice, not by a long shot. Your reporting tool should never have direct access to the OLTP production database.

 

Keep your current setup.

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Kudoed Authors