cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Odata methods trigger sequence

ravi_kumar148
Discoverer
0 Kudos
1,080

Hi Experts,

I am new learner in SAP ODATA...Could you please let me know how the methods get trigger..?

1. Sequence of methods execution in odata.

2. How system would be knowing whether get_entity or GET_ENTITYSET method should trigger.

3. Through which method we trigger the data output from sap to external and vice versa

Accepted Solutions (0)

Answers (1)

Answers (1)

maheshpalavalli
Active Contributor
0 Kudos

Hi ravi.kumar148,

1. There is no such thing as sequence here. To begin with, they have basic CRUD operations Create Read Update and Delete and they have other hybrid stuff like function imports, expand, deep create etc..,

You have to go throught help and other blogs to understnad the concepts. Very old wiki(updated 2016) But will be fine to start with

https://wiki.scn.sap.com/wiki/display/Fiori/SAP+Fiori+-+OData+and+Gateway

2. It's based on the key, if you pass the complete key in the URI, it will trigger GET_ENTITY method and if you don't pass key and call the URI with any other URI options, it will trigger GET_ENTITYSET

3. What do you mean by data output, GET_ENTITYSET or GET_ENTITY will also give data output. What exactly are you trying to ask?

Thanks,

Mahesh