Skip to Content
0

i5 Command methods not working

Oct 21, 2016 at 11:43 AM

33

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers