cancel
Showing results for 
Search instead for 
Did you mean: 

Analytical Application - Convert String to VariableValue

06-02-2021 8:33 AM
sapmeup Discoverer
1282 views 1 comments
SAP Managed Tags
Subscribe

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

Accepted Solutions (0)

Answers (1)

Answers (1)

avsalynin
Active Contributor
0 Likes

sapmeup have you tried something like this?

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