cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Analytical Application - Convert String to VariableValue

sapmeup
Discoverer
1,265

I need to pass the result of a checkbox into a variable value. it says:
conversion not possible from Strings to Single/multivalueVariable

Do you have any idea how to fix that?

it looks like that:

Table_1.getDataSource().setVariableValue("0COSTCENTER", checkbox.getSelectedKeys());

I also tried to write the checkbox value into a variable and convert it there... but same result.

Any help would be appreciated

View Entire Topic
avsalynin
Active Contributor
0 Likes

sapmeup have you tried something like this?

Table_1.getDataSource().setVariableValue("0COSTCENTER", checkbox.getSelectedKeys().pop());