cancel
Showing results for 
Search instead for 
Did you mean: 

Access request data in response message mapping

Former Member
0 Kudos

Hello all,

I have built a synchronous scenario where a remote-enabled function module on a SAP 4.6c system gets called. Some request message data is passed to XI and mapped to the function module interface. The function module results are again mapped to a response message and returned to the client.

<b>It is a requirement that some data of the request message also should appear in the response message. </b>

Any ideas how to do this in the response message mapping?

Perhaps it might be of help that the relevant data is mapped to importing parameters of the function module...however, it doesn't seem to be possible to access these importing parameters in the response message mapping (which is possible with other EAI tools).

Any help is appreciated

Best regards,

Matthias

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi Matt,

if you're using a BPM

you can easily access this data

as it's in one of your containers

so you have both request and response

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Answers (3)

Answers (3)

stefan_grube
Active Contributor
0 Kudos

Hi Matthias,

Could you explain the scenario?

I wonder, why the sender of a sync call wants to get data as response that it has send out by its own.

Instead of using BPM, you can check, if it is possible to write a wrapper RFC which provides the requested data in the output.

Regards

Stefan

MichalKrawczyk
Active Contributor
0 Kudos

Hi Stefan,

this seems like a choice between two not good situations:

either you can choose the BPM (which will slow

down the process)

or you can try with the wrapper

to send the same information which is already

available in the XI

(what if the message's request is very big and

response very little?)

I guess there's not good alternative...

just tests

however I would also try with the wrapper

if possible

Regards,

michal

Former Member
0 Kudos

Hi,

You could also use RFC lookup.

Thanks,

Rajeev Gupta

Former Member
0 Kudos

Hello,

thanks for your answers, BPM seems to be the solution...

Cheers,

Matthias

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Like mentioned by Michal, I think the solution to this would be to use a BPM and then have a transfomartion step where the request and response container variables are mapped to the target format.

Regards,

Bhavesh