Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

getData method with a filter on a dimension : value does not exist

$
0
0

Dear experts,

 

I am trying to build an application using a template. I am able to insert images, to fill combo box, to display some metadata, .. but when i want to use the getData() method with a filter, i cannot make it work (Please note that without the filter on "0SOLD_TO", the getdata method works very well)

 

 

 

In Design studio Editor 1.1, i tried these possibilites, none of them work : 

I tried on some others measures, idem.

 

 

TEXT_DEBUG.setText(DS_1.getData("5I3Y5L315W483R29O1QBHNJCK",{"0D_SOLD_TO": "1000"}).formattedValue);

TEXT_DEBUG.setText(DS_1.getData("5I3Y5L315W483R29O1QBHNJCK",{"0D_SOLD_TO": "Adecom SA"}).formattedValue);

TEXT_DEBUG.setText(DS_1.getData("5I3Y5L315W483R29O1QBHNJCK",{"Sold-to party": "AdeCom SA"}).formattedValue);

 

 

for all of them, it says that the value "AdemCom SA" (or 1000) does not exist.

We can see the value is found in the initial view, in the bex query, ...(see attachment)

 

 

i also tried this one (getDataAsStringExt):

TEXT_DEBUG.setText(DROPDOWN_SOLDTO.getSelectedText() +

":" + DS_1.getDataAsStringExt("5I3Y5L315W483R29O1QBHNJCK", {"0D_SOLD_TO": DROPDOWN_SOLDTO.getSelectedText() }));

 

 

what do i miss ? is it a syntax problem ? is it the wrong function to call ?

 

thanks a lot for your help;


Viewing all articles
Browse latest Browse all 4041

Trending Articles



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