Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8451

Fiori My Opportunity App Extension Total Count Error

$
0
0

Hi All,

 

I am doing the Fiori CRM App My Opportunity Extension. But the total My Opportunity list count differs from the std fiori app.

The Standard app shows a count of 157 and custom shows just 19.

 

I added the below code in In the List Controller called as S2.controller.js. But still no effect.

 

oModel.setCountSupported(false);

oModel.setSizeLimit(1000); 


When i do inspect element for the std app, it calls this url -


/sap/opu/odata/sap/CRM_OPPORTUNITY/Opportunities/$count

/sap/opu/odata/sap/CRM_OPPORTUNITY/Opportunities?$skip=0&$top=20



Where as in my Custom App, it doesnt call the $count url.


Instead it points to a url

/sap/opu/odata/sap/ZCRM_OPPORTUNITY_TST_SRV/Opportunities?$skip=0&$top=20&$inlinecount=allpages


Please help me in fixing this issue. Should i do some change in front end or backend. Please guide me on this.



Thanks,

Divya







Viewing all articles
Browse latest Browse all 8451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>