Calculation of years of service

Hi All,
I need to add one field in the report, Tenure/Years of service.
How can i get that. Do i need to build some logic in report to calculate service years from date of hire from It0041 or is it standardly available?
Regards
Aryan

Hi Aryan,
Please use this below function module to fetch the number of years of service details..
HR_ECM_GET_SERVICE_TIME.
importing parameter : Pernr
I hope this will slove your problem.
Thanks & Regards,
Ganesh R K

Similar Messages

  • Standard Program for Retirement Calculation or Year of Service

    Hi,
    I like to know whether there is any standard report program for Retirement Calculation or Year of Service. If it is available please share it ..

    Year of service     s_ph9_46000216
    or u can run flexible employee data S_AHR_61016363, select seniority, date of entry etc
    S_L9C_94000095  choose employment status 'retiree'

  • PCR for years of service calculation in time management

    Hi all,
    i need to write a PCR for calculating the years of service from a date type in time management.
    HRS=FYAD01 gives me the full years but i need the exact fraction.
    suppose years of service is 5 years 6 months i should get 5.5 years in HRS?
    can anyone please help me?

    Hi semvladigo,
    I have problem..I am very new to writing PCRs for time management.
    Could you refer some articles or to some pages where the PCR s have been explained.
    I  am in need to write a PCR for calculating the Leave Quotas.
    Conditions:
    The employee should have spent 1825 days in the organization, from his DOJ.For the excess day that he has worked,He would be recieving a leave quota of 2.3 days per a time evaluation period.(Monthly)
    Would you please guide me in writing a PCR for this & where do this PCr to be inserted in the Schema Exactly.
    Have a nice day !
    Best Regards,
    UV SAP

  • Infotype 552 Years of Service Calculation Error

    Good day,
    Has anybody experienced an error in IT552 when calculating years of service?  We have an associate that hired in on 04-01-1985 and retired on 12-31-2006.  The years of service calculates as 21 years 9 months and 0 days.  If I calculate this by hand it is 21 years 8 months and 31 days.  Now if I change the start date to 03-31-1985 the service is 21 9 and 1 which is correct.  If I change the begin date to 04-01-1985 or 04-02-1985 the service date still remains at 21 9 and 0.  However, if I change the start date to 04-03-1985 then the service is correct again at 21 8 and 29.  Has anyone else experienced this issue before?
    Thanks,
    Jereme

    Hi semvladigo,
    I have problem..I am very new to writing PCRs for time management.
    Could you refer some articles or to some pages where the PCR s have been explained.
    I  am in need to write a PCR for calculating the Leave Quotas.
    Conditions:
    The employee should have spent 1825 days in the organization, from his DOJ.For the excess day that he has worked,He would be recieving a leave quota of 2.3 days per a time evaluation period.(Monthly)
    Would you please guide me in writing a PCR for this & where do this PCr to be inserted in the Schema Exactly.
    Have a nice day !
    Best Regards,
    UV SAP

  • No. of year of service

    hi experts,
        i am working on hr-abap. I want no. of  years of service. The difference I get is from the begda and the system date for the particular pernr.
    but I want this difference to be calculated in years? Is there ne function module for this? please help me..its urgent..

    Hi!
    Make the subtract from the first 4 charaters of the date.
    lv_ years = sy-datum(4) - wa_pa0001-begda(4).
    Regards
    Tamá

  • Time--Privilege leaves accumulation for New Joinees after 1 year of service

    Dear Experts,
    We have configured Privilege leaves for Client and its working fineu2026
    Requirement u2013 Where as a new joinee should avail the PL accumulated for first years only after completing on year of service.
    New Joinee is getting quota every month but now we have to restrict to avail the quota till completing of one year in Org and on the day he/she completes one year should be allowed to take them.
    Regards,
    Ratan Roy
    Edited by: ratan roy on Feb 26, 2009 11:40 AM

    ok,
    Posted second time
    Edited by: ratan roy on Mar 9, 2009 5:17 AM

  • Concerning: VGA monitors using an Aluminum Powerbook G4 PowerPC 2004 15"-screen 1.5Ghz  The DVI (converted to VGA) video output stopped working on this computer after 9 years of service. This raises question 1:  Is there any way of fixing this? I've tried

    Concerning: VGA monitors using an Aluminum Powerbook G4 PowerPC 2004 15"-screen 1.5Ghz
    The DVI (converted to VGA) video output stopped working on this computer after 9 years of service. This raises question 1:
    Is there any way of fixing this? I've tried the usual: triple checked all vga cables & devices through trial & error. Bought a new DVI-VGA adapter. Reset PRAM, PMU, etc. Nothing works. Something is probably damaged, because my KVM switch was not working unless I hot-reseated the vga cable into it, leading to this DVI port, and that is pretty rough stuff.
    Question 2 (related):
    This dovetails into this: Can I drive a VGA monitor with the s-video output port on this computer. It would take an s-video (male)-to-15-pin-VGA adapter. Has anyone does this? So far, I haven't even found the adapter mentioned anywhere.
    Thanks for reading this.
    el7

    Thanks for the useful feedback, Knucklesmac. I agree. I must have blown something on the logic board -- because I had a faulty old KVM switch that would not switch between computers without some nasty hot-plugging/unplugging the VGA video cables. (wince!). It's like when Dizzy Dean ruined his arm because a line drive hit him in the foot and he readjusted his mechanics around the injury. I take the blame because this has been a great computer, and does not deserve any blame.
    If it will help anyone else reading this thread, C2G (née Cables to Go) has some interesting ideas for still getting external video out of this computer:
    -USB-to-VGA
    http://www.cablestogo.com/product/30545
    -Convert s-video or composite video signals to high resolution VGA
    http://www.cablestogo.com/product/40971
    The price range is $75-$85, which doesn't make horse sense to me for such an old computer -- which has a lot of life in it anyway, because its own 15" monitor is not chopped liver.
    el7

  • ABAP-HR MODULE(HOW TO CALCULATE AGE & YEARS OF SERVICE)

    HI,
    HOW TO CALCULATE AGE & YEARS OF SERVICE means for example
    I AM USING PNPCE LDB.
    (1) whose age is greater than 52.833 years with 7.833 years of service, with annual rate of pay $170,000 or more, or
    (2) age plus employment service is 65 or more, with annual rate of pay of $ 170,000 or more.
    Note that the $ 170,000 parameter would be a variable that could change annually when this report would be generated. In the past, age and service value were determined as of the run date. The determination date would also be a variable that would change when the report would be generated.
    Thanks&Regards
    Rahul.

    Hi Rahul,
    This is the 2nd warning !!! Please... use the correct or most appropriate forum.
    The ABAP Objects Forum should be used for: ABAP Object definition and implementation including encapsulation, interfaces and inheritance in ABAP Objects.
    This thread will be moved from to .
    You're asking this question in two thread, so the duplicated thread will be deleted.
    Please have a look at [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting.
    Also read this thread Welcome and Rules of Engagement.
    Greetings,
    Marcelo Ramos

  • What is the function module to calculate "years of services" in HR?

    What is the function module to calculate "years of services" in HR?

    hi ,
    following function module will help you to find the years of service
    CALL FUNCTION 'HR_HK_TOTAL_YOS' "HR-HK: Calculate an employee's total years of service
      EXPORTING
        years1 =                    " pea_scryy     Years of service
        months1 =                   " pea_scrmm     Months of service
        days1 =                     " pea_scrdd     Days of service
        years2 =                    " pea_scryy     Credit years of service
        months2 =                   " pea_scrmm     Credit months of service
        days2 =                     " pea_scrdd     Credit days of service
      output_format = '01'        " char2         Format to display the output
      IMPORTING
        years =                     " pea_scryy     Total years of service
        months =                    " pea_scrmm     Total months of service
        days =                      " pea_scrdd     Total days of service
        .  "  HR_HK_TOTAL_YOS
    thanks u..

  • Years of service

    Dear all,
    I would like to learn how to write a PCR to calculate years of service,to give certain allowance.Do I need to create time type?
    Thank you.

    No need of time type
    check the below thread for the reference it may help you
    Get number of years of service completed

  • Warranty - What exactly is one year of service coverage with Apple?

    Hey All..
    My MacBook Pro is seriously playing up. I haven't purchased the AppleCare service additional to my computer as I wasn't sure I'd need it...Hmm. Anyways, I have 2 questions:
    1) I purchased my MBP on March 7th 2007 (11 months 27days ago..Eek!), is it then too late to purchase AppleCare with the fact my MBP is feeling a little shaky?
    2) What exactly does one year of service coverage at an Apple-authorized repair center mean? Does this cover me for any repairs that they do to my machine..or is that only covered in the 90 day of "Complimentary" support? I am confused to the difference between the 90 days and the 12 month support. Would love to know anyones opions on this as I have to move fast with a weeks vacation coming up next Friday...many many thanks..
    ~RICKY
    Message was edited by: RickyGray

    The 90 days is if you want to phone someone up and ask them how to set up your email and that sort of thing.
    The hardware warranty is one year, so if you have a hardware problem within the year, Apple will fix for free.
    If you have a software problem, then that is not something they'll fix - they give you the Install DVs so that you can get it back to the state it was in on day 1 if you want to.
    You can buy and register AppleCare as long as you do it before the warranty expires.
    If you paid with a credit card, sometimes they double your warranty for free - so check with them in case they did.
    Good luck.
    PS - For AppleCare, check out eBay and CompUSa - might be cheaper.

  • Commitment calculation partial reception of Services PO

    Due to the Public Sector Management implementation, we changed our customizing setting it like this in SPRO and CUNI transaction:
    CUNI:
    Application parameters:
    x Commercial meas. unit
    SPRO:
    Material Management - External Services Management - Source Determination and Default values - For Client:
    x Service line level commitments.
    This solved our issues for documents generated after the change of configuration, before this, commitments were incorrectly consumed entirely when posting a partial reception of services purchase orders.
    The problem we are having right now is that we are identifying different behaviors in the commitment calculation between:
    1) Purchase orders generated before changing customizing.
    2) Purchase orders generated after the change in customizing.
    In the first one, the partial reception reduced entirely the purchase order commitment (table COOI) and in the second one commitment was calculated correctly after a partial reception.
    Additionally, we tried to fix the commitment calculation by using the RKANBU01 program, but it does not work as long as we maintain the unit of measurement u2018EAu2019 as u2018Commercial measurement unitu2019 in CUNI transaction.
    Can somebody help me understand why this happens, meaning why does the system behave differently in these two cases having the same setting in customizing right now.
    Thanks in advance.
    Kind Regards!

    Hi,
    If all 5 services line item are include in single service entry sheet document, then you can't delete single service line item.
    But your service entry sheet documents are different for all service line item then you can delete any one service entry sheet with ML81N.
    Note: - Invoice documents is not generated against your service entry sheet documents.
    Regards,
    Mahesh Wagh

  • Last Year's Service Contract

    Hi,
    Am using SAP 2007B PL 08. My client has service contracts which were created in previous financial years and are still active. How to create the same in SAP?  Can I create Service Contracts in Previous financial year? If Yes, how? Will the Service Contract ID start from 1 every financial year or will it continue from the last number used?
    Rgds
    Kalli

    Hi Suda,
    I created posting period of year 07-08. I then selected the relevant month say April, set the period status as "Unlocked". Created the service contract. Does this procedure have any relevance. I can easily create a Service Contract with start date of year 2004 and end date of any year without the necessity of creating a new posting period but the Service Contract ID will be the latest one.
    My question, is it necessary to create financial period and then create Service contracts or can we directly create back dated Service Contracts with the necessary start date and end date in the current financial year.
    Kalli

  • Last Year available Service Tax Credit not appearing in J2IUN

    While doing CENVAT Utilization thru J2IUN, Last year service tax available Credit balance is not appearing, Only Current year balances are appearing.
    Example: Opening in service tax credit account:      1,50,000.00
            Current year Transactions:            3,00,000.00
                      Total               :      4,50,000.00
    While doing J2IUN Utilization, system is showing available balance as 3,00,000 instead of 4,50,000.
    I am looking forward for your earlier response.
    Thanks in advance.

    Hi,
    Please check the G/L account (FS00) whether it is "Profit & Loss Account" or "Balance sheet account". If it is P&L account, the balances of last year won't be coming. Please check with FICO consultants.
    Regards
    G S Prasad

  • Date&time Calculation with respect to Service&Response Profile

    Hi all,
    The scenario is  -  we are creating service request which is having service profile and response profile , according to these the First response time and to do by time are getting calculated. In this calculation system is considering the week ends,working hours per day and holidays ( which are defined in customizing).
    Now i want to do the same kind of calculation for some other purpose. like i have two timestamps i want to find exact time difference between those two by considering service profile and response profile.
    Example:
    Let's consider my service profile is 5X8 ( Mon - Friday and 8 hours per Day 09:00:00 to 17:00:00)
    and the response profile is 10X15 ( response should be in 10 hours and to be completed by 15 Hours )
    Suppose I'm creating the Service request by 23.03.2010  09:00:00 then system will give the response time like
    24.03.2010 11:00:00 ( on or before )
    ( it took 8 hours from 23.03.2010 and 2 hours from 24.03.2010 )
    Please give idea to get this logic how system calculates by considering service profile and response profile.
    Regards
    Chand

    Hi chand,
    Whateever logic you have told is 80 % correct. But you also need to consider the following thing.
    1. You need to define the factoy calender cosidering the holiday in the t code SCAL. and that need to be attched to your service profile
    2. Suppose your first respose time is 10 hours and 1st resolution time is 15  hours, it also needs to consider the holidays.
    Eg. if the Service call come on friday at 3.00PM , then the resopnse should go by Monday 5.00PM. Response will be by 2.00 PM on Tuesday (Provided these days are not the hoildays).
    Hope this clears your doubts.
    Regards,
    Uday Borse

Maybe you are looking for

  • Acrobat won't play with Windows 7 nicely

    I am running Acrobat 9 Pro on Windows 7 32-bit. I save a pdf then close the pdf.  I do not close the program, just the pdf.  I go to windows explorer and attempt to move the folder that contains the pdf I just closed (as well as a few other files). 

  • How do I get rid of an app that has an automatic weekly charge

    How do I get rid of an app that that I don't want that I'm being charged for automatically each week?

  • Balance of Retained Earning Account

    Hi Gurus, I am executing transaction FAGLGVTR for transferring balance to retained earning account but when i see the balance of retained earning account in FBL3N, balance is not changing. It is same as previous. Please help me in solving the issue.

  • Disable google's access to my imac camera

    Hi, I liked using Google for making quick phone calls while on my computer until recently. They're using Google Hangout now, and even though I have the camera functionality disabled within the hangout window, it's using the camera and I guess taking

  • Can you help with filename template editor, RAW copy asDNG 6 dig sequence_yd?

    lightroom 3 for pc - I need help to set up filename template editor as follows  for RAW copy as DNG 6 dig sequence_year--Month_day.dng (copies from metadata) sample as follows: 128580_2013-April-24.dng 128581_2013-April-24.dng so the next # would be