Skip to Content
0

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

Feb 13 at 05:23 AM

33

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Evgeniy Kolmakov Feb 13 at 07:53 AM
0

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-dynamicconfigurationbean-and-dynamic-header-fields/

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

Regards, Evgeniy.

Share
10 |10000 characters needed characters left characters exceeded