Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

.getData() doesn't return data from HANA

$
0
0

Hello,

 

I'm trying to get data from a HANA data source in a global script.  When I execute the following line of code:

 

var data = DS_1.getData("Count", {"Name":"MAR", "Description":"ACH"}).value;

 

I see the following error in the Design Studio error window:

 

No matching data found in getData("Count", {"Name":"MAR", "Description":"ACH"}).

 

and the .getData() method returns zero.  When I open the DS_1 Initial View there is data in the Live Preview pane.

 

There is a chart associated with this DS and it shows the data correctly.

We had most of this dashboard project working fine (including this code) using universes.

We decided to switch to the HANA platform and now the code is not reacting in the same way.

 

Is there something special we need to do when using HANA vs standard universes??

 

Sincerely,

 

Jim


Viewing all articles
Browse latest Browse all 4216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>