cancel
Showing results for 
Search instead for 
Did you mean: 

Can PI remember a value from a Request & populate it in its Response ?

former_member216332
Participant
0 Kudos

Hello Gurus,

We have a situation where ECC sends a bunch of values with an 'ID' field to PI which PI sends as a SOAP request to the target system. The target system returns values corresponding to the request 'ID' in its SOAP response but without the 'ID' field.

Queries :

1. Can SAP PI populate the incoming response message with the 'ID' from the request ? If so, How ?

2. Are there other means of achieving this without involving PI ?

Thanks in advance,

Sam

Accepted Solutions (0)

Answers (4)

Answers (4)

manoj_khavatkopp
Active Contributor

Sam,

You may use Dynamic Configuration to Store and Retrieve Value:

https://blogs.sap.com/2015/08/28/copy-value-from-request-message-to-response-message-using-dynamicco...

Br,

Manoj

former_member194786
Active Contributor
  1. 1) Yes, either using the dynamic configuration bean suggested by Manoj or using get and put payload beans(https://blogs.sap.com/2013/03/20/insert-value-from-request-message-to-response-using-getpayloadvaluebean-and-putpayloadvaluebean/)
  2. If it is a synchronous call, SAP system already knows what ID value it sent out. So, do you really need to send it back?
former_member186851
Active Contributor
0 Kudos

You can try using CCBPM Async/Sync bridge and maintain some correlation.

What is the source here?

former_member216332
Participant
0 Kudos

Hello Manoj & Sanjeev,

Thanks for the quick response. I am currently working on XI 7.0 which does not seem to support the suggested bean methods completely.

As I am still trying to figure this out, I would appreciate if you can provide some help compatible with XI 7.0.

@Sanjeev Its not a synchronous call from SAP. I will check with responsible team if a synchronous call can be made available for the scenario.

Thanks again.