Leave approveing error

My employee applied leaves on 06.01.2012 for the dates 24.12.2011 as a CL & 25.12.2011 as Optional holiday. But the problem is after approveing his HOD it shows in portal for the date 25.12.2011 its Status-APPROVED but come to 24.12.2011 it shows ERROR in portal why? Please guide me
Both leaves are Processed under one Work flow number only!

Hi,
Did you check the log for error leave request in the backend?
Go to SE38.
Give program name as RPTARQDBVIEW and execute it.
In the selection screen give your employee number and also the date when he has applied.
Then output of the report will show the status of leave request he applied.
Select the one which is in ERROR state, then click on workflow log button.
Then check in the log for the exact error.
I need to know what is the error you are getting in the backend to provide the solution.
Cheers,
Raja.D

Similar Messages

  • Leave Approval Error via UWL

    Goodday,
    I am getting an error clicking on the task in UWL for leave request approval. The leave request is available in the manager's UWL. However, when teh manager clicks the workitem, we get the following dump:-
    ================================================================
    The initial exception that caused the request to fail, was:
       com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'SAP_R3_SelfServiceGenerics_MetaData' in the SLD. No such JCO destination is defined in the SLD.
        at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:476)
        at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:241)
        at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:226)
        at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnectionUnMapped(SystemLandscapeFactory.java:168)
        at com.sap.tc.webdynpro.services.sal.sl.core.SystemLandscapeInternal.getJCOClientConnectionUnMapped(SystemLandscapeInternal.java:36)
    =====================================================================
    However, when we tried the 'leave request: approval' iview, we are able to see teh request and approve it. The error is only approving via UWL. Any idea on this?

    Hi ,
    please find the following solution .it will definitely work .
    If you leave configuration is done.
    There was an incorrect data in your system. To do these please follow following process.
    delete this request using
    PTARQ> Delete documents (RPTARQDBDEl)
    Please read the report documentation before
    deleting the request but it should be safe as it is
    a development system.
    Please delete this with the above information or delete all
    the records for the approver.
    After this,, there will be some incorrect workitem in approver inbox.
    You need to clear that also by Tcode - SWWL.

  • Error in Leave Approval Workflow

    Hello Experts,
    I'm Using Standard Workflow WS0040077 for Leave Approval . I Activated the Event Linkage in SWEL .Did General Task in Agent Assignment . But when i run transaction PA30 . i get this error in SAP Inbox.
    Following error occurred:
    00 341
    RFC_NO_AUTHORITY
    Message text:
    Runtime error RFC_NO_AUTHORITY has occurred
    SAP System: EDV
    Client: 100
    Event container appended as attachment.
    Event linkage not changed.
    Event stored temporarily.
    Events can be redelivered via event queue
    administration (transaction SWEQADM).
    so what should i do to solve this problem.

    Hi,
      Have you checked the workflow config in SWU3? It sounds like there may be a problem with the LOCAL RFC destination used by workflow. Click the 'Start Verification Workflow' button in SWU3 as a health check.
    Also, are you testing this in the right client?
    cheers
    Paul Bakker

  • FIORI Leave Approval Scenario Definition Error

    Hi,
    I have implemented a leave approval before. That was working fine. Now I'm implementing another leave approval on a different server (embedded deployment also). I followed the same configurations for scenario definition and system alias. But I'm still having this error.
    Below are my configurations:
    Hope someone can help. Thanks in advance.

    Hi Melanie,
    Are you implementing old UI? Please use new one..
    Important Note: Please use new UI with new SAP Fiori launchpad
    Only Approve Requests app uses scenario definition customizing. Other approval apps read workitems from backend application tables.
    Regards, Masa
    SAP Customer Experience Group - CEG

  • Fiori Leave Approval App -  Scenario Defenition Error

    When I execute the Leave approval service in browser I get the below error, maintained the scenario definition settings as per the installation guide, my service pack level is Fiori SP03, so all the relevant, mandatory notes are applied.
    Could you suggest anything else that I have missed out. attached the screenshot in scenario defn.
    Check the URL parameters and the scenario definition. To check the scenario definition, go to customizing for SAP NetWeaver Gateway and choose SAP NetWeaver -> Gateway Service Enablement -> Content -> Task Gateway Service -> Scenario Definition.
    Tags edited by: Michael Appleby

    Hi Jegadesh,
    The scenario ID should be LEAVEREQUESTAPPROVAL. Please double check the installation guide.
    FYI.
    I think you use old UI.
    Important Note: Please use new SAP Fiori Launchpad
    Regards,
    Masa
    SAP Customer Experience Group - CEG

  • HR Leave Approval issues

    hi everyone,
    I have modified the standard HR Leave approval Workflow WS002000077. In that workflow user decision, Unlock step type, loop steps are available. I am getting user decision workitem in inbox. When i click approve option, i has to go to unlock step type. But it is not going for unlock step.
    The same scenario is working good without loop, i can able to unlock it.
    So, in this scenario with loop, I am getting following errors;
    1. variables of the work item cannot be generated.
    2. Error in the evaluation of expression '&EMPLOYEET<???>.NAME&' for item '10'
    3. Error when determining attribute 'NAME' of object instance '[BO.EMPLOYEET.]'
    4. Agent determination for step '0000000038' failed
    5. Source (expression '&EMPLOYEET.ADMINISTRATOR.ADMINISTRATOR&') of binding assignment is not available
    6. Source (expression '&EMPLOYEET.ADMINISTRATOR.ADMINISTRATORGROUP&') of binding assignment is not avaible
    7. Error in the evaluation of expression '&EMPLOYEET<???>.ADMINISTRATOR.ADMINISTRATORGROUP&' for ite
    8. Error in the evaluation of expression '&EMPLOYEET<???>.ADMINISTRATOR.ADMINISTRATOR&' for item '10
    here item '10' refers to loop step. I am using custom rule. It is working fine without loop condition.
    Thanks in advance!!

    hi,
      That one previous workflow and it solved. But now the same one with loop for Re-submission of Leave Request after change.
      Actually the values from Employeet is not flowing in the Unlock step for agent determination. Because of that the agent determination is not possible for me. But it works well without loop scenario. Employeet is not instantiated.
    Here i am using loop condition for re-submission of leave request.
    Thanks,
    Balaji.V
    Edited by: Balajisap on Sep 19, 2011 3:56 PM
    Edited by: Balajisap on Sep 19, 2011 6:22 PM

  • Custom Leave approval task problem

    Dear All,
       I have a problem with my custom leave approval webdynpro task.
      Actually I was using standard task , TS12300097 for leave approval. It was working fine from SAP worklist from portal. If someone tries to approve from SAP R/3 it was providing an information like, this cannot be executed from SAP R/3.
      I had a requirement to add certain custom fields information to the task description, so I copied and created a new task similar to that and added the containers and filled the description to that. Then i cofigured the new task in SWFVISU also. It working fine from enterprise portal sap worklist.
      But some tries to approve from SAP Inbox in R/3 the workflow results in error. Its not providing the same information which was coming earlier with standard task.
    The error is as follow :
    Work item 000000885207: Object CL_PT_REQ_WF_ATTRIBS method DUMMY cannot be executed
    Dereferencing of the NULL reference
    Dereferencing of the NULL reference
    Error handling for work item 000000885207
    Let me how we can solve this issue.
    regards,
    Sabari Prabhu.

    We are changing our Leave Request workflow, and I also came across this problem while testing.
    In our situation, the problem is that we changed the approval task.  We used to have it as a call to report RPTARQAPP, but then changed back to the standard method of calling CL_PT_REQ_WF_ATTRIBS DUMMY.
    For us, it is only the old work items that go into error if the user tries to execute them in R/3.  If the workflow is then re-started, the item is once again available and can be processed in the UWL.  New work items come back with the pop-up message "The request cannot be started from the Business Workplace", like in the standard workflow.
    I think we will just add some encouraging wording to the task so that people will (hopefully) not attempt to execute the work items in R/3, like this:
    Please log on to ESS to approve this Leave Request through the Universal Worklist (UWL).
    It is not possible to complete this work item from within R/3, DO NOT execute this work item here.
    Once you have processed the request in ESS, this work item will automatically be completed.
    Good luck

  • Leave Approval

    Hi,
    I am creatign a leave request for a user and it initiate the workflow WS12300111. When the approver approves the leave an error "No authorization to create infotype 2001/0100 for pers. no. 00091023 between 03.08.2006 and 03.08.2006" is seen. What do i need tho do.
    Please advice
    Regards
    Unni

    Use transaction PA30, It will lead you t a screen where you ca enter personnel number and Infotype.
    There you can check the start date and end date of current record .
    I hope this will help.

  • ESS Leave Approval: No authorization to start service

    Hello,
    User is not able to approve leave requests of sub-ordinates.
    When user clicks on Approve or Reject button, nothing happens.
    But when I checked in Default trace, I found below error:
    You do not have the authorization to start service
    sap.com/ess~lea/LeaveRequestApprover.
    [EXCEPTION]
    I checked portal content permissions for this user and found that those
    are ok.
    In ECC there is no dump (ST22) related to authorization.
    Can you please suggest the solution.
    Regards,
    Vinod

    Hello Karthik and Vivek,
    Thanks for replies. But we have created ZMSS role in ECC which is assigned to all managers.
    For all other managers the leave approval is working fine. The problem is with only 1 user.
    So I dont think there is any issue in ECC authorizations.
    Also there is no ABAP dump. Is there any other way like some trace from where we ll come to know about the missing authorization.
    With Best Regards,
    Vinod Patil

  • Personnel Number as Leave Approver in place of Name

    I have an issue for a single employee.
    When he is trying to apply for a leave, in the leave request page, in Approver, the personnel number of his supervisor is appearing. For that as he is applying for any leave, an error occurs which says 'You must specify an approver before you submit your request'.
    For any other employee, also for all others who report to the same supervisor, the name of the supervisor appears which is the normal case.
    Any particular reason for this?

    Hi,
    check  org structure and check this Tcode also PTARQ
    Regards,
    Prasad
    Edited by: SN Vijay Rajandra Prasath on Apr 3, 2010 3:52 PM

  • Leave request Error in ESS

    Hi Experts,
    Greetings !!
    One of our user is facing a weird issue while he is trying to apply for a leave through ESS.
    He is applying for a leave for absence type ABC for which he is having enough quota, an error message is coming while he is submitting the leave as below:
    "No absence quota type 1/01/20 on 17.06.2014" - This error is of absence type XYZ,
    More information about this issue:
    - Employee has enough quota for which he is trying to apply for leave
    - The error message which is showing as error (absence type  XYZ 1/01/20) is a different absence type and this absence type is delimited on 31.12.2010.
    - Though the leave type is delimited, it is coming as error message for only one employee while he is applying for leave of a different absence type.
    Can some one help me providing solution how to fix this issue. Thanks in advance.

    In leave request we consider all open requests of absences for validating current request and not necessarily current request that's the reason you get error message for an absence which is not related to the one you are applying read here the concept http://scn.sap.com/thread/2068984 http://scn.sap.com/thread/3508890 Read note 1070831 which explains how quota deduction is done both in leave request and TMW which are based on same technology. So to summarize Absences are picked up for the quota deduction , they are picked in the ascending order of the begin date of the absences \In  the standard TMW framework, when the data is simulated it first backtracks the PA2001 record and based on the ascending order the quota is deducted, therefore the first quota is deducted by the simulated requests and the Infotype 2001 record is deducted from the second Infotype 2006 record. so check for this user if he has any open request ie in sent/approved not yet posted status which ll also account for quota!! and will sorted again in ascending order and all requests will be considered for quota deduction if they are open!

  • Leave approval text changes are not displayed in UWL

    Hi friends,
    I have made some changes to text label of leave approval application using ctrl+right click(done in role->workset->page->iview) in content admin but it not reflecting in UWL(when calling leave approval application in UWL).any idea pls.

    Hi,
    aah i think the problem is at the uwl xml config file, which controls which iview is opening for a specific task id.
    please enable the support info, at this u can see which xml file is used and you can change the directory/iview which is called by opneing the "leave approval":
    1. Log on to the portal
    2. Navigate to the following path: system administration   > system
    configuration
    3. In detailed navigation click on the UWL & Workflow folder
    to expand out
    4. Then click on the Universal Worklist Administration link
    5. Scroll down to the bottom of the page:
    Optional Universal Worklist Service Configuration
      Open the Tray for the Optional UWL Service Configuration
    Click on the button to open the tray for the optional UWL service
    configuration
    6. Scroll down again
    7. Go into edit mode
    8. Display Support Information:   Set the parameter to true
    9. Save
    have also a look here:
    http://help.sap.com/saphelp_nw70/helpdata/en/44/c0001cdfcd1386e10000000a155369/frameset.htm
    i hope this can help u
    br,
    fabian

  • Leave Request ERROR

    Hi
    In ESS when the User is trying to click on Leave request - Error displayed as below :
    error displayed as : "A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost. Please contact your system administrator. User HPSAPHR4 does not exist in this period User HPSAPHR4 does not exist in this period: com.sap.pcuigp.xssfpm.java.FPMRuntimeException: User HPSAPHR4 does not exist in this period at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111) at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:121) at com.sap.pcuigp.xssutils.pernr.FcEmployeeServices.initPernr(FcEmployeeServices.java:203) at com.sap.pcuigp.xssutils.pernr.FcEmployeeServices.onInit(FcEmployeeServices.java:181) at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServices.onInit(InternalFcEmployeeServices.java:229) at com.sap.pcuigp.xssutils.pernr.FcEmployeeServicesInterface.onInit(FcEmployeeServicesInterface.java:135) at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServicesInterface.onInit(InternalFcEmployeeServicesInterface.java:183) at com.sap.pcuigp.xssutils.pernr.wdp.InternalFcEmployeeServicesInterface$External.onInit(InternalFcEmployeeServicesInterface.java:243) at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:774) at com.sap.xss.hr.lea.blockcale.VcBlockCale.onInit(VcBlockCale.java:261) at
    siri

    In addition to checking if employee is active etc,, you need to check that the user is connected to an employee. This happens in Infotype 0105 subtype 0001.  The easiest way to check this may be via SE16N. Check table PA0105 and the usernam in field USRID.
    BTW - the eror you describe will also happen if the user tries to access own data in portal.
    The most usual error is the missing of IT0105 in my experience.
    /Kirsten

  • Leave approver UWL - Multiple entry

    Hi Expert,
      We have configured the UWL to display the Leave Request. Lets say there is 2 entries pending for approver to approve. He/she would received 2 entries in UWL. This is fine. When he/she click the leave request in UWL, system would launch the Leaver approver application. 
    However, the Leave approver application would display all entires pending for he/she to approved. User need to select the row and approve one by one which is very confusing to them. Many user complaint that he/she supposed to approver leave request for one person (i.e cause he click the entry for particular leave request), how come system would display also the leave request for another person. Also, it was very often for them to forget to approve all entries.
    It this a bug or by desing? Any insight?

    hi,,
    Check this link
    http://help.sap.com/saphelp_nw70/helpdata/en/d6/eddef503944dc6bbe8d81a2cec44e8/frameset.htm
    Regards
    Sameer

  • Multiple Leave Approval problem in workflow  WS21500001 -webdynpro

    hi,
    We are using standard webdyppro leave approval workflow WS21500001, but inhere does not provide multiple approval level.  Our requirement is we need two approval levels for this. So I copy the stranded workflow and create the second approval leave.  In here Iu2019m unable to send second approval document into the mailbox, I was write rule to get the second approver, its working fine but once the 1st approval  finished mail doesnu2019t go to the second approver inbox. Can you help me to do this?
    Regard,
    nawa

    Hello,
    Do you mean mail or workitem? I think you mean workitem.
    Use tx SWI1 to look at the workflow log and you'll see what the workflow is doing and why it's skipping the second approval step.
    regards
    Rick Bakker
    hanbi technology

Maybe you are looking for