title: Passing Parameter to SAP query_view_data from flex
body: <p>I am new to flex and SAP. I am designing a dashboard in flex. I have retrieved data from SAP query_view_data and I am able to show it in charts. However now I want to pass parameter to SAP web service to retrieve data between two dates. I am trying to this with the following code:</p>
  
  <pre><code>protected function adg1_creationCompleteHandler(event:FlexEvent):void
  {           
    var IInfoprovider:String="0FIGL_O02";
  
    var w:Object= new Object();
    var Parameter:Array = new Array();
  
    w.Name = "VAR_NAME_1";
    w.Value = "OCOMP_CODE";
    Parameter.push(w);
  
    w = null ;
    w = new Object(); 
    w.Name = "VAR_VALUE_EXT_1";
    w.Value = "1028";
    Parameter.push(w);
    w=null;
  
    w = new Object(); 
    w.Name = "VAR_NAME_2";
    w.Value = "OCALMONTH";
    Parameter.push(w);
    w=null;
  
    w = new Object(); 
    w.Name = "VAR_VALUE_LOW_EXT_2";
    w.Value = "01032008";
    Parameter.push(w);
    w=null;
  
    w = new Object(); 
    w.Name = "VAR_VALUE_HIGH_EXT_2";
    w.Value = "01092008";
    Parameter.push(w);
    w=null;
  
    var ITParameter:ArrayCollection= new ArrayCollection(Parameter);
  
    var IQuery:String="ZFIGL_0FIGL_O02_QD008";
    var IViewId:String="";
    Rrw3GetQueryViewDataResult.token = rRW3_GET_QUERY_VIEW_DATA.Rrw3GetQueryViewData(IInfoprovider, IQuery, ITParameter, IViewId);        
  }
  </code></pre>
  
  <p>However the whole data is shown in the data grid instead of the filtered data.</p>
  
  <p>Can anyone help please?</p>