cancel
Showing results for 
Search instead for 
Did you mean: 

i5 Command methods not working

former_member186805
Participant
0 Kudos

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

former_member813094
Discoverer
0 Kudos

Hi Ayush,

Did you find the fix for this issue? If so, could you provide me with the details, please?

Thank you.

Accepted Solutions (0)

Answers (0)