cancel
Showing results for 
Search instead for 
Did you mean: 

How to store the value of request message and use it in Response mapping

Former Member
0 Kudos

Hi All,

We have an requirement where we need to store the data coming in Request Mapping and use the stored value in Response Mapping. Can anybody help us in how to proceed?

Thanks

Sujata

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member187339
Active Contributor
0 Kudos

Hi,

Try using the globalContainer object. Refer this link. http://help.sap.com/saphelp_nwpi71/helpdata/EN/4f/ef761a5ecfb1418b79896e10fe4c57/frameset.htm

Duiring request mapping set a variable and during response get the value of the variable.. and this will solve your problem

Regards

suraj

former_member187339
Active Contributor
0 Kudos

Hi,

Try using the globalContainer object. Refer this link. http://help.sap.com/saphelp_nwpi71/helpdata/EN/4f/ef761a5ecfb1418b79896e10fe4c57/frameset.htm

Duiring request mapping set a variable and during response get the value of the variable.. and this will solve your problem

Regards

suraj

Former Member
0 Kudos

Hi!

In Mapping you may use the RFC Lookup function to store values in database table during request mapping and to read values from database table during response mapping.

You can also use an ABAP or Java Mapping "in front of your" message mapping to store/read the values.

You can also use an Adapter Module (if applicable for the adapter type you use) and/or a UDF to store the data e.g. in Dynmaic Configuration Header of Request Message and to read these data from Dynamic Configuration Header of Response Message. But this works only for synchronous scenarios (and it means overhead in your message traffic).

Hope these thinkings help you o find the most suitable way for your concrete scenario!

Regards,

Volker

Note:

These techniques help you to avoid using BPM.

Edited by: Volker Kolberg on Aug 27, 2009 11:18 AM

former_member200962
Active Contributor
0 Kudos

Using BPM it can be done to get the data from one message into mapping for other message......not sure without BPM options.

Regards,

Abhishek.

Former Member
0 Kudos

you can use BPM

but if you haven't checked this

Find if you have the flexibility of sending the required details from request messge to the receiver system and it back as a part of the response