Skip to Content
author's profile photo Former Member
Former Member

Email notifications sent to the substitute

Hello Experts,

We are implementing the leave request WF using WS12300111.

We are sending an email notification to the manager in his outlook when an employee has taken a leave.

Let us consider the manager has adopted a substitute in his absence. Now these notifications that go to the outlook of the manager should go to the substitute also when the manager has activated his substitution.

Could you kindly guide us as to how we can go about doing the same.


Belinda Clarke

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Nov 22, 2011 at 09:01 AM


    Can you let us know that how you are maintaining substitutes, Also can you let us know that are you using standard workflow or created a copy of it.

    If you are using a custom workflow then from the workflow you create a task in which you should include a method to determine any substitutes are available. if available send along with manin approver even to substitute by usinf sap standard provided mail sending functions. or CL_BCS class.



    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      In order to send notification regarding the creation/changing/deletion of leave request to the respective manager then I suugest you to make use of the standard report provided by SAP RPTARQEMAIL. This is the standard report which reads all the leave reuqests based on the variants you create. Schedule this report to send the notifications to the respective agents.

      Now I do not think that the standard report will be sending email to the substitutes, in that case take a copy of this report and try to re design it in sucha way that you try to read teh table HRUS_D2 where all the substitutes are maintained. So get the substitute details and scheduel the custom report . daily once this would solve your issue.

      [for more information check this|]



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.