Leave Request - Notifications

Hi Experts,
We are on EHP7 and using NWBC. We are using Multi Level approval workflow WS33700137 for Leave Request.
We would like to know, is it possible to send system generated email notifications at each step from workflow, instead of using RPTARQEMAIL program. We would like to avoid background job notifications.
Regards,
Ashish

Hi Shankar,
In our case, we have some dynamic values also coming for this email notification. In that case, how do we bring that dynamic values for bindings. Like we have custom table from where it gets position/email id of second approver.
Following screenshot of Bindings:
But if I check inside bindings there is not value (When I double click on Task TS90500083) it displays as follows:
And also for email subject and content, can we bring values through any program as it also has some dynamic values which is not part of the Bindings or Insert Expressions .. Also alignment is big issue.
Regards,
Ashish

Similar Messages

  • Error  - While changing existing leave request from ESS

    We are trying to use the standard leave request application in ESS/MSS. The basic required standard configurations are done. Since we wanted custom notifications, the related workflow is copied into custom workflow and we have included required custom notifications. The custom workflow is also configured properly.
    Now, the standard functionalities like making leave request, triggering notifications, approving leave request and posting information into backend are working fine from the ESS/MSS.
    When the employee tries to change the existing leave request (before approval) from ESS, at the 2nd step (Review and Send), it is displaying one error message General task: can be edited by all users. But, it still allows submitting the records.
    Once it is submitted, the system throws one java error at the final step (after pressing SEND button) u2013 Failed to process request. Please contact your system administrator. - java.lang.NullPointerException. The complete error information is provided in the attached word document. Even though, it throws error the submitted data is getting saved into the backend.
    Please help to solve this issue.
    Thanks,
    Prabhu
    Edited by: Prabhu T on May 18, 2011 1:53 PM
    Edited by: Prabhu T on May 18, 2011 1:54 PM

    What custom notifications you require in leave request? We have all available in standard using Rptarqemail
    First of all, the WF task should be set as
    General task: can be edited by all users, which you have done presumably under task classification
    Now, for checking purposes, can you check with standard WF in table v_t554s_web for one absence only?
    ie WS12300111.
    Please test this and let us know if you have errors
    Also please check your custom WF whether it is working correctly or not?

  • Leave Request work items are not showing in SBWP TCODE under OUTBOX .

    Hi
    Friends
    I used work flow 12300111 for leave request process and I activated that work flow.
    I applied leave through ESS from portal(Employee login)employee sends a leave request sends good,
    and I got  Leave request(work items) Managers in box(uwl in Manager Login in portal).
    Manger Approve the leave request has been approved successfully.
    can I check whether leave request is processed in R/3.
    in tcode se38-RPTARQDBVIEW - UNDER leave request(Leave)->STATUS>COMPLETED,
    But in r/3 i execute the Tcode SBWP...
    here is no work items are not showing in outbox..
    Please help me
    Rafi Shaik

    it wont be shown in outbox of SBWP
    you need to check via SWIA or rptarqdbview or SWI5 for the user
    these are java based tasks so will be done in UWL. you can see only the tasks but after approval they are disappeared.
    The outbox shows the last 30 days by default. This default cannot be
    changed. This 30 days selection period is always set when you enter
    the outbox. However, the user can change the selection period by
    clicking the button 'Change selection period' on top of the grid
    control but this as you know will be reset once you log out.
    This is how the mapping from the
    backend workplace folders to the UWL tabs should work:
    UWL tab                        Backend folder
    Notifications                  Deadline Messages
    Tasks-> Completed Tasks        Outbox -> Workitems executed by me
    Tracking -> My Requests        Outbox -> Started Workflows
    Tracking -> Forwarded          Outbox -> Forwarded workitems
    Edited by: Siddharth Rajora on Aug 5, 2011 10:04 AM

  • Leave Request two layer approval

    Dear Experts,
    I'm trying to implement two layer approval leave request workflow by copying and modifying standard workflow WS12300111.
    I follow the guide from this link:
    http://wiki.sdn.sap.com/wiki/display/ERPHCM/CustomizingtheESSLeaveApprovalusingBusiness+Workflow
    My workflow step is as follow:
    1. first approver has approve the request
    2. reset req object status to SENT
    3. set next approver using method if_pt_req_request->set_next_processor
    4. send the request to the second approver
    I have implement badi PT_GEN_REQ to set first approver (method IF_EX_PT_GEN_REQ~FIND_RESP_AND_DEFAULT_NEXT_PRC) so that the first approver name shown correctly when requestor create the request.
    Now there are 3 problems I'm facing:
    1. After the FIRST approver approve the request, the note he input is shown twice. I found out this is because the status change create new version of the document. I have tried to clear this note when changing the status using method if_pt_req_request->set_notice. However, the method ignore if the notice is set to blank. Is there anyway to hadle this?
    2. When SECOND approver reject the request, I want the request to be revised by the requestor, and then forwared to FIRST approver after that. For this purpose, before send the workitem to requestor back, I put step to set approver back to FIRST approver again using method if_pt_req_request->set_next_processor. But it seems this doesn't work and the request is sent to SECOND approver after revised. The supervisor name that is shown when requestor revise the request also show the SECOND approver name instead the FIRST approver.
    3. I find difficulties to create email notification if the request is changed by the requestor during approval process, since there are no event triggered. Is there anyway to trigger this event or is there any workaround?
    Thank you.
    Regards,
    Ponty

    Hi Ponty,
    I am trying to implement two layer approval for leave request, too.
    I took a copy of standard WS12300111 as you did.
    I followed the guide, you mentioned. For one level approval this works nearly out of the box.
    But I don't understand the second half of the guide.
    For me it will be the first time to implement a BAdI. I never did this before.
    Can you please explain me, how to do it and how you enhanced the workflow for two layer approval?
    Some screenshots might be useful. Eventually you can enhance the guide you mentioned.
    Regarding the numerous questions on multi level approval, these hints might be useful for a large number of users.
    I would be very happy, If somebody can help me, becaus I didn't know any workflow experts who can help me implementing the BAdI.
    Thank you.

  • Problem in leave request configuration

    Hi,
    i am configuring Leave Request in EP6.0 using workflow template WS20000081. In the Portal side i am able to send a leave request successfully, but <b>i am not able to receive any notification in the Universal Worklist</b>...
    can anyone please suggest me what to do? do i need to make use of any other worklist ?
    Any help on the same would be highly appreciated..
    thanks,
    Aditi

    Hi,
    Kindly refer
    <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/fa21a890-0201-0010-708b-d0cfc117e7cd">https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/fa21a890-0201-0010-708b-d0cfc117e7cd</a>
    to configure the worklist.
    Regards,
    Sharadha

  • 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.

  • What needs to be done to include the leave request type in the work flow

    what needs to be done to include the leave request type in the work flow?
    the present request for work flow includes the notificationto be sent to the approver
    which doesnt include  leave request type inthe description
    to include this we need to maintain a container variable but what should be the method or abap dic object which has to be used for maintaining this leave request type container

    Hi,
    You can create and take where you pass leave type and get description of it and create an field in WF containr and fill it than you can use add that field when you are sending notification,.
    Atul

  • Leave Request workflow in MSS - copying standard

    Dear All,
    can you please help me! Im new to this HCM and SAP.
    My Requirement is Manage or Team Lead creates the Leave request (on behalf of employee).
    If team lead creates the LR, then the approval mail has to reach manager's UWL. he has to approve or reject.
    If manager  created the LR, then no need to send the mail.
    What i did is, i copied the standard LR workflow - WS12300111 into a customized one.
    right now i didnt change anything.
    And dont even understand that how mail is going for approval in standard, since there is no mail step in standard.
    i have seen about two report also - RPTARQEMAIL & RPTARQPOST .
    whether i also need to use this..???????
    Please advice.
    Thanks,
    Rani.

    Hi,
    First of all, you should know the difference between workitem and mail.
    Work item - Action that needs to be taken on the request (i.e.)approve or reject
    Mail - notification saying that your leave request has been approved (or) employee A's leave request lying with you for approval.
    Work item - workflow generates it and it will go to UWL.
    Mail - External program or workflow will trigger and it will go to Outlook. (But standard workflow WS12300111 won't send mail)
    Now tell me your requirement.
    Do you need work item or mail not to be sent when manager raises leave request?
    I mean, Is no approval required for manager's leave request?
    Cheers,
    Raja.D

  • Hr Administrator processing of leave request

    Hi Experts,
    We are implementing the leave request using WF WS12300111.
    We have a requirement in which we need to customize at TS12300104 which is for the HR Administrator to process in case the status change is not effected.
    The work item should come to the HR Admin. There should be 3 action buttons in the work item : Approve, Reject, Raise to another team.
    When we click on the "Raise to another team" button,  there should be a pop-up that appears in which the HR Admin can enter his comments. When he enters his comments, the WF should trigger an email notification that sends the comments that the HR Admin had entered in the pop up. Also they would be requiring a checkbox in the form just below the pop up if which checked will send the above comments entered in the pop up to another team. If this is not checked, the email notification is sent to the team to which it was initially supposed to send to. The control of the WF should return back to the same step once this is done.
    Could you please guide us as to how this could be achieved.
    Cheers,
    Belinda Clarke

    Hello Raj,
    Thanks a lot for your answer.
    What you are essentially implying is that first we call the 'CATSXT_SIMPLE_TEXT_EDIOTR'  followed by the 'POPUP_TO_CONFIRM'. We can utilize the CH_TEXT parameter of the 'CATSXT_SIMPLE_TEXT_EDIOTR'  to get the comments and pass the same to the email notification.
    I will discuss the same with the Users and ask them their opinion.
    Just in case we need to design a module pool screen with a text box and checkbox....is that going to be complex? I am sorry. I am not a technical person and dont have much idea about the same as our ABAP person is on leave.
    How can we then use the comments of the text box and checkbox validation inside the module pool inside our workflow.
    Thanks a lot for all the help rendered.
    Cheers,
    Belinda Clarke

  • 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

  • Leave request workflow in ESS ?

    hi there
    we plan to use the ess scensario for leave request entered by employees in our portal (netweaver 2004'S 7.00, with backend ECC 6.0).
    i have a problem with the workflow behind it: i want to send an email to the person who must approve the leave request.
    in standard there is of course a email, but only with a link to the business workplace inbox. as this is very user-unfriendly i want to add a link to the email which DIRECTLY gets to the leave request for approving.
    is there a possiblility ?
    b. reg, Martin

    Hi ,
    This is only possible via Extended notification.
    Just follow the following path and u will configure it of by ur own.
    http://www.mortenhjorthnielsen.dk/BPM/RSWUWFML2/RSWUWFML2.html
    Reward me for useful answer.
    Thanks!
    Richard A

  • Reg: EP based Leave request workflow

    Hi Experts
    We are implementing ECC 6.0 and EP .
    My requirement is I have copied standard leave request no 12300111 and i have modifield according to client requirment .
    When i create the leave request wokflow from EP frent end its working fine and leave details are appearing in superviser in box ( IN EP inbox) .
    Supervisor is approving fine .
    1 . After approving leave reqeuest data is not updating in 2001 infotype.
    2. In this workflow there is no BOR ( Business Object )  but still the data is appearing in supervisor inbox after create a leave from employee .
    How can i see the request data in workflow becouse i need configure mail format aslo .
    Once leave is created i need send  main notification to  employee as well as manager with leave request details.
    Please help me how do i get leave data in workflow container .
    Thanks
    RameshG

    There is no BO for the standard SAP leave req workflow. It is handled by a class CL_PT_REQ_WF_ATTRIBS. So you can forget everything about creating a sub-business object and delegating it to the standard one.
    You can create your own custom (ABAP class) method which you can use to get the needed details of the leave request into your workflow container (which you can then use in your notifications). Check Jocelyn Dart's blogs about WF and ABAP OO. In your case everything should be quite clear if you just create one static method (you don't need to implemenet the LPOR-methods). This is of course the simpliest way to achieve your requirement - there are also some other more fancy ways.
    Regards,
    Karri

  • Rejection of a Leave request in MSS - WS12300111

    Hi ,
    We have a implemented WF WS12300111 for leave request approvals through ESS/MSS.
    When a manager rejects a leave , notification is sent to the initiator but the WF status is not CLOSED or COMPLETED .
    Can anyone know how to make the status of the WF to COMPLETE , are we missing any step in the portal?
    Cheers,
    GK.

    Hi Pavan,
    Yes , i have checked the LOOP exit condition.
    Whenever manager rejects the leave , initiator is receiving below  notification :
    *You submitted a leave request. The request has now been processed. For more information, see the list of your leave requests.*
    *To view the list, go to the Web application for leave requests.*
    *Once you have processed the request, the work item will automatically be set to "completed."*
    Above text says ONCE initiator Process the  request workitem will automatically set to Completed.
    Do you have any idea from where we have to PROCESS the above request to set the status of the WF to COMPLETE.
    Cheers,
    GK

  • Webdynpro leave request standard workflow

    Dear Expert,
    I am on EP 7 with ECC 6 backend. As for my leave request, i am able to trigger using the workflow (WS12300111) and the approver able to appprove it.
    The problem is when the approver reject the request, it will send back a notification the the requester UWL for resubmition and not matter how many times the requester resubmit the leave. The notification still in the UWL. Anyway to get rid of it.
    My second question is, is there any standard workflow for cancellation leave and change leave request?
    Thanks in advance....
    Regards,
    Bryan

    Dear Richard,
    Thanks for your reply. My situation is as below.
    1) The requester request for a leave and submit the application.
    2) The leave application reach the approver UWL.
    3) The approver REJECT the leave application.
    4) The workflow (WS12300111) went to the resubmission flow
        and trigger TS12300116.
    5) The requester receive an item "Process Leave Request by 
        Employee" in his UWL.
    6) The requester click on the item and it looks similar to the leave application screen. The requester then try to re-submit a new leave from there and send to request. However even after the requester send resubmit the leave, the item still remain in the requester UWL.
    My first question is why the item still remain in the requester UWL even after the requester execute it by re-submit a new leave application. Any way to remove it or it is the workflow error
    Second question is if the requester decide not to resubmit the leave application after being rejected. What is the procedure to remove the item from the requester UWL?
    Thanks,
    Regards,
    Bryan

  • Retreive leave request details in PT_TIMREQ

    Hi,
    I am working on the standard leave request workflow (PT_TIMREQ) and I would like to add a complmentary functionality that sends email notifications to the manager's assistant. I need to retreive the leave request details from the workflow container:
    - date of the request
    - length of the leave
    - type of leave
    I am trying to find these information in the workflow container but can't manage to do it.
    Can someone give me a hand on that issue ?
    Thanks in advance for your help.
    Thibault

    Hi,
    You can find the details of the leave request from the following tables:
    ptreq_header ->
    ptreq_items  ->
    ptreq_attabsdata
    Not all the data that you mentiond is available in the container, so you need to build some additional functionality to the workflow to get the data.
    Regards,
    Karri

Maybe you are looking for

  • Posting error in migo

    Hi Experts, I have created my own chart of accounts ( not copied from standard INT ). While trying to post MIGO, the following error is getting displayed. 1) Account determination for entry XXXX BSX not possible. when i try to lead through the diagno

  • I just created a PDF in Acrobat but when those I sent it to who open it in Reader are unable to save

    it completed and can only save it blank. How can I fix this?

  • Why i cant use other country cc to my apple account

    im in malaysia i tried to use canadian cc i was using before for like 8 months and now it got declined so i tried other canadian cc but now it wont let me it says use malaysian cc what can i do if i dont have one or dont want to get one ?

  • Bug running Report 'Top SQL by Waits'

    When I open Report 'Top SQL by Waits' in 'All Reports', 'Database Administration', 'Top SQL' I get an error message: *'No query found for version of the selected database'* After clicking OK and entering e.g. '30' for the bind variable 'minutes' I ge

  • Cannot access report attributes for editing

    I have a report/form combination. It's been working fine (both editing and running). I have made some changes to the report region definition source, successfully applied them, and they work as expected. However, I cannot (since yesterday, though it