Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

I5Grid Error in passing parameters

$
0
0

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",'+

 

  '"QueryTemplate":"NRC_2010/Production/UI/XGetProductionValuestest",'+

 

  '"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


Viewing all articles
Browse latest Browse all 4841

Trending Articles