Idoc to file and email
We have a IDOC to file scenario. File is written on the FTP server. If the file is written successfully an email needs to be sent out and if for some reason the file cannot be written to the ftp server and error email should be sent out.
Can this be done without using the BPM?
I have some ideas using the OS scripts on the receiver channel and creating two interfaces instead of one. But though will throw it out there to check if someelse has a better idea.