cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping between Messge Mappings in PI 7.3

former_member201264
Active Contributor
0 Kudos

Hi Gurus,

I have a requirement JDBC to RFC Synchronous communication.

CC1--> JDBC Sender Adapter with  Qos-->Best Effort

CC2--> RFC Receiver Adapter

CC3--> JDBC Receiver Adapter

I am using this sceanrio bsed on the link:

MMRequest:

MMResponse:

   MMRequest--> RequestID back to MMResponse -->RequestID, how?

Now I have to update the record based on the value in RequestID in database.

How to get this value from MMRequest to MMResponse?

Any ASMA configuration? Please explain clearly.

I am new to java coding. Even any method to solve this issue using java or any method?

Regards,

Sreeni.

Accepted Solutions (0)

Answers (3)

Answers (3)

ambrish_mishra
Active Contributor
0 Kudos

Hi Kancham,

Please go through the link:

http://scn.sap.com/message/3291945#3291945

This talks about a SAP note 1039779 which resolves the bug with JDBC adapters.

Hope it resolves your issue.

Ambrish

aashish_sinha
Active Contributor
0 Kudos

Hi,

I assume you have done ESR developments and you require help on how to do configuration using RequstResponseBean and ResponseOnewayBean to make Async-Sync bridge in communication channel.

Please have a look in to this blog for settings to be done in ID part. This is a File SOAP Sync Mail scenario. You can have a look and complete your configuration in ID.

Reference for ID config

Regards

Aashish Sinha

former_member201264
Active Contributor
0 Kudos

Hi Aashish,

No, I am confusing in Mappings only.

I am OK with ID part.

Any idea..

Regards,

Sreeni.

0 Kudos

Hi Kancham,

I think for this type of requirements, use RFC LOOKUP in the mapping. So that It will happen in a single call instead of having Request & Response mapping.

So, finally JDBC Sender------->RFC LOOKUP in the mapping--------->JDBC Receiver.

Hope this kind of design will help.

rajasekhar_reddy14
Active Contributor
0 Kudos

Very simple solution for this requirement is

When you send a request id to data base insert same request ID in data base,as part of response ask your DB team to send request ID also.

You need to change JDBC response structure to hold request ID.

Regards,

Raj

former_member201264
Active Contributor
0 Kudos

Hi Raja,

Please explain me how to capture the same requestID from Request mapping to send to the response while INSERTing to the table in Response Mapping?

Regards,

Sreeni.

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

You need to modify the response of the request of the RFC module to send the value from the DB request. when the RFC is executed return that value in the RETURN structure.

If that is not possible you can use a dummy field in the RFC that you are not currently ussing in your interface, and return the value in a dummy field in the RETURn Structure or just modify it.

also there is another possiblity but take much work to do - passing values between mappings using functions Library but for your case is not the best option.

Regards

Rodrigo