Skip to Content
avatar image
Former Member

Alerts for files processed from AL11

Hello Folks,

I have a file to proxy scenario.

The sender file adapter is NFS with FCC. The file has been picked from PI's application severer.

My requirement is that I need to send alerts to the user as soon as a file is picked for AL11's folder and processed successfully.

I need to add here that this is Integrated Configuration(ICO) so the messages are not available in SXMB_MONI.

We need to monitor this interface in RWB Adapter Engine.

Please let me know how to configure alert for every successful file processing along with the file name.

Regards,

Sachi

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Apr 15, 2016 at 06:43 AM
    • In your ICO add an additional receiver for Mail Server.
    • Build the content of your email as required and send the mail to the receiver.

    Basically your scenario will change from File to Proxy to

    File --> Proxy

    --> Email.

    Regards

    Bhavesh

    Add comment
    10|10000 characters needed characters exceeded

    • If you want it to be successfully processed,

      - The Receiver system will be single system - (ECC)

      - Your Inbound Interfaces will be multiple

      - 1st being ECC Proxy Interface

      - 2nd being Email Interface

      Ensure Maintain Interface Order At Runtime is selected.

      What this would make sure is :

      - Until the 1st ECC Proxy Interface is not completed

      - 2nd Interface for mail will not be triggered.

      The QOS when Exactly Once in Order is selected becomes EOIO and hence the execution happens in Order.

      Do Note : For the next run of this Interface until the previous run is successful for both Inbound Interfaces, the message will go into Holding. Typical working of a EOIO Interface

      Regards

      Bhavesh

  • Apr 15, 2016 at 06:54 AM

    may be you can try os command which will execute after file processed.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 15, 2016 at 07:10 AM

    Hello Dubey,

    We had the similar case,

    1.For success Case:

    One more proxy will be triggered after the success of first proxy which will write the O/P file.

    Because you can say the file is successfully processed unless the proxy execution is complete.

    2.For failure Case:

    Took the alerts from the JMS of PI and wrote a file.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 15, 2016 at 07:41 AM

    Hi Dubey,

    I think you have to differentiate when the file is picked successfully or all the process is successful.

    If you want to know if the file is picked successful you can send a mail at mapping level:

    Mail without email adapter? Part - I - Process Integration - SCN Wiki

    Sending Notification with attachment using Java Mail API in SAP PI Map

    For the second case, we need to know you entire scenario, for example if you receiver is a proxy, you can control the notification from there.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded