cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

i5Command Methods not working

former_member331639
Discoverer
0 Kudos
399

Hi All,

I am on 15.1 SP3 Patch 3 and I am seeing some issue with setting parameters for an i5Command query. Below is the sample script.

qApp = new com.sap.xmii.chart.hchart.i5Command("","");
		qApp.setQueryTemplate("QueryTemplates/qt_gsys_get_tz_and_homepage");
		qApp.setDisplayTemplate("DisplayTemplates/Generic_iCommand_Template");
		qApp.getQueryObject().setParameter("Param.1","<ParameterValue>");
		qApp.executeCommand();

I keep getting below error.

TypeError: qApp.getQueryObject(...).setParameter is not a function

I am not sure what's the issue in this syntax...I tried various other formats but nothing seems to work.

And also I am not able to find getPropertyValue method for i5Command object which is something we have for all other UI5 objects

Any help is highly appreciated.

Thanks

Ravi Kumar

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member331639
Discoverer
0 Kudos

Not sure for some reason, it got fixed by itself after refreshing/trying to remove cache on my browser multiple times.

Thanks & Regards,

Ravi Kumar