cancel
Showing results for 
Search instead for 
Did you mean: 

WS12300111 how is it sending mail ?

former_member182468
Contributor
0 Kudos

HI ,

There is no 'SEND mail ' step in the standard leave request

workflow WS12300111 .

Can anyone tell me how mail is being sent through this workflow . What part does RPTARQEMAIL report (Leave Requests: Send E-Mails) plays in it ?

Thanks & regards,

Sahiba

Accepted Solutions (1)

Accepted Solutions (1)

former_member190818
Active Contributor
0 Kudos

Hi,

The mails are sent using the activity. It is the workitem which can be executed by the user. If you want to send a mail, you need to have an mail step.

former_member182468
Contributor
0 Kudos

ok

that means mail can only be sent by 'Send Mail' Step .

Is there any other way ?

I have been given an ESS leave request workflow where there is no send mail step but the mail is being generated .

Answers (2)

Answers (2)

Former Member
0 Kudos

Gents,

I'm having a problem with the same workflow. When the leave request is approved, the approval notification is sent to everyone who had a leave approval that day (overnight batch job it seems).

Does anyone have any idea how this is controlled?

Is there another program other than RPTARQEMAIL?

Edited by: Amir Hanna on Feb 12, 2008 3:37 AM

Former Member
0 Kudos

Hi,

In general to send e-mails we use Send Mail step refering to SELFITEM.SENDTASKDESCRIPTION Method, however in case ESS Leave Request Workflow WS12300111, it is not done using any send mail step but using a scheduled job based on report RPTARQEMAIL.

The way it works is like below, when you create a leave request we will be having a Leave Requset Document created in Database. This report RPTARQEMAIL tries to pick up the all the leave request documents in 'SENT' status and sends e-mail to the manager informing him about the new leave request for his approval. Similarly after leave is processed ( approved/rejected) sends an e-mail to employee.

Check with the report program, it actually uses 'Dialogue Texts' to define the content of e-mail, check with them, you can even modify them to have your own custom mail content.

Hope this helps you !!

Regards

Krishna Mohan

former_member182468
Contributor
0 Kudos

ok thanks

this seems to be very helpful

but is this report related to abap programming ?