FM- Leave Details & Leave Quota

Hi,
Can anyone help me out with a FM that will give me the leave details and leave quota of an employee.

Hi,
Please check out the following function modules:
BAPI_ABSENCE_GETDETAIL
BAPI_ABSENCE_GETDETAILEDLIST
BAPI_ABSENCE_GETLIST
REMAINING_TIMEQUOTA
Regards,
Dilek

Similar Messages

  • Generation of Annual Leave Quota at a time for the whole  year

    Hi All,
    Kindly give some suggestions.
    I am working on Time evaluation. We have a quota , Annual leave which is now given on monthly basis, means lets 12 annual leave are for whole year and employee are getting 1 leave on each month.
    Now  my requirement is to give this quota at a time in the start of every year. That means all the 12 annual leave should be generated in the start of a year.
    When I select the option no pro rata calculation then I am getting all this leave in the start of the year. But when an employee is joined in the mid of the year then also 12 leave is been generated which is not correct.
    Please suggest me how to make this leave as prorated so that for new joinee , this leave is generated taking into account the period and generate the prorate value for the whole year at the time of joining.
    Thanks
    Tanuja.

    Hi Sikinder,
    I am using + time evaluation Status-2. We have to generate quota in PT60 for each period.
    Write now we are getting annual leave quota getting generated in monthly basis. We want to genarate whole quota  for the  year in the 1st month of the year.
    When I have given calender year in the accrual period , i am not getting any quota in the 1st month rather getting the whole quota in the end of the year.
    Please suggest me what to do.
    Regards,
    Tanuja.

  • Leave quota generation

    Hi Gurus,
    please help me in solving the following issue.
    12 leave quota is generated for the employees after they  had completed  working for 240 days (weekly-off and Public holiday's are excluded) and after that every 12 days of working days he will get one additional leave.
    we are using both Positive and negative Time Evolution and no CATS is used.
    how to do the configuration for the above ..please help me out.
    Akhil

    Hi,
    You have to use Postive time evaluation .. and can maintain dates for IT 19  after 240 days after joining dates and that date types u can have in the generation of Quota..
    Regards,
    Kapil Kaushal

  • Error while generating the annual leave quota.

    Hi All,
    For all the employee group's for the past 2 years we are generating the Annual leave quota.
    For one employee group, management decided not to give annual leave quota. i have done the necessary configuration so that the quota will not get generated for them.
    For the new employees quota is not getting generated.
    For the old employees i have deleted the annual leave absence quota and run PT60. For these employees system is throwing the following error.
        Error entry no. 83 Error when creating absence quota
         General information
         Rule: 000 quota type 00
        No quota type for key 7 99 01 20110930
    Please suggest the solution.
    Thanks & Regards,
    Sumathi.

    Hi ERP12345,
    This is for employee Group,
    We have 2 employee groups, 1. Permanent
                                                    2. Contract
    For all the contract employees, we have generated the annual leave quota for the past 2 years.
    Now management doesn't want any annual leave quota to be generated for this particulat employee group. so i have deleted all the configuration related to this employee group from base entitlement, accrual of quota generation, deduction rule,selection rule & couting rule.
    When i am hiring a new empoyee the quota is generating correctly, means annual leave quota is not generating, remaining leaves are generating.
    Is it a right way of doing, normally if this is the scenario, what we have do to,
    For the old employees, after deleting the 2006 IT also, system if thwoing the error as i mentioned in my first conversation.
    Please suggest.
    Thanks & Regards,
    Sumathi.

  • Deducting leave quota for multiple lates in a month

    Hi Experts,
    I am working on a Positive Time implementation and I am facing problem with one of the clientu2019s requirement. If an employee is late for more than 3 times in a single month (not necessarily consecutive) then his leave quota should be deducted (Priority: 1)CL  2) SL) by 0.50. I donu2019t have any idea about the same. Kindly help me on priority
    Thanks in Advance.

    Hi,
    There isn't much config settings that you can do to achieve this. You will have to go with modification of schema TM00 and write PCRs in the same to implement this working time policy.
    You need to write a PCR that compares the actual In time of the employee with his planned working time and store the difference in a time type.
    Check if this time type value is more than permissible late coming for each working day.
    If it is more..update a counter time type. then is the counter time type's value is more than 3 write a PCR to deduct value from CL / SL quota which ever is available.
    Hope this helps.
    Regards,
    Shreyasi.

  • Reg: wrong payment for leave quota

    Hi,
    Have a query on Employee leave quota. Employee separated with negative leave of almost 50 hrs. But got paid for this negative hrs in her first pay of rehire. what is the resolution?
    Regards,
    veena

    check the operations that were used for seaparation in V_T588D
    there u need to delimit the infotypes
    later on run the action Rehire with the same personal number

  • Leave quotas

    Hi ,
    How to creat the folowing senario:
    An employee is eligible for 6 leaves per year.
    In case of any new joining, the leaves shall be credited on pro-rata basis based on Date of Joining.
    In case, the joining is on or before 15th of calendar month , the pro-rata calculation would be for complete month and
         in case the date of joining is after 15th of calendar month, the pro-rata calculation shall start from the  succeeding
          Month.
    For ex:
    If the employee joins on 1st jan he will get all 6 leaves
    if the employee joins  in between 1 to 15 for ex: if he joins on 1st july he will get 3 leaves
    if the employee joins after 15 for ex if the joining date is 16th july he will get 2.5 leaves.
    THx
    Jinnu

    Hi,
    You may check the apply the concept by checking a Re: Quota generation depending on the Joining date
    Or you create the Time Type under table T555a and for counting no. of day in period, and checking true/false. Then you write the condition to check no. of day whether fulfill the condition or not according to each particular month
    For example, calendar day in July is 31 day, joining on 16 onward is equal or less than 16 days. Check the end of period and check the no. of days from created time type. In this case put 0 to time type true/fale. Then the condition whether on that month will be generate quota or not. Standard function "QUOTA" will take the configuration from table T559L to generate the quota based on tab "Accural period" and tab "Transfer time".
    Note that, be careful on the rounding rule. If accural as monly, the rouding rule should be rounded at the latest period and rounding the results.
    It would give you a clue.
    Cheers!..

  • Leave Quota Reduction - Prorata basis (From Backdate)

    Hi Experts
    I have an issue same as yours.
    The scenario is that an employee (existing) is entitled for all the absence quota at the beginning of a year (i,e, on a calendar year).
    However, the employees who join in the mid of the year should get absence quota on a pro-rated basis.
    For example: If an employee (existing) is entitled for 12 days of Annual Leave in a calendar year.
    If a new employee joins the company in the month of Feb. He/she should get on a pro-rated basis i.e. he/she is eligible for 11 days of Annual Leave in all.
    I tried few changes in t559l table and set the base entitlement to accrual period , in accrual entitlement it is checked on pro-rated basis.
    Thanks
    Thiru

    So , What the issue Bala

  • Advice needed for using date type in leave quota generation.

    Requirement:   Seniority for quota generation of long service leave must be based on date "02" in IT0041.
    Although all the relevant config has been done using the date type 02, the quota is still being generated based on date type 01. 
    My Question:  What is required to make this scenario work?
    Thanks
    Maureen.

    Validity/Deduction
    Validity:  Valid From = Date type 02 -1Days; Valid To =  Date Type 02 999Months
    Deduction: From = Start of Val +1Day, To =  End of Val +999 Months
    Base Entitlement:
    Rule: 002
    Sequence 001; Seniority = 0 - 5 years; Constant= 5 days; Related to = Accrual period
    Sequence 002; Seniority = 5 - 999 years; Constant=10 days; Related to = Accrual period
    Selection Rules:
    Applicability:  default values
    Accrual Period: Rel to date type = 02; Length = 60 Months
    Base Entitlement: Rule = 002; Key for seniority = For exact day
    Accrual Entitlement: No pro-rata calc
    Transfer time:  Upon accrual
    All fields not mentioned are standard defaults.
    Employee:
    IT0041
    Date Type 01 = 01/09/2005
    Date Type 02 = 06/04/1995
    IT0000
    Current position:  Begda: 01/02/2009 - 31/12/9999
    Previous position:  Begda: 01/03/2008 = 31/01/2009
    Testing by running Time Evaluation till 31/09/2012
    Result:
    5 days accrued on 05/04/2010
    IT2006:  Deduction from = 06/04/2009 To 31/12/9999;  Validity from = 05/04/2009 To 31/12/9999
    Please note I've used different dates in an attempt to clearly illustrate the problem. Hope it doesn't serve to confuse.
    Thanks for the help.

  • Leave Quota generation with diifferent rules for different countries

    Hi,
    I have the following requirement need help in achieving this.
    Employers must grant 10 days paid leave to employees that worked for six consecutive months from the time of hiring and who worked on not less than 80 per cent of all schedule work days. This paid leave may be taken consecutively or separately. Where an employee's application to take paid leave will hinder the normal business operations, the employer may require the employee to take such paid leave at a different time.
    The number of days of paid leave available to employees increases in proportion to employees' length of service as set forth in the below table.
    Years of Service  0.5  1.5  2.5  3.5   4.5   5.5   6.5+
    Paid Holidays         10    11  12   14    16    18    20
    The right to annual paid leave expires after two years. In other words, annual paid leave left over from one year may be carried over and taken the next year only. For example, if an employee is awarded 10 days paid leave after their first 6 months of employment; those paid holidays will become invalid after 2.5 years of employment. Use them or lose them.
    Simply put, holidays from one year can be carried over to the next year, but not to the third year. So, if you don't take your leave from one particular year within 12 months of that year ending, you will lose that first year's allowance.
    Employee can take leave encashment of holiday leave only when leaving their employer. It is not legal for companies to buy up the holiday leave of those still working for the firm.
    In my organization one PSG grouping has been used for all countries, it wont be possible to change the grouping now. In such a case how can we provide different rule for different country without customizing the Leave module.
    Do we have to use any PCR for this, if yes which??
    Regards,
    Jailakshmi
    Edited by: Jailakshmi on Aug 3, 2011 7:16 AM

    Hi,
    Use QUOMO Feature to give different entitilement to employees.
    Leave entitlement as per seniority can be configured in base entitlement.
    Keep validity and deduction period for 2 years by using :Relative postion" option in validity and deduction period table.
    Rgds,
    Lata
    Rgds,

  • ERROR while generating Paid leave quota ( PT60)

    Hello Guys,
    I need some help ... while running TCODE PT60, am getting the following errors for some employees ... I am unable to identify the solution ... please help
    Caution: Start of processing set from 20090401 to 20090516
       No entry in table T001P for key
       Person rejected: 00000295
    And the other error is :
    Caution: Start of processing set from 20090401 to 20090420
    No work center data on $ 01.04.2009
    Person rejected: 00000287
    Regards,
    Schneider

    Hi,
    For first error, pl. check the table V_T001P in which your PSA (which belongs to this specific employee) has incuded or not ?
    If not then pl. include and check the same.
    In case of second error, we have also faced such type of error in my previous organization.
    For this you need to delete B1 B2 cluster. I am not exactly remembering the Tcode for this.
    Pl. check Tcode PU00, while deleting data be careful you need to delete only B1 B2 Cluster Infotypes only.
    Hope this will help.
    Regards,
    Ram Aware

  • No Quota During Unpaid Leave

    Hi All,
    If employee went unpaid leave for one month, During this period no quota should generate.
    I have maintained Reduction Rule as per below screens. But During unpaid leave Quota is generating.
    Where I am missing, please help me.
    1. T559M
    2. V_T554S_M
    3. V_T559L

    Modify slightly,
    From Percentage - Proportionate reduction and then check.
    Regards
    Venkatesh

  • ESS error while entering Leave Request

    Hi Gurus ,
    When I am trying to open ESS->Working time->Leaverequest
    It is giveing following error ,please help us
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:507)
         at java.util.ArrayList.get(ArrayList.java:324)
         at com.sap.aii.proxy.framework.core.JcoBaseList.get(JcoBaseList.java:268)
         at com.sap.aii.proxy.framework.core.AbstractList.get(AbstractList.java:230)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCList.get(DynamicRFCList.java:281)
         at com.sap.tc.webdynpro.progmodel.context.Node$ModelElementList.getElement(Node.java:2549)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElementAtInternal(Node.java:621)
         at com.sap.tc.webdynpro.progmodel.context.Node.setLeadSelection(Node.java:753)
         at com.sap.xss.hr.lea.form.FcForm.setLeadSelectionForSubtype(FcForm.java:700)
         at com.sap.xss.hr.lea.form.FcForm.setVisibility(FcForm.java:942)
         at com.sap.xss.hr.lea.form.FcForm.prepareCommand(FcForm.java:308)
         at com.sap.xss.hr.lea.form.wdp.InternalFcForm.prepareCommand(InternalFcForm.java:2041)
         at com.sap.xss.hr.lea.form.FcFormInterface.prepareCommand(FcFormInterface.java:116)
         at com.sap.xss.hr.lea.form.wdp.InternalFcFormInterface.prepareCommand(InternalFcFormInterface.java:1887)
         at com.sap.xss.hr.lea.form.wdp.InternalFcFormInterface$External.prepareCommand(InternalFcFormInterface.java:1983)
         at com.sap.xss.hr.lea.form.edit.VcFormEdit.onInit(VcFormEdit.java:299)
         at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEdit.onInit(InternalVcFormEdit.java:1084)
         at com.sap.xss.hr.lea.form.edit.VcFormEditInterface.onInit(VcFormEditInterface.java:165)
         at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEditInterface.onInit(InternalVcFormEditInterface.java:204)
         at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEditInterface$External.onInit(InternalVcFormEditInterface.java:280)

    Hi your Leave scenario is not configured properly from the backend.
    PLease try applying for leave form the backend first using the following method,          
    Once this is configured properly there will be no errror on the frontend
    I hope if you are able to do the following then your r/3 is perfect and then pobably you can open an OSS message with SAP.                         
    Use transaction PT50 to check the leave quota for the employee.                         
    Also use tranx pa30 - enter infotype 2006 (absence quota's) here for that employee you will get all his quota details.
    Then open PTARQ tranx -> clcik Determine approver and check wether is approver is maintained in OM or not,then clik Determine Rule group - > enter emp number and see wether what rule group is the emp attached to , is the rule group configured in SPRO or not.                         
    to activate the Leave application from backend PTARQ is the main tranx where everything must be well configured.                         
    Now clcik on Test Application button -> enter rmp code -> click on Create Request Tab-> enter his managerr emp code in Next Agent input box ->                          
    give infotyp = 2001, subtype = CL (for example) and Date and execute.                         
    if u can successfull apply leave form backend then form front end also u can, if not form backend then you need to config your leave application.
    Cheers!!
    SJ.

  • Generate report for employees on leave for a given period

    Hi,
    I want to know how can i extract a report of a list of employees who are on leave for a given period of time?
    For instance i want to a list of employees who are on vacation / leave (any kind of leave) for the period of April 2010
    Is there a standard report to generate this info? or any other way of doing it?
    Regards,
    Humaira

    HI all,
    Thanx for the response.
    The info set Query was great help.
    the Tcode PT_QTA10 only gives me the leave Quota of the employees which was also helpful. Thanx
    Regards,
    Humaira

  • HOW TO MANAGER APPROVE LEAVE REQUEST AT A TIME MORE THEN TWO

    Hi Experts,
    This is Kalyan.I am working on ess/mss . How to manager approve four work items at a time .
    And how to add  Custom Fields in UWL .Can u please help me.
    Regards,
    Kalyan

    Hi Kalyan
      Suppose if multiple persons raise workflows like Leave, Travel, Claims, Loan every workflow is different. You cannot have single workflow and single work item. The work item comes to UWL for the approver. In the UWL you can customize the screen put a radio button in the screen such that only approve and reject button. So every wprk item can be just selected with approve and reject radio button on the UWL itself. Finaly update button will update the entier page with the approvals. But this is very very very difficult.
      Think logically Y the approver wants to do mass approval. Suppose the approver receives the leave work item without seeing the leave quota will he approve?. Similiarly for travel without seeing the expense amount will the approver approve the trip.
    UWL is for all the module like Travel, Leave, Claims, Loan etc. Every module the approval screen itslef different. So mass approval is not possible.
    If ESS is implemented only for Leave or Travel or Payroll then its possible. In that case customize the UWL with radio button and after mass approve or rejection finally need to update. But this is absolutly not advisable since every person the data are different.  So mass approval is not advisable.
    I think am logically correct?
    Regards
    vijay

Maybe you are looking for

  • How to use one query against multiple table and recieve one report?

    I have duplicate tables, (except for their names of course) with commodities prices. They have the same column headings, but the data is different of course. I have a query that gives me a certain piece of information I am looking for but now I need

  • Error while trying to use Export to create dump-file....................

    I am trying to export my portal PAGEGROUP plus other objects under it i.e. pages etc. and followed the instructions listed in: http://download-uk.oracle.com/docs/cd/B14099_11/portal.1012/b14037/cg_imex.htm#i1030999 but when I run the .cmd script gene

  • Configure multiple SSH connections through ASA

    I have two pieces of equipment on the inside of the network that people on the outside need to access via SSH. Is there a way to do this? Mike

  • Error installing MS SQL Server R2 Enterprise (x64)

    Hi Everyone, Recently I attempted to upgrade from MS SQL Server to MS SQL Server R2. However I have encountered an error, as shown in the link below: Summary_Home-PC_20140417_191232.txt If anybody can offer any help here it will be greatly appreciate

  • Acces to protected network files in java

    Hi, I need to access files on a network (private LAN) via a java program. I need to provide a username and a password in order to access these files, becouse they are not accessible by guests (Microsoft Windows 2000 network). I saw Authenticator clas