cancel
Showing results for 
Search instead for 
Did you mean: 

syntax to pass parameters to I5Grid -SAP MII 14.0

Former Member
0 Kudos

Hello everyone,

I want to pass parameters to I5Grid.What is the syntax for I5Grid and also,want the syntax to pass parameters to I5Grid.

Please help me with this.

Accepted Solutions (1)

Accepted Solutions (1)

saivellanki
Active Contributor
0 Kudos

Hi Deepali,

Try -


<SCRIPT>

  var oGrid = new com.sap.xmii.grid.init.i5Grid("Youri5GridTemplate", "YourQueryTemplate");

  var oQuery = oGrid.getQueryObject(); //Get Query Object

  //Pass parameters to Query, can pass these parameters dynamically as well

    oQuery.setParameter("Param.1","000876315670"); //ProductionOrder

    oQuery.setParameter("Param.2","0070"); //Operation

  oGrid.setGridWidth("640px");

  oGrid.setGridHeight("400px");

  oGrid.draw("div1");

</SCRIPT>

<DIV id="div1"></DIV>

Regards,

Sai Vellanki.

Former Member
0 Kudos

Thank you Sai

It's working.

Answers (0)