HCM ESS Leave request : Intimation mail or Approval mail is not going

Dear Experts,
We have an Ep 7.0 system with ECC 6.0  is connected at backend. Currently we have a requirement : whenever an employee will request for a leave from ESS(EP 7.0) the approver should get an intimation mail and similarly when the request is apporved or rejected the requestor should get a mail about this.
Now we have already a customize workflow for this leave request process. We have checked and scheduled background work procesess for the following reports
1. RPTARQEMAIL
2. RPTARQPOST
3. RSWWTHEX
4. RSWWERRE
5. RSWWCLEAR
6. RSWWCOND
Please note that an approval mail is being sent to the applicant after approval of his leave. We need to make the following adjustments:
1. The body of the approval mail that is being sent now needs to be changed and must include details of the leave request. How to do this?
2. No intimation mail is being sent to approver after a leave request has been raised. As per RPTARQEMAIL approver should also get notified about the leave request.
3. Apart from RPTARQEMAIL if we use the work item "SEND MAIL" in the workflow to implement this, we are getting the approval mail and notification mail in the inbox of our business workspace(SBWP). However the mail is not being redirected to the mail id maintained i.e in outlook inbox.
Regards
Partha

My sincere advise is to do some thing like this,
1. First take a copy of the standard leave workflow template WS12300111
2.Create a ZBOR (in SWO1 txn) in which you define a method which handles mail sending process by using the standard SAP FM SO_DOCUMENT_SEND_API1
3. Create a Text element in SO10 transaction.After this as I said you will creating a ZBOR-method in that itself you determine the agents and email addresses before calling the FM 
    SO_DOCUMENT_SEND_API1.
4. To get the lines of the mail content (from SO10) you hvae to use the FM READ_TEXT
if the above is done then fixing your issues is a simple thing
Q1. You need to change the content of the mail type.
A1. You can chage the mail content in the TExt element.
Q2.No intimation mail is being sent to approver after a leave request has been raised?
A2. You hvae two options over here either you can make use of the tab notification of the decision step or by using the program RSWUWFML2 you can schedule a background job, for help see the Documentation of the rep.
Q3.Mail Sedning to outlook
A3. SCOT settings, SMTP---> Internet ---> addresses ---> maintain the address or by using the SWNCONFIG you can even aceheive this.

Similar Messages

  • ESS leave request - Change Approver

    Hi,
    We have a situation in which a employees dotted line manager will approve the leave request instead of a direct manager. We have a custom relationship to establish the dotted line manager. Now, In the ESS leave request there is a Approver field which shows the Employees direct manager. Can we customize the logic using a BADI or User exit to show the dotted manager?.  Please let me know which enhancement is to be used for this requirement.
    Thanks in Advance for your assistance.
    Ramesh

    in the customizing for the definition of the processes per rule group
    you set the selection for the next processor to "Manual Entry".
    or for the BADI
    Another way is to use the BAdI Control Processing Processes for Time
    Management Web Applications (PT_GEN_REQ) and implement the methode
    IF_EX_PT_GEN_REQ~FIND_RESP_AND_DEFAULT_NEXT_PRC.
    Method FIND_RESP_AND_DEFAULT_NEXT_PRC of badi
    PT_GET_REQ  might be utilised here.
    Please have a look at the  method
    CL_PT_REQ_SEARCH_NEXT_P~SEARCH_NEXT_PROCESSOR.
    If you are implementing the badi then make sure you copy all the methods
    and implement the one, as mentioned.

  • ESS leave request workflow : not able to approve request

    Hi experts,
    When i create leave request, work item for approving request is not coming in the approver's bussiness workplace. I am using std workflow WS12300111. Is there any customization needs to be done ??
    please help me
    Pointes will be rewarded
    Regards,
    Sameer

    Hi Samee,
    Did you select General Task in the steps of workflow you have an agent?
    Sónia
    You have a chief position on the Organization Unit where you have the employees?
    Sometimes it's possible to forget this one:
    Transaction SWDD, select the workflow  WS12300111 and press CTRL+F8 (Basic Data)
    there's another button "Agent assignment for task" (SHIFT+F9)
    set task to "General task" with the "Attributes..." Button. (EVERY user can start this task).
    And check this to:
    Using transaction SWFVISU, check the following entries and correct these where required:                                                         
    TS12300097 Java WebDynpro  APPLICATION LeaveRequestApprover                       
                     PACKAGE sap.com/ess~lea                                
    TS12300116 Java WebDynpro                                               
                     APPLICATION LeaveRequest                               
                     PACKAGE sap.com/ess~lea                                
    (check this, because usually you have an error, instead of sap.com you have com.sap)
    Register the work items again. Additional information about registering  work items is available in the UWL documentation.                       
    After re-register the System Alias again in the UWL - THIS IS VERY IMPORTANT
    Edited by: Sonia Santos on Jan 28, 2008 12:49 PM
    Edited by: Sonia Santos on Jan 28, 2008 12:51 PM

  • Error after second level approval in ESS leave request

    Hi Experts
    I am using custom workflow for Ess Leave request process which is copied from WS21500001.
    I have added custom class methods to change status from approved to sent.
    Then another method i have set next appovaer.
    The problem i m facing is that I am getting an error on portal after second approval approves the request.
    i.e Field syomol has not been assigned yet.
    from st22 i found its generating from
    Include LPT_ARQ_REQUEST_UIAF06  - Form   execute_approver_update
    By debugging i found that Its not getting next approval with status T as there is only first approval with status 'A'
    This results in unassigned field symbol. and then error.
    Please help me resolve this issue.
    Please confirm why next approver is not found in method.

    Hi All
    Thanks for your reply.
    I checked why it was giving a dump.
    This execute_approver_update subroutine takes approval data from table ptreq_approver .
    I filled this with resp actor id after request is approved and status is changed to sent.
    For every emp its unique actor id is saved in ptreq_actor table agaist his pernr.
       SELECT SINGLE actor_id FROM PTREQ_ACTOR INTO actor_id WHERE objid = nextApprover_pernr.
        wa_appr-mandt = sy-mandt.
        wa_appr-request_id = Request_ID. "Req.requestID ( from Workflow )
        wa_appr-version_no = version_no. "Req.Version ( from Workflow )
        wa_appr-seqnr = seqnr. "Same as version no but in char
        wa_appr-approver_ins = actor_id. "Employee actor id from ptreq_actor
        wa_appr-status = 'T'. "Manual
        append wa_appr to it_appr.
        INSERT PTREQ_APPROVER FROM TABLE it_appr .
        commit work and wait.
    This resolved my issue.
    Thanks

  • Next level approver in ESS leave request

    hi friends
    Am working in ESS leave request workflow. In my scenerio there are 4 level approver. I have function module SWX_GET_MANAGER  i have copied and customized to ZSWX_GET_MANAGER with my logic to get the next level approvers. If i entered the PERNR it return all the approver for that employee. How do the workflow know he is the 2nd level approver, he is the 3rd level approver. How can i achieve it. kindly help me...
    Regards
    vijay

    Hi Vijay,
    I think you will need to use a loop and a counter so you know the approval level. You can use this to get the manager who belongs to the level.
    Regards,
    Martin
    PS I hope you will show in the thread which solution you got so others will benefit. This forum is about sharing knowledge and one way is to give the solution in your thread, or value the appropriate answers.

  • ESS Leave Request Approval Not working

    Hi All,
    We here have ESS1.0, ECC 6 and EP 7 on NW2004s.
    Problem which i am facing is in Leave Request.
    An employee enter his leave details and send it to its boss.
    and the boss check the same in his UWL uptil this its working fine.
    But when the boss click on the Leave request in UWL to approve or reject the same then error comes.
    The error is "<u><b>Application error occurred during request processing.
    Details:       com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Wrong WebDynpro-URL: no application name specified
    Exception id: [001125C556F8005400000500000B2052000432CAF4C7A0CF]</b></u>"
    Kindly help me out on how can i resolve this issue.
    Regards,
    Sidhartha Chatterjee

    Hi Sidhartha,
    proove, if you use the following things:
    In the portal under "Universal Worklist - Administration" you must fill out the parameter "Web dynpro launch system" for the binded ECC system you use. Use a portal system (the alias name for the portal system you have created) which links to the Web Application Server where you have deployed(!) your application (if web application server and portal is the same you also must create a portal system with the local web application data). In general, you create and named a portal system like SAP_WebDynpro_XSS and bind it as parameter.
    If you do not use this system the Web Dynpro for Approve/ Reject leave request generates a wrong URL with the Web application data from ECC, not for web dynpro.
    More information:
    Configuring The Business Package For Employee Self Service (ESS)-mySAP ERP 2004
    (to create the system SAP_WebDynpro_XSS)
    http://help.sap.com/saphelp_nw04/helpdata/en/92/a88931f2dd4631b9e8d530697d89c9/content.htm
    (to bind it into UWL)
    Hope that helps,
    Regards,
    Frank

  • ESS leave request

    Dear friends
    in ESS leave request workflow , in approval process task i am maintaining 10 days deadline , after that by using process control i am making the workitem to be obselete , then same leave request is going to supervisor's supervisor . this is properly working, my problems are
    when the first supervisor opens some other leave request still the escalated leave request is showning in the table , still system is allow him approve . and also in the supervisor's supervisor  inbox then workitem remains if he opens the workitem there is no any leave for approval in that table , so deadline mointerting is not working propely for ess leave request , and also in supervisor's supervisor  inbox workitem is not going out from uwl .
    how to do deadline mointering for ESS leave request workflow ,
    can any one help on this
    reason which i could identify is details are picking from the document database based on the approver .

    You should check the forum, I think I saw a thread in the last two days which stated that deadline monitoring is not working for the leave request. (it could be the HCM forum). So this would be why the handling is not working as expected.
    The problem of no leave to be approved for the manager could be prevented if you set a terminating event on the task which will be triggered when the leave is approved.
    Regards,
    Martin

  • ESS Leave request workflow : ws12300111 : Customizing

    Dear experts,
    I need to customoze ESS leave request workflow WS12300111.
    Can you please tell me do I need to Copy this to a NEW workflow generating a new WF no or can I simply generate a new version for this only ? What is ideal ?
    1. Can anyone tell me step by step process(config) in ESS leave application workflow?.(SWFVISU????)
    2. Is workflow WS12300111, the only workflow that I need to look for leave application ?.
    3. If it is WS12300111 I don’t see any start event for this workflow. So how is it getting triggered?
    4. For the approval task TS12300097, agent determination is done by expression ‘&Agent_0001.Agents&’. How does it interact with Org.Structure.
    5. In my scenario, approver should be supervisor of the employee applying for leave. If it is pending with this approver for 5 days it should go to the next up level manager.
    For identifying first level approver is ‘&Agent_0001.Agents&’ enough.? For identifying 2nd level approval do I need to write a rule ?
    Kindly help.

    Hi Sourav,
    Try this step by step process(config) in ESS leave application workflow.
    ESS Scenario
    Workflow Process 20000081 u2013 Create Leave Request with HTML
    Steps for triggering the workflow:
    1) The employee logs with his user name in the ESS web page.
    2) The employee creates a leave request with an optional note and sends it to the appropriate approver (usually his supervisor). The approveru2019s name is automatically displayed in the leave request form and the employee can replace him with another if such a change is needed.
    3) The approver (us approver) logs on to sap system or to ESS
    web pages and reads his mails in the SAP Business Workplace. The employeeu2019s leave request form appears in the workflow inbox with approve and reject options.
    A) If the us approver approves the leave request, he pushes the
    button approve from his mailbox (processing status A with
    approve). A screen is appeared with a box (Table entry: 0001)
    and the approver must push the button continue in order that
    the workflow is continued. Then the form is sent to the
    employeeu2019s mailbox in Sap. When the employee opens his mails, he receives a note in his inbox that u201Cthe absence from u2026. To u2026..has been approved byu2026.u201D.After that the absence is
    automatically created in the sap system. Then the approver gets a mail (notification of completion & Return u2026u2026).
    B) When the approver cancels a leave request, he pushes the
    button reject and the processing status changes to u201CRu201D.
    Then the same form appears
    Realative OSS Notes:588262, 480103, 717560, 452841, 359197, 321439, 428394, 321439, 693368, 451998 (ITS), 197746 (ITS), 419297 (ITS)
    ITS - ESS stand-alone solution for 4.7
    This solution allows customers to schedule the 4.6C or 470
    install / upgrade independently from the Enterprise Portal or
    mySAP Workplace implementation and will be supported at least as long as SAP R/3 4.6C and R/3 Enterprise is supported.
    This ESS stand-alone menu is intended solely to allow independent scheduling of the 4.6C or 470 upgrade and the Enterprise Portal / mySAP Workplace installation. To use this solution, you have to take the following steps:
    1. If you do not already have R/3 4.6C, HR support package 8,
    please import HR support packages to at least this level. From
    HR support package 8 and above, the correct services are
    implemented. For 470, the corresponding recommended HR SP is 16 (See note 621589)
    2. Verify that the ITS you want to use does not contain a service or service-related files (HTML templates, MIME files) for the services PZLE, PZM3 or PZM3_start. If you find these files,
    delete them.
    3. Publish the services PZLE, PZM3 and PZM3_start from your R/3 4.6C system (or R/3 470 system whichever is the case) to your ITS using the SAP@Web Studio or the IACOR service.
    4. Maintain the username-employeenumber assignment in your system by customizing Infotype 0105, Subtype 0001 of those employees, who should be able to use ESS.
    5. Verify that your users have proper authorizations for
    executing RFCs (that is, authorization object S_RFC) from the
    function group EH08. If you run into problems, this is most
    likely due to missing RFC authorizations to start the service
    PZM3.
    6. Your users should now be able to access ESS by starting the service PZM3. They can do this by entering a URL like
    http://<ITS server>:<http port>/scripts/wgate/pzm3/!
    (the ! at the end is essential).
    7. ESS 4.70 Unicode System ITS 6.10 patch level 29 and above (With IE and Netscape). ITS 6.20, patch level 6 and above (With IE only).
    The ESS development tested these ITS versions.
    8. For Release 4.6C, ESS has the same browser requirements as the HTML (see also note 178788) and the mySAP Workplace 2.11 (if ESS is accessed through the mySAP Workplace 2.11).
    Hope it helps.Do award points if found helpful.
    Regards,
    Gourav

  • Error in ess leave request

    Hi Experts,
    Please find the below error and guide me in this, as the employee has applied leave request and it is approved and posted in 2001 but  the employees has an Option in ess to change his approved leave also but when he is trying to change the leave getting the error
    The leave must not start before 22.04.2009
    please help me in this.
    waiting for your response..
    Regards,
    Shilpa

    Hi,
    GO to SPRO .
    IMG Path:
    Personnel Management  Personnel Administration  Personnel Data  Employee self service  Service Specific settings  Working Times  Leave Request  Processing Process  specify processing process of leaves types
    Select one leave
    in that "Start Date in the Past"
    select 1st RADIO button "Processing Permitted to the recalculation Limit"
    Save ...and check

  • Problem with ESS Leave Request Workflow

    We had configured ESS Leave request, which is working fine with Leave request approval.
    1)     Cancellation of Leave Request using the workflow WS12400005.  
                                  Workflow is not getting triggered when we try to delete the leave request.
    2)     Quota Overview
    While displaying the Casual Leaves (CL) I need to deduct the Paternity leaves (PL) also.
         Remaining CLu2019s = quota CLu2019s u2013 ( used CLu2019s + used PLu2019s).

    hi kishore. how did you resolve the issue of workflow not being triggered?

  • Standard functionality of ESS Leave Request Details.

    Hi Gurus,
           Can anybody share the links of Standard functionality of ESS Leave Request Details..?
    And,Is there any standard functionality in ESS Leave Requests that if a User raises a Leave Request and want to extend the leave...is there any rule that User First cancel the previous Leave Request and raise a New Leave Request .
    Please explain briefly for the same.
    Thanks,
    Prakash.

    Prakash,
    ESS Leave Request with WebDynpro technology:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/5b/76a6d7fd3a4e91bfb422405bf3e04d/frameset.htm
    ESS Leave Request with ITS technology (old):
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/80/58dce8142711d289b50000e8216659/content.htm
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/d9/359018129c11d3964400a0c930669b/content.htm
    You've all the customizing in SPRO > Personnel Management > Employee Self-Service > Service-Specific Settings > Working Time > Leave Request
    You define:
    1) A Rule with certain settings
    2) Absences/Attendances to display in ESS, with certain settings, and its assignation to a Rule
    3) A WF (commonly based on standard 12300111) --even you could not use a WF, check customizing
    4) Run process (manually or not) for analyze, correct and delete or save the entries finally in SAP through PTARQ transaction
    And,Is there any standard functionality in ESS Leave Requests that if a User raises a Leave Request and want to extend the leave...is there any rule that User First cancel the previous Leave Request and raise a New Leave Request .
    The employee can be able to cancel the request even when attendance/absence was approved. You define this behaviour for each Absence/Attendance in customizing.
    Regards

  • ESS leave request 2 level workflow??

    Hi friends,
    Does anyone know how to create a 2 level workflow in ESS leave request?? im not able to find any solution for this.
    looking forward for your reply...
    thanks in advance
    sudhir

    Hi Sudhir,
    You dont have to create a new status for such scenarios. The Java WD Leave Application lists all the Leave Requests that are in SENT status. So after the first approval is done, the status is set to APPROVED in case if it is approved. Now, we have to reset it to the status SENT if you have one more level of approval.
    This can be achieved in 2 ways.
    1) Changing your Standard Class's coding as suggested by SAP in the above thread.
    2) You create one custom BOR with one method - RESETSTATUS - Which resets the status of the Leave Request back to <b>SENT</b>. You can get the required coding from <i>APPROVE</i> method of the above mentioned class.
    I followed the second method.
    I hope this should clear our problem.
    Regards
    <i><b>Raja Sekhar</b></i>

  • ESS Leave Request - Set Workflow status to Completed

    Hi,
    We are on ECC 5.0 and we are using ESS to process Leave Requests. We have a custom Workflow based on the standard Workflow template WS12300111 for approval of Leave Requests.
    Whenever an employee creates a Leave Request via ESS the Workflow is started. When the employee deletes the request the Workflow has to be stopped/completed. For this we have put a Wait for Event step in a parallel branch to the Approval Process. In the Wait for Event step we wait till a condition ( Request.status = DELETED ) is met.
    But when an employee deletes a Leave Request the request is deleted from the list but it gives a message as "Specify a class name".
    Can anybody please help us on this( how to complete the workflow whenever the Request is deleted ) and let us know what is the procedure to do this.
    Thanks in advance.
    Regards
    Immanuel

    Hi Prashanth
    Thanks for your quick reply. But that would not solve my problem. My Workflow looks something like this
                               WF-started by entries in configuration tables
                             Some activity in background
                         A fork with 2 parallel processes
                        Approval     Wait for an exception condition using Wait for event step
                          process          (wait till an attribute of a object has a specific value)
                              Workflow completed
    The wait step waits for the status of the object to change to DELETED.  The Workflow should get completed either if the Approval process is over or the condition specified in the Wait step is satisfied.
    But in the case of ESS Leave Request this doesn't work. Is there anything that we need to do to set the status of the Workflow to Completed if the Leave Request is deleted.
    Thanks
    Immanuel

  • Team Calendar in ESS Leave Request (Error)

    Hello,
      we are configuring the Leave request in ESS and MSS in the portal (EP 7.0, ECC 6.0, latest release). The Leave Request process and application, Time accounts and Workflows all working fine and the customizing is done in the IMG.
      Only under ESS -> Leave Request -> Team Calendar we are getting this Error:
    java.lang.Exception: No Views found: Missing customizing
         at com.sap.xss.ser.tecl.fc.FcTeamCalendar._checkData(FcTeamCalendar.java:799)
         at com.sap.xss.ser.tecl.fc.FcTeamCalendar._getData(FcTeamCalendar.java:751)
         at com.sap.xss.ser.tecl.fc.FcTeamCalendar.initialReadData(FcTeamCalendar.java:385)
         at com.sap.xss.ser.tecl.fc.wdp.InternalFcTeamCalendar.initialReadData(InternalFcTeamCalendar.java:319)
         at com.sap.xss.ser.tecl.fc.FcTeamCalendarInterface.initialReadData(FcTeamCalendarInterface ....etc.
    I have maintained the Customzing in IMG for Team Calendar as the following:
    00000001     SAP Standard     01.01.1800     31.12.1999     Approval Mode     View Group (MSS)     MSS_LEA_EE
    00000001     SAP Standard     01.01.1800     31.12.1999     Attendance Overview     View Group (MSS)     MSS_LEA_EE
    00000001     SAP Standard     01.01.1800     31.12.1999     Administrator Mode     View Group (MSS)
    00000001     SAP Standard     01.01.1800     31.12.1999     Request Mode     View Group (MSS)     ESS_LEA_EE
    00000001     SAP Standard     01.01.1800     31.12.1999     Team View Mode     View Group (MSS)
    Would you please help?
    Many Thanks and Regards,
    Nazih

    Hi Bryan,
    1. First of all make sure that the Internet Graphic Server is activated + up and running on your SAP ERP System (see also SAP Note  704604)
    2. Then you have to set the Customizing Parameters for the Team Calendar in IMG (SAP ERP System):
    a. Tcode: PTARQ -> Customizing
    b. Working Time -> Team Calendar
    c. Node Create Rule Group -> Example: 00000001 (SAP Standard)
    d. Node Adjust WEBMO Feature -> Assign all Nodes to your Rue Group
    e. Node Spec. Absecne to be displayed -> Here i assume you have set up the Leave Request Process and WF already, so you only need to assign this to your Rule Group:
    Example.
    00000001     SAP Standard     01     0100     Leave     01.01.1800     31.12.9999
    f. Node Select Employee -->
    Here you need to set the Group of your Employee which should be displayed in the team calendar:
    Example.
    00000001     SAP Standard     01.01.1800     31.12.9999     Approval Mode     View Group (MSS)     MSS_LEA_EE
    00000001     SAP Standard     01.01.1800     31.12.9999     CATS Approval     View Group (MSS)     MSS_LCA_EE
    00000001     SAP Standard     01.01.1800     31.12.9999     Attendance Overview     View Group (MSS)     MSS_LEA_EE     PPOME_P
    00000001     SAP Standard     01.01.1800     31.12.9999     Administrator Mode     View Group (MSS)     MSS_LEA_EE     PPOME_P
    00000001     SAP Standard     01.01.1800     31.12.9999     Request Mode     View Group (MSS)     ESS_LEA_EE
    00000001     SAP Standard     01.01.1800     31.12.9999     Team View Mode     View Group (MSS)     MSS_LEA_EE     PPOME_P
    ---> Tipp: Check all Settings and Leave Types also with an HR Consultant before maintaing these in the ESS Customizing...
    Regards,
    Nazih

  • Advanced search in ESS leave request scenario

    Dear experts,
    we want to use the leave request scenario for ESS. The employees should choose the ap-prover with the search help (or advanced search which pops up when the user clicked the symbol at the edge of the approver field). Is there any way to customize the advanced search so that the result only lists employees in a specific role and not all of them? Where can I see the code from the advanced search und where can I change this?
    I am thankful for any hints and tips!
    Many thanks
    Diana Natanegara

    Re: Advanced search in ESS leave request scenario

Maybe you are looking for

  • BI Infoset - infoobjects

    Hi I created and infoset from two cubes. I would like to clean up the infoset, I don't need all the infoobjects from the two cubes. For e.g. I have two gross sales (calculated key figure) being displayed in my infoset. How do I exclude one of them? T

  • RH crash when generating topics

    I've linked my book in RH successfully, but every time I try to generate the topics, RH crashes. The book is about 160 MB including graphics, 11 chapters and 3 appendixes. My system is TC3, Windows 7, 8 GB RAM. Thanks for any help!

  • Exchange Server 2013 Can't install mialbox role for DAG.

    Hello, I was upgrade out exchanger server from 2003 to 2013. I wanna install one more Mailbox role on different server for DAG. But i receive bellow error. I'm have a root domain and child domains. My exchange server working on a child domain. Error:

  • Extending ovd schema with 10.1.4.3 release on linux

    We are trying to apply Note 739067.1 but $OVD_HOME/tools/ldapmodify is not available in 10.1.4.3 release. There are some script to use a java ImportLDIF class but in windows format. Is there some procedure to extend ovd schema from command line in li

  • Device attaches on Solaris 10

    Hello, We have a device driver that's been working on Solaris 7 and higher for some time. We're seeing different behavior on Solaris 10 that is causing us problems. We are running on Sparcs. Our driver has one pseudo device and one or more physical d