cancel
Showing results for 
Search instead for 
Did you mean: 

IoT service "Open Chart"

0 Kudos

Greetings,

can you please help me with SCP IoT service for trial account? When I click on device and choose "Open chart" option I don't get any chart or data, but in table I can see that data is coming, can you help?

Best regards,

Antun

anton_levin
Advisor
Advisor
0 Kudos

Hello Antun, could you please clarify if you talk about IoT for CF or Neo environment here?

Update. Some screenshot might be helpful.

0 Kudos
anton_levin
Advisor
Advisor
0 Kudos

May I also ask you to check the browser logs? Any warning / error messages there? And also check if you see some chart data for the "Sample device 1" and its message type "m0t0y0p0e1"? Thanks, Anton

0 Kudos

This is the console error:

sap-ui-core.js:160 2017-10-19 14:21:15.461405 The following problem occurred: HTTP request failed404,Not Found,{"error":{"code":null,"message":{"lang":"en","value":"Could not find an entity set or function import for 'T_IOT_38AC1BE322C8A7956948'."}}}

We are not using table T_IOT_38AC1BE322C8A7956948, we are using T_IOT_MESSAGE.

Accepted Solutions (1)

Accepted Solutions (1)

anton_levin
Advisor
Advisor
0 Kudos

Hello Antun,

based on above comments, that behaviour seems to be a bug in the Chart View. You have "custom table mapping" [1] configured but the chart still tries to get the message out of the default "T_IOT_%MESSAGE_TYPE_ID%" table via the OData API and fails to find such a table. Table View behaves correctly here. I will open an internal ticket for that.

Sorry for the inconvenience,

Anton

P.S. As a workaround (if you would like to visialize your data with the chart control), you may want to have a look at our UI5 sample in the StarterKit [2] and adapt it for your needs.

[1] https://help.sap.com/viewer/7436c3125dd5491f939689f18954b1e9/Cloud/en-US/c665f61f0bf64aaca766d9d1a84...

[2] https://github.com/SAP/iot-starterkit/tree/master/neo/apps/ui5/consumption-advanced

0 Kudos

Thanks,

I've created new table with name convention like "T_IOT_%MESSAGE_TYPE_ID%" and now chart is working.

BR,

Antun

Answers (0)