Hi Experts,
Given a scenario where IW_BEP add-on is installed on the backend ECC system and the code is being implemented directly in the methods get_entity, get_entityset, etc. of data provider class(in the backend system), what would be the best approach to follow?
1. Add all the Odata query options(for $filter, $top, $skip, etc) related code and business logic in get_entity, get_entityset methods. This would be as good as adding all the code in one Main Program.
Or
2. Add Odata query options related code to get_entity, get_entityset, etc. methods. Build business logic using a modular approach (using Normal Function Modules or Methods) and use these Function Modules or Methods in get_entity, get_entityset,etc. methods. Thus, improving maintainability of code.
Or any other approach?
Could you please advise.
Also, What would be the impact of different development approach on the performance of the service in the given scenario?
Regards,
Jiten
P.S. I am in favour of option 2 but want to confirm that this will not degarde the performance of the service that will be used very often by a mobile app.
Tags edited by: Jitendra Kansal