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 blank value to the required dimension but it does not work. The code which I added to make it work is highlighted in bold below.
Code on click event ofShowbutton:
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}));
As a part of SCN search, I came across many threads where this function GETDATAASSTRING is used for different purposes, but I could not relate them with my issue. Hence, seeking expert advise.
https://scn.sap.com/thread/3633487
http://scn.sap.com/thread/3403587
Please suggest.
SAP DS 1.6 SP2,SAP BW 7.4 SP13
Thanks,
Gaurav