Skip to Content

i5 Command methods not working

Hello Experts,

I am using i5Command in MII to fetch Data , i found methods are not working .

Please find an example below :

var read = new com.sap.xmii.chart.hchart.i5Command(<Query Template>);

read.getQueryObject().setParameter("Param.1",code);

read.executeCommand();

alert(read.getRowCount());

here if the row count is equals to 1 ,it shows 1 in the alert, but if the row count is 0

it shows some error "Unable to get property 'length' of undefined or null reference"

Also i am trying to access Database values with the function

read.getValueByName("TempCode",1);

it throws an error:

"Unable to get property 'TempCode' of undefined or null reference"

Please help

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers