Sending Output of Concurrent Programs Via Email
Sending Output of Concurrent Programs Via Email
Blog : http://oracleapps-atechniciansview.blogspot.com
Email : [email protected]
While working on Oracle Applications E- Business Suite it is a very common requirement that we want to send the output of a concurrent program as an email attachment to specific email id.
This requirement can be easily achieved by creating a shell script which will take the output file and send email to the subscribers.
For this you have to follow the below mentioned steps: a) Create a Executable with execution file type as Host. b) Create a Concurrent program which will have parameters as Request ID(for normal request whose output is stored in fnd_concurrent requests) , Output Request ID ( for XML based concurrent requests where otput is stored in fnd_conc_request_outputs), Attachment type( LOG/OUT for Log file and output file respectively, Email Id ( email id to whom request needs to be send, Email Subject (Email Subject)
Now whenever you will call this concurrent program passing the correct parameters you will be able to send the output to email id.
Moreover, in order to have the control you can have flexibility to control which concureent programs output you want to send via email and the corresponding email id create a lookup
Code : 10,20,30 ..etc Meaning : 10,20,30...etc Description : Concurrent program Name whose output needs to be send Tag : Email ID to which the concurrent program output will be send.
Please save the above file in desktop and open with textpad , wordpad, notepad.