Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 13 at 07:53 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded