Skip to Content

SAP PI - Splitting the response in a synchronous scenario

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Feb 21, 2019 at 09:25 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded