Skip to Content
0
Former Member
Mar 17, 2014 at 04:59 PM

OData no HTTP response for PUT/POST requests possible?

1793 Views

Hi Experts,

I'm implementing some calculation tool using UI5/OData/SAP NW Gateway. I have following problem which I can't get solved:

On a webpage there are three fields:

Field 1: Base Quantity (value=100)

Field 2: Input field in percent (value=20)

Field 3: Result field (value=20/100*100=20)

Field 3 should be calculated in the gateway/backend.

The problem is, I enter some percentage value in Field2, then I trigger an update OData request to the Gateway (PUT or PATCH).

In the gateway I calculate Field 3 on the base of the entry in Field 1 and 2. I write the result structure back to ER_ENTITY.

Question: Isn't it possible to pass a result set back to the client for an UPDATE in the HTTP respone? I don't want to trigger another GET request to fetch the result of the calculation.

Thanks a lot for your help in advance!

Cheers,

Thorsten