Skip to Content
0

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

Apr 26 at 08:21 AM

34

avatar image

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)
10 |10000 characters needed characters left characters exceeded

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

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Christian Hauswald Apr 26 at 09:31 AM
0

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

Show 1 Share
10 |10000 characters needed characters left 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.

BR,

Harry

0