on 08-26-2014 10:01 AM
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
Hi Muhammad,
Which SP of MII 14.0 are you using...? The syntax that you have used is right.. but I think in 14.0 SP4 overriding query parameters doesn't work.
Thanks and Best Regards,
Ria
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Muhammad,
I tried overriding "RowCount" parameter of query object and works for me with MII 14.0 SP5 Patch10.
You too can try:
ProductionGrid.getQueryObject().setParameter('RowCount',5); |
If this doesn't work with your version(14.0 SP4 Patch5), then please try upgrading to the latest SP in SMP and let me know.
Thanks and Best Regards,
Ria Ninan
Dear Ria,
I have update my SAP MII 14.0 SP4 Patch5 to 14.0 SP4 Patch10 & I have implemented below given SAP Note
2016927 - I5Grid does not take into account overridden parameters when updateGrid(true) is called
Thanks
Muhammad Ashfaq
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.