cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Pass Parameters to I5Grid - SAP MII 14.0

Former Member
0 Kudos

Hi Experts,

I am using SAP MII 14.0 SP04 version. I have a scenario where I am creating a Report using an I5Grid. Based on some selection parameters on my web page, I want I5Grid Data to be refeshed.

Code:

var GridA = new com.sap.xmii.grid.init.i5Grid('UIGridPath', 'Query');

GridA.setGridWidth("1550px");

GridA.setGridHeight("800px");
GridA.draw("GridA");

I  tried passing parameter  to this grid as follows:

Grid.getQueryObject().setParam("1", Value);

Grid.getQueryObject().setParameter("1", Value);

GridA.refresh; or GridA.Update(true);

But grid data does not get refresh. Need to know, if this is a bug in SAP MII 14.0 or if I am doing some mistake in passing these details.

Appreciate your help with this.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

This Issue is fixed with SAP MII 14.0 SP05 Patch 7 . Please update patch to SAP MII 14.0 SP05 Patch 7 or above in order to pass parameters to I5Grid.

Answers (3)

Answers (3)

0 Kudos

Hi Kirti

Instead of

Grid.getQueryObject().setParam("1", Value);

Grid.getQueryObject().setParameter("1", Value);

Use

GridA.getQueryObject().setParam("1", Value);

GridA.getQueryObject().setParameter("1", Value);

and see . I believe that this is a normal typo error

Regards

Anant

Former Member
0 Kudos

Hi,

Pls Check this thread once.

Regards,

Sriram

former_member203984
Participant
0 Kudos

HI kirti

its a bug in the old patch. Are you having a latest patch. I guess in latest patch this issue got resolved.

please deploy the latest patch of XMII.SCA and try.

regards

G.partheeban

Former Member
0 Kudos

Hi G.partheeban,

I am using MII 4.0 SP04. Please help me to understand, if which patch has the resolution for this issue and if this issue is resolved in SPO5  or not.

Regards,

Kirti

Private_Member_14935
Active Participant
0 Kudos

Hi Kirti,

This issue exits with i5Grid in SP05 as well.

However your above code works fine in i5Chart.:

          GridA.getQueryObject().setParameter(<ParamName>, <ParamValue>);

             GridA.refresh();

Regards,

Ria