cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Chart not getting loaded since SAP UI5 Version 1.44.23

mvaibhav
Contributor
0 Kudos

Hi All,

We have built an app using Smart Chart and Annotations which used to work perfectly fine till SAP UI5 Version 1.44.20.

But the app does not works as expected when run with version 1.44.23 or higher.

The smart filter bar is loaded properly and i can provide filter criteria.

On Click of Go button, request is triggered to the back-end with proper inputs and i receive a proper response with the desired data as well (Response Code : 200).

But probably the binding to the chart does not takes place and system keeps on sending multiple request to the back-end.

back-end-requests.png

Attaching my annotation file for reference :

annotation.txt

On analyzing the issue, i could see that the sap.m.chart.js library has changed with few additional parameters in the newer version but i am not very sure if it is causing the issue.

Thanks,

Vaibhav Maheshwari

Accepted Solutions (1)

Accepted Solutions (1)

mvaibhav
Contributor

Hi ,

The issue was that SmartChart is requesting the "$inlinecount=allpages" in the service call but count is missing in the response even though the data is being returned.

Adding the following lines at the end of ABAP method returning the resultset resolves the issue.

DESCRIBETABLE et_entityset LINES es_response_context-inlinecount.

Thanks,

Vaibhav Maheshwari

Answers (0)