cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member190408
Participant
0 Kudos
222

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?

TammyPowlas
Active Contributor
0 Kudos

Hello Harry - these should appear as prompts in Design Studio; would you please provide more context to your question?

Accepted Solutions (0)

Answers (1)

Answers (1)

howsy
Explorer
0 Kudos

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


Regards,
Chris

former_member190408
Participant
0 Kudos

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.

BR,

Harry