cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi Experts,

I have been working with both oData and Json Models. Now I want to know on technical grounds, that what factors lead to the selection of a model?

When to use which model?

0 Likes
View Entire Topic
padma_mundru
Participant
0 Likes

Hi,




The ODataModel is a server-side model, so the whole dataset is only available on the server, the client only knows the currently visible rows and fields.

When you bind a control to an OData model , it comes with many features out of the box such and filtering capability, sorting, pagination etc. However the corresponding server side implementation needs to be in place. Using SAP Netweaver Gateway you can expose SAP ERP data in form of OData service and which can be easily consumed in UI5.

On the other hand JSON model is client side model based on JSON data to be used for small set of data.

JSON is just a Data-interchange format based on JavaScript.

I hope this may be helpful for you.

Former Member
0 Likes

Hi,

Thanks for your response.

Dibyakanta