Skip to Content

Doubt with File->Proxy scenario, email to be sent in case of error in Proxy


We have a scenario File->PI->Proxy.

There is a requirement to send notification through email to sender if any error occurs in Proxy side.

I had gone through few links in sdn and found options like usage of Fault message,BPM

If PI is receiving a fault message from ECC in the Inbound/Sync Proxy interface, how should we proceed further in PI to send email?

Can anyone suggest the better way to handle this?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 22, 2011 at 09:01 AM

    Hi Zameer,

    Check the option with your ECC Team to send an Email with error details from Inbound proxy code itself. As Debashih said you may use BPM to get response of Inbound proxy. This option may cause further issues. You can have two scenarios without BPM.

    1) File - PI - Inbound Proxy - Inbound proxy would execute the data sent by PI

    2) To send error/status of message processing of IB proxy details, use another Outbound Proxy Interface and call that in your IB proxy. You can configure OB Proxy To Mail interface.

    When the OB Proxy triggered by your IB proxy, those details can be sent to email.



    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 22, 2011 at 07:04 AM


    You may want to use Alert functionaliry.


    If any error occured in Proxy then in error code raise a alert by calling function module 'SALRT_CREATE_API' in the proxy code itself. So alert will automatically send email

    Option 2:

    Create fault message

    refer this


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Zameer Hamza Farook


      In INBOUND proxy response ask the ECC team to send the SUCCESS or FAIL status.

      You configure a mappuing between Proxy Response to Mail. Ans configure a Mail receiver channel.

      create a BPM.


      Receive(Receive the file asynchronus)

      transformation(Inbound File to Proxy Request)

      Send(Synchronus send Proxy request and response)

      Send(Send Proxy response asynchronus)