Skip to Content
avatar image
Former Member

Multiple Entry to BEx Variable

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 26, 2015 at 04:40 PM

    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

    Add comment
    10|10000 characters needed characters exceeded