Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

OData no HTTP response for PUT/POST requests possible?

$
0
0

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


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>