on 05-25-2015 3:54 PM
Hi All
How we are getting performence Issue in Framework Expand ?
How we are going to overcome through Data Provider Expand?
Please help me to resolve my doubt.
Thanks in Advance.
Gateway framework generic expand by default. This does not require any development effort. But is is not good from performance perspective. Let's take the example
https://<server>:<port>/.../<service_name>/SalesOrders?$expand=SalesOrderItems
Let's assume you have 10 Sales Orders in your system and each of the sales order has 3 SalesOrderLineItems. To answer the above query Gateway Framework
So in total you make 10+30=40 database calls.
Now let's assume you have an optimised function module that can return the data in one call. In this case you can utilize the GET_EXPANDED_ENTITY or GET_EXPANDED_ENTITYSET of the DPC where you call the function module and return the data. In this case the GW framework does not make unnecessary Database calls. This makes your performance much better.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank u Mallik.
I have checked through debugging,what ever you gave that statements are correct.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 | |
10 | |
10 | |
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.