Skip to Content

Syntax to Pass Values to Selection Option BeX Variable in Design Studio

Dear Experts,

Could you please help me with the Syntax in Design Studio to pass values to a Bex Variable of the type selection option?

pic-4.jpg (63.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 26, 2018 at 09:31 AM

    Hi Harry,

    for me it is working with:

    var value = "01.01.2017 - 31.01.2017";
    DS_1.setVariableValue([variablename], value);

    for checking the format (how the variable wants the value) you can also do a "getVariableValue" or "getVariableValueExt" - then you see, how the value is transmitted to Design Studio


    Add comment
    10|10000 characters needed characters exceeded

    • Hello Christian,

      This will work and will accept Date range as it will treat it as Text with default option of In Between. And as far as I know if we pass RANGE then we ahve to sue the external format i.e. DS1.setVariableEXT ( variable name, value). I also need to set the selection option i.e GT, LE In Between while passing value.