cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Entry to BEx Variable

Former Member
0 Kudos

Hello Friends

I have a basic requirement, but i could not find any solution for a few hours, I came here hoping your valuable inputs.

How do i pass Multiple Single Values to Bex variable from a Design Studio screen?

What i find in Help documentation is : to use SetVariableValueExt and enter values as separated with colon (;)

However i tried all possible ways and it is still not accepting my syntax. (my version is 1.3)

Anyone here achieved this anytime before?

for more detail :

i have multiple input text boxes in the screen, and i am trying to pass these values to one variable in my planning sequence.

Accepted Solutions (1)

Accepted Solutions (1)

Karol-K
Advisor
Advisor
0 Kudos

Hi Sathish,

the method is correct.DS.setVariableValueExt();

the syntax to value is indeed separated by ";" - but, it also allowing complex selections, like:

<single_value>;<interval>; eg. 123; 143 - 384;

and this leads to the fact that this string is always internally parsed.

and therefore all special characters like "-" or "\" or "(" must be escaped with "\" character.

see

you have to check what you pass as the values and if there are some special characters in it, then use Convert.replace() function to place "\" always before such characters.

Karol

Answers (0)