Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Getting data from different entity sets from back-end at once

Hello Experts,

I have created a custom Fiori app. My requirement is when I press a Add button, a form opens in which the user needs to fill data in the drop-downs. Each drop-down will get the data from different entity sets from ODATA. I am using filter method to fetch data.Since the control is going to back-end multiple times(for each drop down list), the time consumed is more (approx 2 mins). Is there any way by which I can get the data in one go and make the operation of loading Add page faster?

Former Member
Former Member replied

Hi Priya,

I think you can improve the speed of the app by using the concept of Batch Requests.

The idea is to group several odata requests, in just one.

Look at the following posts:

Batch Request in Netweaver Gateway(Multiple Operations into a Single Request)

http://a248.g.akamai.net/n/248/420835/ebe99b9aeed591f15027250d4d925207e4b31882d83ffaf1748cb6c3c4530721/sapasset.download…

Also, when developing the odata services, try to follow the best practices listed in the following post:

Gateway Performance Best Practices - How to consume Gateway from performance point of view

Regards,

Emanuel

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question