on 04-28-2014 11:38 AM
Do we have any recomendation on the size of the oData services. Can i model a very complex data model like the customer or supplier which could have around 2000 attributes with around 100 entities in a single oData service?
what would be the implications on the CUD operations?
Hi Jeson,
I wonder what would be the use-case for such a big service with 100 entities.
Since the metadata is cached at various places, performance may not be impacted that easily. (https://help.sap.com/saphelp_gateway20sp06/helpdata/en/3d/45e259b4bd49e197316cbfd3c7fa8e/content.htm)
One thing you need to keep in mind is that regression testing. One service is made up of one Data Provider Class and One Model Provider Class. Having 100+ entities means that you might have used this service in many frontend applications. So any change to any of these two classes would make you regression test all your applications,
I would create separate services based on logically related entities.
Thanks
Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I will refer you to below links first.
As per best practices docu, Don't use a large number of properties.
As you are saying around 2000 properties and 100 entities, it will be too much complex OData service and it will loose the advantage of REST based service.
Regards,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
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.