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

Similar Messages

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

  • 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

  • ESS/MSS: Approve Leave Request in UWL - not working

    Hi to all,
    we are using web dynpro ESS/ MSS (SAPESS07_12/ SAPMSS07_4) in portal NW04s for mySAP ERP2005 and are using UWL in order to approve leave requests. If employees are creating leave requests, everything works fine. After that the manager opens the leave request in UWL, the web dynpro application is openening succesfully and after some clicks he reaches the buttons to approve or reject the leave request. But by pushing one of them the following messages occures :
    <b>Workitem 000000000000 Cannot be read</b>
    After pushing the button again, another message comes up:
    <b>No Customizing for status typ ARQ, Status approved...</b>
    By the way, the same errors also come up when the employee wants to delete his leave request which is not approved.
    Any ideas, what can be the reason?
    Regards,
    Frank

    Hi Ashutosh,
    I have found the reason. The user <b>WF - Batch</b> in sap erp, which is using the RFC Destination for workflow, was locked. Well, it is a a little bit strange for a cummunication user that he becomes locked. Unlocked him, now all works.
    Thanks for your support.
    Regards,
    Frank

  • 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 navigating Leave request.

    HI All,
    My leave request application is working fine after approving leave ,The page is shouing me a link that says "Approve another leave" when I click the link its not taking me anywhere.
    Please help me on this as quickly as possible.
    NOTE: My JCOs  both metadata JCOs and simple once are having connection type as SSO.
    I think meta data JCOs shld be of user/ID password type or the other way around.
    Please help me to figure out the problem.
    Point will be awarded accordingly.

    Hey sid,
    I dont have any development environment like NWDS and all where I can make the changes and upload it.....
    Is thare any other way......
    One more interesting observation when I click on the link " Approve another leave " though it doesnt take me back to approve another link, but when I right clivk on the portal page and take the link from properties(Normal windows right click and properties) I get a URL link ,when I post this link in explorer guess what its giving me that page to approve another leave so can we solve the problem without getting into touch the codes as I dont have development environment.
    Look fwd to ur reply.
    Thanks in adv.

  • ESS Leave Request in UWL not launching

    Hello,
    We are trying to configure ESS\MSS, and currently stuck at the step of Leave Request\UWL configuration. 
    u2022     We have configured UWL with the backend system (WebFlow Connector).  We can register the system successfully.
    u2022     In IMG, we have set the u201CProcess Request Using Workflow: u201C: 12300111
    Once a user fills out a leave request, We see the following in the UWL ([SEE IMAGE|http://www11.speedyshare.com/files/21590441/download/LeaveRequest.jpg])?  We do not see any option to launch WebDynpro? And why does the item text states u201CGeneral Workflow for Documentsu201D instead of u201CLeave Requestu201D?
    Thanks,
    Rob

    Hello,
    I donu2019t see any items in the Tasks tab, the way Iu2019m testing is on the u201CTracking" Tab of the person that have made the Leave Request.  When I click on the item in UWL, it does not open up any Web Dynpro.  I've checked the Tasks in TCode SWFVISU, and WDynpro Java is defined.
    Below is a part of my UWL definition file:
    =================================================================
    <ItemType name="uwl.task.webflow.TS12300116.SBX" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">
          <ItemTypeCriteria systemId="SBX" externalType="TS12300116" connector="WebFlowConnector"/>
          <Actions>
            <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="WebDynproApplication" value="LeaveRequest"/>
                <Property name="WebDynproDeployableObject" value="com.sap/ess~lea"/>
                <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                <Property name="DynamicParameter" value="wi_id=${item.externalId}"/>
                <Property name="openInNewWindow" value="yes"/>
                <Property name="display_order_priority" value="5"/>
              </Properties>
              <Descriptions default=""/>
            </Action>
          </Actions>
        </ItemType>
    =========================================================================
    Thanks,
    Rob

  • Error while approving Leave request from UWL

    Hi Experts,
    We are getting following error while manager clicks on Universal Worklist to approve Leave Request. On system we have assigned ess id to employee no. 43 in IT 105-0001 but it gives error message about employee no. 167 which has nothing to do with this leave request.
    Please go through following ST22 error log..
    Short text of the error message:
    "No data exists in this period for infotype 0105 and employee 00000167."
    Trigger Location of Runtime Error
        Program                                 SAPLPT_ARQ_REQUEST_U
        Include                                 LPT_ARQ_REQUEST_UIAF
        Row                                     186
        Module type                             (FORM)
        Module Name                             DUMP_IF_ERRORS
    Source Code Extract
    Line  SourceCde
      156   ENDCASE.
      157
      158   IF lock_indicator = 'X'.    "ANK Note962342
      159     status_ui = c_req_sent.
      160     status_ui_text = 'gesendet'(s04).
      161   endif.                      "ANK Note962342
      162
      163 ENDFORM.                    " set_request_status_ui_text
      164
      165 &----
      166 *&      Form  dump_if_errors
      167 &----
      168 *       text
      169 ----
      170 *      -->MESSAGES   text
      171 ----
      172 FORM dump_if_errors
      173   USING
      174     messages   TYPE ptarq_uia_messages_tab.
      175
      176   FIELD-SYMBOLS:
      177     <message>  TYPE bapiret2.
      178
      179   LOOP AT messages ASSIGNING <message>.
      180     IF <message>-type EQ c_message_error.
      181
      182 *Note 1168656 begin
      183 *      MESSAGE x999(53) WITH
      184 *     <message>-message
      185 *     <message>-type.                                        "#EC *
    >>>>>       MESSAGE <message>-message type 'X'.
      187 *Note 1168656 end
      188     ELSEIF <message>-type EQ c_message_abend.
      189 *Note 1168656 begin
      190 *      MESSAGE a999(53) WITH
      191 *      <message>-message
      192 *      <message>-type.                                       "#EC *
      193       MESSAGE <message>-message type 'A'.
      194 *Note 1168656 end
    195
    196     ENDIF.
    197   ENDLOOP.
    198
    199
    200 ENDFORM.                    " check_errors
    201
    202 *&----
    203 *&      Form  prepare_customizing_attibs
    204 *&----
    205 *       text
    Would really appreciate kind guidance to resolve the same.
    Thanks.
    Aashish

    Hi Ashish,
    Short text of the error message:
    "No data exists in this period for infotype 0105 and employee 00000167
    This clearly suggests that the employee data is not up to date.
    Go to Tcode : PC00_M40_CLSTR
    here 40 is the country coding or the Molga value for India. Like wise which ever country you work for, enter the country code there instead of 40.
    Enter the pernr as 00000167 and you would find till which date the payroll for 167 has been run successfully.It has to be in green color.
    If the payroll is not run till the period in which you are getting the error ( which obvisouly is what the error means) try running the payroll by going to the Tcode : PC00_M40_CALC or you can ask your HR team to run this payroll for you and you are good to go.
    Good Luck!
    Sandeep Tudumu

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

  • Problem with chage leave request

    Hi Experts,
                      In ESS leave request application is working fine. But the customer's requirement is that while changing leave request employee should able to change only Leave start and end dates. He should not able to change leave type . So is this requirement is possible in SAP.
    Please give me suggestions ASAP.
    Thanks
    Sameer

    Hi Sameer
    Yes. It can be achieved by changing the webdynpro code.
    Project: ess/lea
    Component Controller: VcFormEdit
    View Controller: EditView
    Steps:
    1. Add a Value Attribute, of type 'boolean', to EditView's Context (eg: ReadOnlyLeaveType).
    2. Assign this attribute to the 'readOnly' property of 'Type of Leave' dropdown (id = awartDropDownField) on the EditView's Layout.
    3. Now to change the value of the above attribute, according to the requirement needed, add relevant code inside 'wdModifyView()' method from the EditView's Implementation.
    Following is a code sample added to restrict user from changing the Leave Type ONLY for the approved leaves:
    String status = wdContext.currentPrepare_Ex_RequestElement().getStatus_Text();
    if (status.equals("Approved")) {
         wdContext.currentContextElement().setReadOnlyLeaveType(true);
    } else {
         wdContext.currentContextElement().setReadOnlyLeaveType(false);
    This should answer your question.

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

  • Leave Request - Not Appearing in UWL

    Hi,
    I am facing a problem with the leave request not showing up in the manager's uwl.  Under ess user, I am able to submit the leave request and it has a status of 'sent' in RPTARQDBVIEW.  The workflow status shows as 'started'.  When I select the work item and check the workflow log, under the 'view:workflow agents' tab it shows 'work item reserved' for the mss_user. I'm not sure if this correct.  Does anyone know why it would show 'work item reserved'?  In the workflow, it stops just before the 'Process Request' step.
    I verified that all tasks are set as general tasks. 
    Does anyone have any suggestions as to what else to check? Please help. 
    Regards,
    Brian

    Hi:
    We transported our ESS/MSS changes from the DEV client to STG client.  I have verifiied the follwoing settings in STG:
    1) SWU3 - all connections are green.
    2) Workflow template and tasks - all are assigned as general task with agents assigned
    3) Configuration in SAP contains the correct WF template for leave processing
    4) UWL has been regenerated
    I am able to submit a leave request under ESS user.  I check workflow and it shows leave has been submitted and waiting for Manager to approve step. 
    However, under MSS user the leave request is not showing up in the UWL.  All configuration on backend and the items noted above have been verified. 
    Is there configuration or a connection on the portal side that I need to check? Or anywhere else?  Any input would be greatly appreciated.
    Regards,
    Brian

  • UWL - Leave Request item still in UWL after approval

    Hello,
    we are facing the problem that the leave request items have still state "new" after the approval and don't change the state.
    But in the list the leave request is not visible any more... so the approval worked.
    I found the discussion: Approved items in UWL remains in the status "new". and Leave request workitem in UWL status update issue but that didn't help.
    Does someone know what to do?
    thanks, Vanessa

    Hello Lukas,
    with the help of the wiki: http://wiki.sdn.sap.com/wiki/display/ERPHCM/UWLworkitemisnotrefreshedafteraLeaveRequesthasbeen+approved I was able to find the required note to get the status fixed. It is now completed and that's great. Unfortunately the items are still there. I am only able to see the new items in the transaction. The old ones are not visible but I need to delete them. Tomorrow I will ask some WF guru to help me fix it.
    I also think that there is still a problem with the configuration of the UWL / backend WF. It could be that ne required jobs are not planned. I was happy that the UWL worked so fast but now....
    Greetings,
      Vanessa

  • New Leave Request not being shown in UWL

    Hi ,
    I have an issue in which when manager tries to approve a  leave request from UWL ,in the Pop up i,e in Request Waiting for approval" table the latest requests are shown but the same request are not being shown in the UWL. 
    I checked in SWI5 for the user and whatever leave requests are shown in popup are there for the user but the same is not updated in UWL.The user has refreshed the UWL but still it didnt show the new leave requests
    I dont want to reregister the webflowconnector in UWL configuration as we generally use reregister to register a new task in the UWL .
    Can someone please help me in resolving the issue.
    Thanks,
    Satish Kumar

    Hi Siddharth,
    Thanks for your reply.
    DYNPARAM parameter value as suggested in the note 1140959  is already maintained against the tasks  TS12300097 ,TS12300116.
    we have done Refresh from the UWL iview but still its not showing the latest Leave Requests but it is coming in the popup window when one of the existing leave requests in UWL is selected.
    Thanks,
    Satish Kumar

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

Maybe you are looking for