cancel
Showing results for 
Search instead for 
Did you mean: 

Store the value from request and pass it in response in SAP PO without BPM

0 Kudos

Hi All,

My scenario is soap to rest (synchronous) and i am using SAP PO 7.5

My requirement is i get a value in source request and i have to pass the same back in response, this value is not mapped in target request message and i dont have a field to map also. So mapping the value to target structure and using that to pass back in response using adapter module beans is not working in my case

I tried most of the blogs in the scn but in vain.

Is there a way we can store a value from request and pass the same back in response in SAP PO. Please help in resolving this issue.

Thanks

Laxmi

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member190293
Active Contributor
0 Kudos

Hi Laxmi!

You should put value you want to store to any custom attribute of Dynamic Configuration in request mapping. In receiver communication channel you use DynamicConfigurationBean to pass stored value to module context variable before request and to get it back to DC attribute after request as described in this blog:

https://blogs.sap.com/2015/08/28/copy-value-from-request-message-to-response-message-using-dynamicco...

In response mapping you read the value from the DC attribute you've created in request mapping.

Regards, Evgeniy.