cancel
Showing results for 
Search instead for 
Did you mean: 

Read parameters from request mapping inside response mapping

Former Member
0 Kudos

I have synchrounous mapping (request/reponse)

I need some parameters from request mapping in Java response mapping? How can I read this parameters?

Will Dynamic header work?

Accepted Solutions (0)

Answers (3)

Answers (3)

stefan_grube
Active Contributor
0 Kudos

Which adapter do you use, or is this a general question?

Regards

Stefan

Former Member
0 Kudos

I am using RFC adapter

Message was edited by: Denis Ivanov

stefan_grube
Active Contributor
0 Kudos

I am not sure, if header fields from the request are transpoted to the response. Maybe you just give a try and let the other guys know

Another approach for the problem is creting a Z-function with the additional paramters which you call instead the original.

Regards

Stefan

Former Member
0 Kudos

I have tried dynamic configuration. It works!!!

Former Member
0 Kudos

Hi ,

You can read request parameters and store in a Container or Global container object and use them in response mapping as per requirement .

Use Container / Global container - you can save your parameters as key value pair and retrive it using the key and attach these parameters to response structure and access them .

Nanda

Former Member
0 Kudos

Are you sure that it will wotk for 2 different mappings?

In help.sap.com

This object enables you to cache the values that you want to read again when you next call any user-defined function in the <b>same message mapping</b>.

Former Member
0 Kudos

Hi,

One option to do this is to map the data in the request when you are taking it to proxy. Hence the data is present in the Proxy and then you can map it to response.

So u need not use BPM for the same.

Regards

Vijaya