cancel
Showing results for 
Search instead for 
Did you mean: 

How to send alert mail for successfull messages

Former Member
0 Kudos

Hi All,

I have File to File scenario. Once file successfully sent to Recevier system i need to send an email confirmation. I know how to send alert mail for error messages but i am not sure about how to send alert mail for successfull messages. Any one can please let me know how to send alert mail for successfull messages?

Thanks,

Koti

Accepted Solutions (0)

Answers (4)

Answers (4)

prateek
Active Contributor
0 Kudos

Alerts in default behaaviour are raised only for error messages. You your case, you need to use email send step in BPM to send data using mail. Still if you want to use alerts, then again in BPM, after the send step for file, use a dummy transform step and create an explicit error there which could raise an alert. However, the former approach is better.

Regards,

Prateek

Former Member
0 Kudos

Thanks for information Guys....

I am planing to use BPM send (mail) step and "Send Context" in both file and mail send steps. To define the condition in Receiver determination in ID i didn't find any context object for my "Send Context". I used "ProcessStep" (Namespace: http://sap.com/xi/XI/System) context object but message is failed with an error "No receiver could be determined". Can you please let me know how to use "Send Context".

Thanks,

Koti

prateek
Active Contributor
0 Kudos

You are already using BPM, then for what purpose do you want the condition in receiver determination?

Regards,

Prateek

Former Member
0 Kudos

Hi,

For mail send step I don't have any new message interface. I am using same message interface for file and mail send steps. Here two send steps are using same message interface and routing to 2 diff receivers. So I planned to use "Transport ACK" in first file send step (bcz I need to send mail confirmation only after file successfully reached at receiver system) and "Send Context" in both file and mail send steps and route the message based on condition in Receiver determination by using "Send context".

But I dont't knows how to use the "Send Context" in condition in Receiver determination in ID....

Is this correct approach or any other approach to follow?

Thanks,

Koti

Former Member
0 Kudos

Hi Koti,

Simple Approach,

1. Put one more receiver service in your Receiver determination step along with the current File Service.

2. in the new service send the mail using the standard XI mail adapter to emial receipents.

Regards

Sunil.

former_member537867
Active Contributor
0 Kudos

Hi Koteswara Rao,

Using BPM u can acheive this by making use of control step in BPM.

Following is the reference blog :

https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3875. [original link is broken] [original link is broken] [original link is broken]

Regards,

Vinod.

Former Member
0 Kudos