cancel
Showing results for 
Search instead for 
Did you mean: 

Passing variablevalue from sac to hana(to input parameter of cv)

former_member687810
Discoverer

Created an analytical application in sac.

I have drop down and button.

Selected values from dropdown and servariablevalue to table as below (onclick button)

Table.getDatasource().setVariableValue(dropdown.getSelectedText());

I checked in Sac, getting the values for variables as expected.

But the data from hana, i am gettkng all the data with out filtering with variable values sent from sac to hana via variables to input parameters.

Can anyone help here?

Thanks

Manju

View Entire Topic
thayumanavan
Explorer
0 Kudos

Hi @manju431
I am also facing the same issue in set variable value its taking long time to response.


Created an input field box to update model variable. if user enter any week number in input text box it should update the story variable . Please find the script below. it is working but it took long time to response
weeknumber= ConvertUtils.stringToInteger(InputField_1.getValue());
Chart_2.getDataSource().setVariableValue("ZFVWEEKNUM",weeknumber);
Chart_2.getDataSource().getVariableValues("ZFVWEEKNUM");
Chart_2.getDataSource().refreshData();
Regards,
Thayu