Skip to Content

Smart Chart not getting loaded since SAP UI5 Version 1.44.23

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Oct 09, 2018 at 03:02 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded