Dear Guru,
My query parameter is passing in I5Grid. system take default parameters mapped in XacuteQuery. coding is given below:
var Getdata = new sap.ui.commons.Button({
text:'Get Data',
press:function(){
var addProps = '{'+
'"DisplayTemplate":"NRC_2010/Production/UI/ProductionValuesGridtestUI5",'+
'"Content-Type":"image/png"'+
'}';
var ProductionGrid = new com.sap.xmii.grid.init.i5Grid('NRC_2010/Production/UI/ProductionValuesGridtestUI5','NRC_2010/Production/UI/XGetProductionValuestest',addProps);
ProductionGrid.getQueryObject().setParameter("Param.1", "LS");
ProductionGrid.getQueryObject().setParameter("Param.2", "2014-08-10T00:00:00");
ProductionGrid.getQueryObject().setParameter("Param.3", "2014-08-11T00:00:00");
ProductionGrid.draw('ProductionGrid');
ProductionGrid.update(true);
}
});
Getdata.placeAt('Getdata');
Thanks
Muhammad Ashfaq