on 05-11-2016 10:06 PM
Hi ,
I have a asynchronous file to file scenario where I need to send a email notification once the file has been successfully delivered to the target location.
Is there a way to know the status of the file transfer while using FTP adapter? The email notification should contain the receiver file name and status whether it was successful or failed.
I am on PI 7.4 dual stack system.
Thanks
Husain
Thanks Bhavesh/Navdeep.
But in the above two options the email will not trigger if there is a failure correct?
My ask is to report a Success or a Failure depending on the output of the File adapter in the same email.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Husain,
few options
I do have a "ugly" solution and this would be for errors where the file is not successfully created, use PI alerts to trigger the email!
Apart from these solutions that provide real time feedback anything else will be a external job. If that works, then the solutions listed previously by other users are also worth a look at!
Regards
Bhavesh
you can use file receiver adapter post processing commands to write a temp file in the operating system with the filename. the temp file will be written to operating system folder location only when the file/FTP adapter message processing is complete
now another interface pick this file and sends email confirmation for the success of file receiver processing
more information on the sap help
https://help.sap.com/saphelp_nw73/helpdata/en/44/556cb799c93677e10000000a114a6b/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One another way to do this,
Caution to this approach though - This make the QOS as EOIO and hence if a single message goes into error, all other messages will go into Holding Mode.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The scenario which I want is something like this
File -> PI -> File -> Email.
The email content should say Success or Failure depending on the Adapter status.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Dimitri.
But how do I incorporate this ABAP code in my scenario? Is there a way to trigger the AbAP code once the file has been processed by the file adapter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.