cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI - Splitting the response in a synchronous scenario

0 Kudos

Hi experts,

first of all I apologize if this has been answered before. I have serched for it, without success.

I have a pretty simple synchronous scenario running on the PI. Nothing complex about it. Going forward though, the requirement is to check the payload of the response message and depending on the values of a specific field I need to:

a) send the response to the sending system (as it's happening now) and

b) send an email with an error code

Now in the request I know how to split a message to multiple receivers depending on the payload. But in the response I am at a loss.

I need another Integrated Configuration, right? So do I have to somehow convert the response into its own scenario with its own ICo? How would I do that?

Thank you for your time and help!

Greetings from Vienna,

Nick

Accepted Solutions (1)

Accepted Solutions (1)

sugata_bagchi2
Active Contributor

Hi,

if you only worried about sending the email based on the response message... you can create a udf based on java mail in your response mapping to send the mail.

you will call the udf in response mapping based on the response payload.

Thanks

Sugata

Thank you. That's a good idea 🙂

Answers (0)