Multiple leave requests

Hi All,
I am new to ESS Portal. I am facing a problem.
If multiple leave requests of same  employee comes in portal and boss selects the last leave in uwl, earlier ones disappear, do not show up until someone applies for leave again. In case no one applies, then after 3 reminders system automatically rejects the leave (not done).
Let me know how to resolve this issueu2026.
Regards
Naresh

You need to do these steps as listed''
1.  Use the R/3 transaction SWFVISU to add the visualization parameter
     DYNPARAM and the visualization parameter value
     wi_id=${item.externalId} to the following tasks:
   TS12300097 WebDynpro Java
   TS12300116 WebDynpro Java
2.  Reregister the work item type in the UWL. To do this, refer the
     documentation
     <http://help.sap.com/saphelp_dimp50/helpdata/EN/
     59/6e0986d3bb4b05a08196a76c4a575f/content.htm>.
3.  To implement the front-end corrections, you can download an SAP_ESS
     600 Support Package 15 or SAP_ESS 603 Support Package 4 patch from
     SAP Service Marketplace.
4.  Deploy the service.
5.  Use SNOTE to implement the ABAP corrections, and activate these.

Similar Messages

  • Multiple leave requests on the same day

    We would like to enforce a check so that multiple leave requests of the same type cannot be submitted for the same day on ESS.
    How can this be achieved ? We are on EP 7.0 and ECC 6.0 and are using webdynpro java version of the ESS applications.
    Any configuration available for this or does this require a BADI implementation ?
    Thanks in advance.
    Thank You,
    Raj

    http://wiki.sdn.sap.com/wiki/display/ERPHCM/ValidationsforESSLeaverequest
    read here, it requies a badi implementation only, no config is available!
    You have to call backend exits from the badi of leave request
    Edited by: Siddharth Rajora on Aug 2, 2011 7:48 AM

  • Multiple Leave Request iviews in 1 portal instance

    Hi Guys,
    We are working on EP 7.0, I have 2 questions:
    1st question:
    current our portal is shared by 3 agencies (A, B,C), which maps with 3 clients (100, 200, 300) in R/3, and the three ESS Leave Request should looks different.e.g: for agent A, he wanna the input field changed to drop down, B wanna add radio button, C wanna add check box, which results in 3 different copies of standard DC "sap.com/esslea" which is the standard DC imported from NWDI, we may need to rename the copies into "AAA.com/esslea" , "BBB.com", "CCC.com/ess~lea", etc, as long as we have 3 different iviews for leave request, anyone knows how to do it? Keep the original DC unchanged, while create extra copies to add customized code.
    2nd, any one knows where we can change the client that the Web Dynpro Java iview points to? Can we change in the source code?
    Thanks with Rewarding points.
    Regards,
    Guo Feng

    No one answer, I closed it.

  • UWL Workitem item shows multiple Leave Request for Approval

    Dear All ,
    I ahve modified standard workflow for leave WS12300111 . I have 2 levels of approval . The step which goes to approver is standard task TS12300097 which is calling DUMMY method of CL_PT_REQ_WF_ATTRIBS class .
    Now my problem is suppose 100 people have applied for the leave after managers approval it workitem will go to HR . So in HR's UWL he/she will have 100 workitem . Now supose HR clicks on first workitem in by logging in to ESS . when HR clicks on pop-up comes on the top it has one table sort of thing , here all the 100 leave request r getting diplayed .
    <b>I want Table to dislay only the Leave request of an employee belonging to That workitem.</b> Please help in this regard .
    Thank you.
    Raghavendra.

    You will need to modify the UWL XML file. There is a document titled "How to Configure teh Universal Worklist" on service.sap.com you can use to achieve this. Read the section titled Step by Step Decision views.
    Cheers
    Lewis

  • Problem in Multiple Leave Requests in UWL

    Hi Experts,
         Please give your valuable comments on the following scenario :
         If an employee has applied for a leave for a day in ESS, say 11/06/2014 To 11/06/2014 then it is getting reflected in his approver's work list for approval. Now the employee has applied for another leave say 12/06/2014 To 12/06/2014 then this is getting reflected on his approver's work list on the top of the list. When the approver clicks on the leave applied first (ie. 11/06/2014 To 11/06/2014) the pop-up opens to either approve or reject the leave and on pressing the next button on top of this pop-up the second leave applied is getting reflected. Everything was fine uptill now.
         Now if the approver clicks on the second leave (ie. 12/06/2014 To 12/06/2014) which was on the top of the list, the leave which was applied earlier is displayed in the pop-up instead of the leave on which the approver has clicked. Now he has to click on the next button, which is on the top of the pop-up to look for the leave (ie. 12/06/2014 To 12/06/2014) on which he has clicked.
         Please advice what should be done to bring that leave onto the pop-up (for approval) on which the approver clicks, instead of the oldest leave pending for approval.
    Thanks in advance.

    implement the notes
    1600953
    1773641
    1946640

  • Mass Approval of Leave Request...need function module or any program

    Hi All,
    I have developed Custom Application in webdynpro java  for Leave,Travel,now i got the new requirements for mass approval of Leave and Travel can any baddy provide me any input ,i don't know which functional module or program i use , help gurus...
    Regards,
    Pramod gupta

    Refer below links to get an idea :
    uwl mass Approval- Select all option
    UWL Mass Approval XML changes or Custom App
    Mass leave approval?
    As an alternative to this service, you can use the Leave Request: Mass Approval report (RPTARQMASS_APPROVAL) in the back-end system. These reports enable you to approve multiple leave requests in batch.

  • Using function module PT_ARQ_REQUEST_EXECUTE to approve leave requests

    I'm building a screen to approve or reject multiple leave requests using function module PT_ARQ_REQUEST_EXECUTE as the SAP standard program RPTARQAPP does, and this seems to be working fine.  However, I also need to include a note from the approver which is a bit of long text that ends up in table PTREQ_NOTICE.  This is something that RPTARQAPP does not do.
    I cannot find any way of passing this text into PT_ARQ_REQUEST_EXECUTE.  The only way I can find of doing this is to call FM PT_ARQ_REQUEST_PREPARE first (command = PREPARE_APPROVE), update the CURR_NOTICE field it sends back in structure EX_REQUEST, then pass the changed EX_REQUEST structure into FM PT_ARQ_REQUEST_CHECK (command = CHECK_APPROVE)  and then call PT_ARQ_REQUEST_EXECUTE (command = EXECUTE_APPROVE).  This works fine for a single leave request, but when I try to use this process to approve two leave requests the CHECK FM gives me an error on the second record with a message referring to a time conflict with the first message even though the dates on each are not the same.
    I've searched and there are a few posts about these FMs, but I still can't fix this problem.  Has anyone ever dealt with this situation before and found a solution?

    I've replaced the call to FM PT_ARQ_REQUEST_CHECK with the following and it seems to work pretty well.  Though of course it will need a lot more testing.
    STATICS:
        request TYPE REF TO if_pt_req_request.
      CALL METHOD ca_pt_req_header=>agent->get_request
          EXPORTING
            im_request_id     = p_im_request_id
          IMPORTING
            ex_request        = request
          EXCEPTIONS
            request_not_found = 1.
      CALL METHOD request->set_notice
          EXPORTING
            IM_NOTICE               = p_approver_text.

  • Multiple Approval Leave Request in Fiori

    Hello,
    Do we have multiple approval Leave request in Fiori and how do we enable it.
    In EHP7 portal we have multiple approval and Fiori app should be in synch with the same. However, I could not find any option to enable the multi-level approval for leave request in Fiori.
    Regards,
    Divya

    Hi Divya,
    Are you talking about, multiple levels of approval in approve leave requests app in Fiori.
    This totally depends on the workflow template you are using. If the workflow you use in your portal handles multiple approval, your approve leave request should allow the same too. Make sure you are getting the workitems in your sap inbox.
    Let us know if this is not what you are asking for.
    Regards,
    Tejas

  • HELP: Customizing ESS Leave Request for multiple entries in one submission

    Hi experts,
    I appreciate help on this urgent problem. We're on ECC6 with EP7. My customization requirements are below:
    1) Allow multiple leave entries to be submitted at one go. Standard ESS only allows one date range entry per submission. We've customized the Webdynpro Leave request form to allow multiple entries in table form.
    Assuming there's 3 requests:
    R1 ~ 01-Oct-2007
    R2 ~ 03-Oct-2007
    R3 ~ 05-Oct-2007
    Whenever user clicks 'New Entry' button, Webdynpro will call bapi PT_ARQ_REQUEST_PREPARE to generate a new request ID.
    When user clicks on 'Review' button, I will loop at the requests internal table and check each of the entries, which is an individual request, via BAPI PT_ARQ_REQUEST_CHECK. Am I doing correctly so far?
    The checks return no error. Next comes the problem. When I click the 'Send' button, I will loop at the request IDs (in ascending order) into BAPI PT_ARQ_REQUEST_EXECUTE. I will get a dump, saying that the object cannot be found. Debugging shows that it cannot find the first request ID (R1) in the memory. I found that if I sort the request IDs in descending order, it will be able to find the last request (R3) and could process it. However, when it comes to the 2nd last request (R2), it will give me the same dump saying that object can't not found. Both R1 and R2 cannot be found whereas only R3 can be found.
    In overview, the logic we adopted is like this:
    1) PT_ARQ_REQUEST_PREPARE-CREATE (R1)
    2) PT_ARQ_REQUEST_CHECK (R1) upon clicking 'New Entry' Button
    3) PT_ARQ_REQUEST_PREPARE-CREATE (R2)
    4) PT_ARQ_REQUEST_CHECK (R2) upon clicking 'New Entry' Button
    5) PT_ARQ_REQUEST_PREPARE-CREATE (R3)
    6) PT_ARQ_REQUEST_CHECK (R1, R2, R3) upon clicking 'Review' Button
    7) Loop PT_ARQ_REQUEST_EXECUTE ( R3 - Returns OK, R2 - Returns object not found and terminates, R1 - not processed because execution terminated by R2).
    Can anyone please advise me how I should go about changing the BAPIs? Or are the CLASSes/BADIs to be changed?
    <b>Points will be rewarded for helping with this urgent requirement.</b> Thank you.
    Regards,
    Damien

    Hi Kiran,
    Thanks for replying. My guess initially was also that the requests are overwritten.
    I heard of another company's implementation who did the same concept and was able to do it. Unfortunately, I'm unable to get any information from them.
    Initially, my frontend programmer and I thought of adopting the 'dummy checks' methodology. i.e. Do dummy checks when clicking 'New entry' or 'Review' button. This is to ensure that the entries were entered correctly at front end. Only when the user clicks on the 'Send' button, my BAPIs take in a table of request entries and perform the Request_Prepare&Request_Check&Request_Execute one at a time.
    This may be expensive as there will be double the processing needed. One set for dummy checks and one set for the actual backend processing.
    Is there any way that I can create multiple requests in 'transcient' state so that it won't be overwritten and I can still find it when I call the BAPI PT_ARQ_PREPARE_EXECUTE? PT_ARQ_PREPARE_EXECUTE only takes in request IDs instead of request structures.
    Thanks again, Kiran, for replying. Have a good weekend.
    Regards,
    Damien

  • WS12300111: Leave Request Approval - Multiple Approvals

    Hello.
    I am part of a project, trying to implement ESS/MSS at a large international NPO Customer, and have encountered a problem.
    I plan to use the WS12300111 Workflow for the approval process of Leave Requests, but since the customer in some situations require more than one approval, I have to enhance the workflow. At first glance it seems simple just to repeat the approval process, but since the request will be marked as approved at the first approval step, that will not work.
    We are required to keep the implementation as close to SAP Standard as possible, so the portal guys tell me, that it is not really an option to make changes to the approval functions.
    I have considered making the first approval a simple workflow task, that doesn't update the request itself, but since a rejection should update the request and trigger the Process Leave Request by Employee task, I really don't see that working either.
    Any thoughts on the subject, or maybe even a solution, will be greatly appreciated.
    Best regards
    Poul Steen Hansen
    Denmark

    Hi dude,
    Well, I might not be able to give you the coding, but I can explain it how to do this. Check the procedure.
    Create a new BOR and create a new method - CHANGESTATUS.
    Add one and only IMPORT parameter REQUEST of type PTREQ_HEADER-REQUEST_ID.
    In the coding part, firstly lock your request using the FM - ENQUEUE_EPTREQ.
    Then create an instance using the static method ca_pt_req_header=>agent->get_request which takes the REQUEST number as input and gives us the instance as OUTPUT.
    Having the instance in hand, we can use the method initiate_state_transition to change the status of this method. Pass the SEND status as INPUT and get the new updated status as OUTPUT.
    Unlock the leave request using the FM - DEQUEUE_EPTREQ.
    Implement and release this method in your BOR.
    And please make sure that your method is INSTANCE INDEPENDENT METHOD.
    In your template create a Standard background task after your first approval step which calls this method.
    Regards
    <i><b>Raja Sekhar</b></i>

  • Select and update leave request data - oracle !!

    Dears,
    We have a very important presentation here to one of our stakeholders and he is interested to see how to submit and update leave requests using Adobe LiveCycle Workspace.
    I have a simple PDF form where the user can choose to submit new leave or update an existing one, if the user choses to update an existing leave he will enter the leave start date and press on a button to retrieve this leave information form the database ( select * from leaves where leave_date=’the entered date’ and requestor=’requestor name’) as requestor name and entered date are variables in the PDF, And then he can update the start date or leave duration and submit his request after updating this record in the database.
    Will you please help me how to do that knowing my PDF contains a digital signature and the data saved in a document variable?
    The connection with oracle created by updating the adobe-ds.xml file in “C:\Adobe\Adobe LiveCycle ES2\jboss\server\lc_turnkey\deploy” and deploying the ojdbc14.jar in “C:\Adobe\Adobe LiveCycle ES2\jboss\server\lc_turnkey\lib”.
    Database is oracle10.2.0.1.0
    Adobe LiveCycle Workbench ES2
    Version: 9.5.0.0.20100908.1.247189
    Many thanks in advanced,
    Mohammed Al-Mosleh

    I solved updating single row issue and retrieving single row from data base issue too ...
    I need an example, that shows us how to retrieve multiple records from a database, we did this, and DISPLAY, we couldn't, the results in a table within a pdf.
    the data stored in XML after using Query Multi Rows in XML Activity in Workbench...
    Can any one Help me how to Disply this XML in a table ??

  • Need multi level approval for Leave request workflow in ESS

    Hi All,
    Our requirement is for 5 levels of approvals for the leave request raised in ESS  means After employee raises leave request ,it has to be approved by 5 managers one after the other. In standard system only 1 level of workflow and approval  is available so please anybody suggest the solution . Thanks in advance.

    in addition to the above content your workflow consultatn have to create this ask him to
    refer this document
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
    for multiple level of aproving the leave reqest and  and orgstructure have to be well formed
    ravindra

  • Options for leave request work items in ECC6

    We are upgrading our backend system from R/3 4.7 to ECC6. I am not very impressed with the leave request authorisation process and wondered if there are any other options open to us.
    In 4.7, leave requests were workflowed to the requester's manager with a subject like this:
    Process leave request from <fromdate> to <todate> submitted by <person>
    When the manager selected it, they only see that request.
    In ECC6 (using task 12300111 and the Webdynpro 'Leave Request: Approval') the subject in the inbox is;
    <person>'s Leave Request
    When the manager opens the item they see all leave request from all staff, despite this, they can only process one item at a time. Once completed, they are given an option to Approve Another Absence - but the link does not work. I can remove that link using ctrl-right-click, but was wondering;
    1 Has anyone got the "Approve Another Absence" link working when the iView is launched from the UWL?
    2 Has anyone managed to put the details of the request into the subject?
    3 Has anyone managed to setup bulk authorisation of multiple requests in one step?
    4 Has anyone managed to restrict the workitem to only display a single request?

    Bharghava.K,
    I've implemented a work around for this - I've added the following UWL configuration file as a high priority:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd'>
    <UWLConfiguration version="1.0">
      <ItemTypes>
        <ItemType name="uwl.task.webflow.TS12300097" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchIView" executionMode="default">
          <ItemTypeCriteria externalType="TS12300097" connector="WebFlowConnector"/>
          <Actions>
            <Action name="launchIView" groupAction="" handler="IViewLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="iview" value="pcd:portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.iviews/com.sap.pct.erp.ess.working_time/com.sap.pct.erp.ess.leaverequestapprover"/>
              </Properties>
              <Descriptions default="launchIView"/>
            </Action>
          </Actions>
        </ItemType>
      </ItemTypes>
    </UWLConfiguration>
    Check the "Leave Request: Apporval" iView's ID if you try this - I don't know if ours is in the 'standard' place within the PCD.

  • Sharepoint 2010 Infopath Leave request form Weird Problem

    We have multiple sites on the same server. The individual sites are for different facilities in different states. All users belong to the same domain. The problem we have is that if a CA employees fills out a leave request on the site, and a manager
    from MN attempts to accept the request, the radio buttons on the form are not greyed out but they are not clickable, the cursor does not change when over the buttons. Now if the same manager, attempts to accept a leave request from an employee in MN,
    the form works fine. I have went through all of the security settings and groups in the two SharePoint sites and compared/matched settings. Any ideas anyone?
    Thanks,
    Jon Peterson

    Hi Jon, that's very strange. I would guess that the problem is in the form itself, not SP security. Do you have any rules set on the fields or form load? It's hard to troubleshoot without knowing more about how your form is set up.
    cameron rautmann

  • ESS - Leave Requests and Approvals

    Hi,
    I have a few ESS problems regarding requests and approvals.
    Firstly the leave requests are not reaching the approver's inbox.
    Secondly for those that have been approved, the approval notification doesn't reach the employee's inbox. This somehow is also affecting the employee in that the leave  although approved is not reflecting in the employee timesheet and the employee is not paid for the particular leave day requested.
    Any help would be grateful appreciated.

    Hi Nox,
    ok then it seems there is a problem of the approval <u>task</u> not reaching the approvers universal worklist.
    There could be multiple reasons for this: task is sent to someone else than you think, task is not sent to anyone, workflow goes into error, leave request workflow is not set up, universal worklist is not configured to retrieve the work items...
    What I would do next is to check if the workflow is started or not. You can do this in transaction SWI1 in the test system client you are using by just entering the transaction and hitting F8. If the workflow is started, you should see a line for the leave request approvals. If not, there's config missing in the leave request side.
    If the line can or cannot be seen, please come back with a confirmation and please also remember to award points if the answers are helpful
    Best regards,
    Mikko

Maybe you are looking for