I started off with GW learning as part of my new UI5 project .As you all know Gateway is a framework to expose the rich backend SAP data in the form of ODATA protocol.I am not going to give so many motherhood statements as it is well documented elsewhere
Now .. The Problem Statement
During so many scenarios, I came across a common requirement to pass some HTTP request header parameters .
To tell one sample scenario, there is an entity type Exemption .This entity type Exemption can be 'Requested' or 'Approved' from a business perspective from a UI application . The 'Request' or 'Approve' action can be done in batch for the Exemption record .If we model this as a property(I will call it the BusinessAction) in entity type Exemption, the problem is that the payload will have to repeat this property for all the records that it is sending. :sad: . All the more from a modelling perspective it does look silly to have BusinessAction in that entity type :razz: