cancel
Showing results for 
Search instead for 
Did you mean: 

master detail application in sapui5-

muhsin_panakkal
Participant
0 Kudos

Hai Experts,

I am developing a Master - Detail (SplitApp) in SAPUI5. here I need to call 5 diffrent services to load the masterdata, and based on the selection it will call again the services.

So.In this case what is the best practice to develop the splitapp...? If I call 5 services simultaneously, then it will affect the performance..!

So, Kindly advise me your suggestions.

Thanks,

Muhsin

former_member553417
Participant
0 Kudos

hi Muhsin ,

Please tell me how your master looks like

muhsin_panakkal
Participant
0 Kudos

Dear Drusya,

I am developing one master-detail approval app, Initially when the app is loading i need to call 5 diffrent services to load the requets in masterpage and also when refreshing the master.

Thanks,

Muhsin

former_member553417
Participant
0 Kudos

Dear Muhsin,

There is no possible way in front end unless you have to work on back end service to reduce the number of request

regards,

Drushya

muhsin_panakkal
Participant
0 Kudos

Dear Drusya,

Can we use the $batch call here..?

Thanks,

Muhsin

Accepted Solutions (0)

Answers (1)

Answers (1)

qmacro
Developer Advocate
Developer Advocate
0 Kudos

It's not so much that there's a specific best practice for your situation, but there are best practices that lead us to conclude that you want as few network requests as possible, and that the payloads are as small as possible, so that the chances of good performance are improved.

In that context, I would suggest that re-working the services in the backend to reduce the number of calls required is worth investigating. Other than that, find out what calls are essential for the initial app load, and what can be performed asynchronously after the app has initially rendered.

muhsin_panakkal
Participant
0 Kudos

Dear Adams,

Thanks for your reply, I need to call 5 different services when the app is loading and also when refreshing the masterpage.

Can we use the $Batch call here..?

Kindly suggest,

Muhsin

qmacro
Developer Advocate
Developer Advocate
0 Kudos

Hi there. What has your research on using $batch shown so far?