cancel
Showing results for 
Search instead for 
Did you mean: 

Sending Email from ESS Leave Application.

former_member182205
Participant
0 Kudos

Hi,

We are using ESS standard leave request application in our portal. Standard ESS leave request application workflow is WS12300111. But in this standard workflow there is no provision for sending the email, once employee raises a leave request or when manager approves/reject the leave.

So what we have done, we have copied this standard workflow functionallity into another customize workflow and we have added email blocks in the ABAP workflow, but emails are not going ,its giving the error. and we will be using this customize workflow in our ESS leave request application instaead of standard leave workflow as we require email to be sent.

I want to know what all settings/configuration in ECC side we have to add so that email can be sent once employee raises leave request or manager approves the leave.

Do we require SCOT (SAP Connect) configuration for this or wat ?

Accepted Solutions (0)

Answers (4)

Answers (4)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

You just need to set normal SCOT system and run this report regulalry

if you are already sending mails then you dont need the any other configuration just run rptarqemail and you ll see it

by the way did you maintainm the email address in 0105 0010 for the pernr? this is important to send the mail

)SCOT>utilities>Routing test-->Enter the recepient address and recepient type(eg:-INT).

Then click on ROUTES-->explain.

It should give three green colour icons.

2)Make sure the e-mail address is added to the user sending the e-mail in SU01.

3)You can send a message via System Status-->short message (or SO01).

4)You can view status of the message using the tcode SOST.

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

We already have standard programme as shared by Wolfgang!

Check trans code PTARQ, you ll see all reports assigned to the Leave request

here are the steps

This is the way it scheduled

1. Create a Leave Request

2. Execute the report RPTARQEMAIL.

3. Approve the Leave Request.

4. Execute the report RPTARQPOST.

5. Execute the report RPTARQEMAIL.

With the radio button 'With All Documents'

which make sure that individual mails are sent to each requestor.

In the standard scenario the radio button 'With General Notification'

all the requestors are grouped together for sending the mails. The main

reason for this is to reduce the load on the mail server.

former_member182205
Participant
0 Kudos

Hi Sidharth,

Thanks for the reply, but to run all the mailing reports you mentioned above, what all configuration I need to do in ECC system.

If I run this report directly, will I will be able to send mails to the employee's gmail/outlook Inbox.

What all configuration like SCOT configuration etc etc I have to do in ECC system before I can use these reports.

Please let me know..

wp1
Explorer
0 Kudos

Hi,

just to mention it here. The SAP standard provides the email functionality via report RPTARQEMAIL. Just apply it as a batch job like RPTARQPOST. I guess it is easier then writting an own workflow.

Not sure whether you know that, as you didn't mention it.

Kind Regards

Wolfgang

Lukas_Weigelt
Active Contributor
0 Kudos

Hi,

what error is occuring? Can you please paste it here?

In case you didn't take a look yet: check TA SOST to see what happened to the mails (something should be visible here in case it's a communication issue).

regards, Lukas