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

getDataAsString for ALL MEMBERS(ALL)

$
0
0

Hi Friends,

 

My Dashboard contains three listbox and based upon the selection of these three listbox, the data is populated in a textbox using getDataAsString function. The logic is working fine when individual values are selected from each listbox but the same logic is not working when ALL is selected from the listbox. I tried by putting a set of codes to pass blak value to the required dimension but it does not work. The code which i added to make it work is highlighted in bold below.

 

b1.png

 

Code on click event of Show button:

 

var calmon = CALMON.getSelectedValue();

var orguni = ORGUNIT.getSelectedValue();

var compco = COMPCODE.getSelectedValue();

 

 

if (calmon == "(ALL_MEMBERS)")

{

  calmon = "";

}

if (orguni == "(ALL_MEMBERS)")

{

  orguni = "";

}

if (compco == "(ALL_MEMBERS)")

{

  compco = "";

}

 

 

HC.setText(DS_2.getDataAsString("00O2TLJS35QHRHTQDWRHMPNP8",{"0CALMONTH":calmon,"0ORGUNIT":orguni,"0COMP_CODE":compco}));

 

Please suggest.

 

Thanks,

Gaurav


Viewing all articles
Browse latest Browse all 4041

Trending Articles



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