Hi,
I want to create a WAD with 6 graphs - each graphs should show a different analysis type (from our QM
system) – a dropdown box should be connected to a data provider (showing the result
on a graph). In this case the user can then afterwards select the preferred analysis
method to show on each graph.
One DropDown is connected to one data provider. The dropdown contains the type of measurements from our
QM system for the particular search. So depending on the search the first
dropdown/graph should default select the first analysis method – the second
dropdown/graph should show the second analysis method and so on.
The trick is now to be able to find the 6 first methods – I have tried with java script. But it does not
work.
I’m not sure whether I should use java script or if another solution is possible.
A simple test WAD has been made with one dataprovider DP1, one Dropdown box DROPDOWN_ITEM_1 and one graph
CHART_ITEM_1, one button group BUTTON_GROUP_ITEM_1 and one script box
In the script box a java script is written a call to SAPBWGetItemProp:
function Get_DropDown_Item()
{
var dim = SAPBWGetItemProp('DROPDOWN_ITEM_1');
}
When I check Chrome for the outcome an error appear :
Uncaught referenceError: SAPBWGetItemProp is not defined
Should something special be setup in the WAD to be able to run the SAPBW functions?
Br
Karin Iversen