on 2018 Jun 18 6:27 AM
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.
Attaching my annotation file for reference :
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
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.