Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Request mapping fields needed at response mapping

Hi Experts,

we have a requirement in a synchronous SOAP to RFC scenario to store some source fields and use them in response mapping as the RFC structure does not have these fields and they are mandatory fields in web service.

I have tried to use ASMA to store values but not able to retrieve them in response as they are missing.

can anyone please confirm if these parameters can be stored and retrieved from dynamic header of response message?

I am following this blog:

Usage of dynamic configuration in synchronous scenarios by Praveen Gujjeti

But I am not using BPM.

any help would be appreciated.



Former Member

Hi Navneet,

Check Stefan's blog Copy value from Request message to Response message using DynamicConfigurationBean and dynamic header fields. As described there, you can fulfil your requirement with the help of adapter module DynamicConfigurationBean in a receiver communication channel, that will store required message attribute from a request message and retrieve / make it available in a response message.

You may also want to check an alternative option of using adapter modules GetPayloadValueBean and PutPayloadValueBean as described in Beena's blog Insert value from Request message to Response message using GetPayloadValueBean and PutPayloadValueBean. Beena provides a demo with RFC receiver, so shall be matching your requirement and shall be applicable for you, too. But, as highlighted by Stefan in his blog, usage of GetPayloadValueBean and PutPayloadValueBean is not applicable for all adapter types due to specifics of adapter realization.



0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question