cancel
Showing results for 
Search instead for 
Did you mean: 

adapter modules: How can I transport parameters from one module to another?

stefan_grube
Active Contributor
0 Kudos
206

Hi experts!

In a SOAP adapter I want to develope two modules for handling the request and the response message. So I put one module before the standard module, one after this.

Now I want to transport parameters from the first module to the second. My first idea was using the ASMA (dynamic config). But I found out that the response message does not contain the ASMA from the request.

Has anyone worked on that topic before and can me give a hint?

Best regards

Stefan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Can you try to pass the required parameters between EJB modules using setSupplementalData() and getSupplementalData(). Any number of name/value pairs can be set and retireved between EJBs using the following 3 methods.


setSupplementalData()
getSupplementalDataNames() 
getSupplementalData()

Regards

stefan_grube
Active Contributor
0 Kudos

It works! And so easy!

Thanks a ton for this.

Regards

Stefan

Former Member
0 Kudos

Hi Stefan

This does talk about same you was looking for

http://help.sap.com/saphelp_nwpi71/helpdata/en/e4/6019419efeef6fe10000000a1550b0/content.htm

Thanks

Gaurav

Answers (1)

Answers (1)

prateek
Active Contributor
0 Kudos

Hi Stefan,

Not exactly a solution but could be considered as a workaround. U might have already considered it

Whatever data you require in the response module could be inserted in a temp table (say in XI) using some wrapper RFC call from the module. On the return journey, the response module could pick it up based on certain condition, if applicable.

Best Regards,

Prateek

stefan_grube
Active Contributor
0 Kudos

Hi Prateek,

Unfortunately a database table is no option for me.

I need a solution which is based on EJB only.

Thanks and regards

Stefan