Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

Get VariableValueExt ?

$
0
0

Hello people and happy new year,

 

I'm facing a problem with BEx variable.

I'm trying to use 2 BEx in order to set a filter on measure value (one variable MIN, one variable MAX).

 

So in my Query, i created a condition to select measure value not between MIN and MAX. And using a slide bar, i can select MIN and MAX value and set the result in the variable (setVariableValueExt).

 

Here my slide bar for illustration :

Capture.JPG

 

And here my script on this slide bar :

 

var min =  Convert.floatToStringUsingLocale(me.getValue());

var max =  Convert.floatToStringUsingLocale(me.getValue2());

 

 

APPLICATION.createErrorMessage(min + " " + max);

 

 

//Set variable MIN and MAX for Variation Contract Price - MAP (Economic)

APPLICATION.setVariableValueExt("FORMULA_004_MI_IV_OP", min);

APPLICATION.setVariableValueExt("FORMULA_001_MI_IV_OP", max);

 

My ErrorMessage is working, i have -11 and 7 as result, so it's ok.

 

So i have 2 problem :

  • my filter doensn't work
  • I'm not able the value of my BEx Variable. There is not function "getVariableValueExt" to do this... I tried to update the variable in SAP and it's working, so it seems my problem is located in Design Studio...

 

I did some research, find this Design Studio: Performance Implications of Variables but it give me no more information concerning the possibility to know the value of a VariableExt...

 

Thank all for your help!


Viewing all articles
Browse latest Browse all 4216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>