Hi All,
Can Anyone send me some code regarding the following Requirement.
Note: Here the Interface is Inbound Interface.
The Interface has been sheduled under a Batch job and after running the interface in the job successfully or unsuccessful then:
Create a single program that creates an email notification sent to a defined group or an individual email address when either:
1.An interface runs successfully without errors-
a.The email notification should include the IDOC numbers with associated record count.
2. An interface runs successfully with errors
a.The email notification should include the IDOC numbers with associated record count for the
successful IDOCu2019s and the IDOC numbers and all associated error messages for unsuccessful
IDOCu2019s.
3. An interface cancels without completion
a.The email should include the interface name and time of cancellation
Note: All Emails should be generated immediately after the Interface completes successfully or fails
to complete.
4.Program must have the ability to run after interfaces have completed against completed data.
Description:
Business personnel are not automatically notified when interfaces fail (approximately 150 interfaces)
Error notification includes 38 IDOC and 1 text inbound interfaces; Need successful notification as well which includes record count; Notifications will need to be run following the interface jobs so they need to be scheduled at different times.
Proposed Solution:
Add exception notification for Datastage and SAP iDoc errors.