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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
patricknabil
New Member

can not import data from SAP hana database

hi all

 

i am trying to get data from SAP Hana database

 

but i face a problem can not get data from a tabel AC_MM_PUR_POLIST

 

DataSource.Error: ODBC: ERROR [S1000] [SAP AG][LIBODBCHDB DLL][HDBODBC] General error;2048 column store error: search table error:  [34023] Instantiation of calculation model failed;exception 306106: Undefined variable: $$SAPClient$$. Variable is marked as required but not set in the query

 

 

 

 

 

 

 

 

 

2 REPLIES 2
macxpert2025
New Member

Anyone experiencing this issue trying to run report from Power BI Online to SAP HANA backend please see solution which worked for us.  Our implementation uses the Power BI Gateway with Edit Variables functionality (SAML). You can check the GatewayErrors log file (enable Gateway Diagnostics) to get more details of the error.

 

[SAP AG][LIBODBCHDB DLL][HDBODBC] General error;2048 column store error: search table error: [34023] Instantiation of calculation model failed;exception 306106: Undefined variable: $$VARIABLE_NAME$$. Variable is marked as required but not set in the query

 

Solution for us check your SAP HANA views locate the mandatory input parameters. Set a default value for each required parameter. The default value will be overrided by the Edit Variables selection in PBI online.  See SAP OSS note 2578978 for further details.

 

v-yulgu-msft
Employee
Employee

Hi @patricknabil,

 

It looks like you defined variables in SAP Hana database, right? Any variables defined in the underlying SAP HANA view will be displayed at the time of connecting, and the necessary values can be entered. When you created the connection from Power BI desktop, did you specify the valid values for variables?

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.