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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
JULIAN21989
New Member

Error connecting stored procedure on the SAP HANA Database

I try to connect to SAP Business One on HANA, I need to use the import option, this is my connection:

 

JULIAN21989_1-1667999357309.png

 

And this is de error message: 

 

JULIAN21989_0-1667999040100.png

 

I have the correct ODBC drivers installed and when connected without SQL instructions it's run ok, but don't show the stored procedure:

 

Connection without SQL:

JULIAN21989_2-1667999809420.png

Result (Don't show procedure):

JULIAN21989_3-1667999894293.png

 

 

 

 

1 ACCEPTED SOLUTION

I solved it by creating an ODBC connection in Power BI, for this to work you need to have the proper driver installed and configured.

 

Required driver and installation process:

 

https://blogs.sap.com/2021/03/19/connect-to-sap-hana-database-from-microsoft-power-bibusiness-intell...

 

I share the procedure I did:

https://www.youtube.com/watch?v=yxr7Gmpw59g 

 

I use this connection string:

currentschema=NAMEDB;driver={HDBODBC};serverdb=NAMEDB;servernode=IPSERVER:30015 

NOTE: If it doesn't work with the server ip, you can try putting the server name in the connection string.

View solution in original post

6 REPLIES 6
amitchandak
Super User
Super User

@JULIAN21989 , I doubt the call of proc is supported for that. It is supported for SQL server

I solved it by creating an ODBC connection in Power BI, for this to work you need to have the proper driver installed and configured.

 

Required driver and installation process:

 

https://blogs.sap.com/2021/03/19/connect-to-sap-hana-database-from-microsoft-power-bibusiness-intell...

 

I share the procedure I did:

https://www.youtube.com/watch?v=yxr7Gmpw59g 

 

I use this connection string:

currentschema=NAMEDB;driver={HDBODBC};serverdb=NAMEDB;servernode=IPSERVER:30015 

NOTE: If it doesn't work with the server ip, you can try putting the server name in the connection string.

You are a star, scholar and gentleman! I had exactly the same problem and your solution worked perfectly!

Your effort to come back and give the solution is awesome.

Thank you!

what are those drives. from where we can get and how we need to setup. can you please tell me

Thanks so much.

 

We have already used it in this way in other connections and it worked correctly, but it stopped working, is there any way to call a HANA Stored Procedure?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.