Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9021

Re: Post implementation in changeset_end method. How to populate response body?

$
0
0

Hi Ron,

Can you please explain in detail the following comment of yours - may be with an example please -

it's more for the benefit of OData parsing than the consumer getting a response.

I do the following in my DPC_EXT class:

a) In Create_<entity> method, I collect the data from post request into an internal table.

b) In changeset_end method, I access the data collected in #a and call the backed API that actually does the create. This create operation creates the sales order id.

 

Now, how do I populate the response body to include sales order id so that I can pass it to front end. The end user will have to make a note of sales order id in my scenario.

 

 

 

Regards,

SeethaRam


Viewing all articles
Browse latest Browse all 9021

Trending Articles



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