To see the number of working days and leave of an employee for year

HI SAP GURUS,
I want to see the the number of working days and leave of all employees of the organisation for a year. Please tell me is there any report or any transaction code in sap to see the working days and leave for all employees.
Thanks & Regards
Surupa

Hi,
call transaction PT64.
Best Regards
Bernd

Similar Messages

  • ABAP - Function module to get the number of working days between 2 days

    Hi gentlemen,
    I have been asked to produce a report that gives the number of working days between 2 days, based on a calendar.
    I didn't find anything...
    Has any of you already written a function module to get this ?
    A great thanks in advance.
    Jacques Lagrif

    Hi ,
    you can try this ,
    when you require the number of working days between D1 and D2
    Total No of Days will be
    D2 - D1
    No of holidays between D1 and D2 , use the FM HOLIDAY_GET
    Pass the From date , to date , and the factory calendar to get the of Holidays
    Total no of days - Number of Holidays will your Working days
    Regards,
    Sathya

  • Get the number of working days based on factory calendr for a range of mont

    Dear all,
    We are using BI7.00 . In one of our reports we have the following requirement.
    The range of months will be given in the selection screen for example 01.2008 to 11.2008, when the query is executed, i want system to calculate the number of working days for each month of the year (for what values provided in the selection field ) and display the same. i.e., as mentioned below.
    Month                         days.
    01.2008                        22
    02.2008                        18
    03.2008                        25  etc., Kinldy provide steps for adopting the same. If it can be adopted only through customer exit also provide the code and parameters that has to be used.
    Regards,
    M.M

    hi,
    Try the following logic to find out the no.of working days in a month based on your calendar.
    parameters : mny(6).    " input format should be  yyyymm
    data : d1 like sy-datum,
           d2 like sy-datum,
           d3 like sy-datum,
           v_nds type i.
    concatenate  mny '01' into d1.
    CALL FUNCTION 'SLS_MISC_GET_LAST_DAY_OF_MONTH'
      EXPORTING
        DAY_IN            = d1
      IMPORTING
        LAST_DAY_OF_MONTH = d2
      EXCEPTIONS
        DAY_IN_NOT_VALID  = 1
        OTHERS            = 2.
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    do 30 times.
      CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
        EXPORTING
          CORRECT_OPTION      = '+'
          DATE                = d1
          FACTORY_CALENDAR_ID = ' A'    " your factory calendar ID
        IMPORTING
          DATE                = d3.
      if d1 = d3.
        d1 = d1 + 1.
        v_nds = v_nds + 1.
      else.
        d1 = d3.
      endif.
      if d3 ge d2.
        exit.
      endif.
    enddo.
    write : 'No of working days ', v_nds.
    hope it helps...
    regards,
    raju

  • What application does an iMac come with that lets you see the core of its system, and what would you look for to determine if malware was on it?

    What application does an iMac come with that lets you see the core of its system, and what would you look for to determine if malware was on it?

    This extension?
    *FireBug: https://addons.mozilla.org/firefox/addon/firebug/
    Firefox 4 also has a build in inspector: Firefox > Web Developer > Inspect

  • How to query the number of working days between two dates

    I'm looking for a solution to calculate the number of <i>working</i> days between two dates that I can use in a formated search. 
    Calculating the total number of days is pretty straight forward but does anyone know how to take into account the settings in the HLD1 (Holiday Dates) table?

    Hi Eric,
    If you are purely looking to exclude holidays defined in the HLD1 table, then you should be able to do it with the following query
    NOTE: The following query is an example using OINV table and the fields DOCDATE and DOCDUEDATE for a Particular DOCNUM  'xxx'
    If you planning to use within the SAP module then replace DOCDATE and DOCDUEDATE with dynamic field references $[$x.x.x]
    SELECT DATEDIFF(DAY,T0.DOCDATE,T0.DOCDUEDATE)-
    (SELECT COUNT(STRDATE) FROM HLD1 WHERE STRDATE >= T0.DOCDATE AND STRDATE <= T0.DOCDUEDATE)
    FROM OINV T0
    WHERE T0.DOCNUM = xxx
    Best Wishes
    Suda

  • In the settings, I see the number of tabs, bookmarks and history. Everything is working great, except, where do I see my history? I can't find anywhere in the app that displays this.. Please advise me on what I need to do. Thanks.

    I can not find my history pages in this firefox home app.

    You can't browse your history directly like you can in Firefox but you can search for items in your history in the search tab. More here: https://support.mozilla.com/en-US/kb/How+to+use+Firefox+Home

  • Showing current date and the last 250 working days

    Hi,
    we need to report the current day and the last 250 working days. How can I implement this into the BEx by using a variable for the current day selection. How can the selection of the last 250 working days work?
    Thanx
    René

    Hi Rene,
    I think that you have to go for a customer exit variable with multiple selections. The exit will calculate all these work days and place them into output for restriction.
    Best regards,
    Eugene

  • Number of working days in customer exit?

    Hi, this is actually an extension to the following thread.
    How to calculate number of working days
    I have very similar requirement. Determine the number of working days (excluding weekends and holidays) from 2 given dates. But the <b>difference here</b> is that, one of the date in the calculation is the<b> current date.</b>
    1: Creation Date - this is present as infoobject in the ODS.
    2: Current Date - this is 'today''s date.
    And, No. of Working days(Zworkdays)  = Current Date - Creation Date.
    So, as mentioned in the thread 305257 speaks about including the logic in the update rules, I can use system variable sy-datum to get the current date in update routine. But if the load is not scheduled for every day (say,once in 2 days), then when i report this infoobject Zworkdays on Day2, then it will hold Day1 calc rite?
    PLease correct me if I am wrong.
    Could you please help me with other approachs I can follow. One I can think is Customer Exit in Bex for the same.... but I am not sure how to do the same (i am new to Bex and Customer exit). Could any one of you please guide me how to achieve the same. I Have 0CalDate in the ODS also. 
    Any other ideas/inputs is greatly appreciated.
    Thanks in advance
    Ramya

    Hi,
    search for virtual key figures.
    Rgds.
    Juergen
    P.S. Thanks for assigning points
    Message was edited by:
            Jürgen Hemelt

  • How to calculate number of working days

    Hi experts,
    I need to determine the number of working days from two given dates. Below is my example.
    1. Posting Date
    2. Clearing Date
    3. Processing Time in Days
    The formula is:
    Processing Time in Days = Posting Date - Clearing Date
    However, the above result should exclude non-working days such as Public Holidays, Saturdays and Sundays.
    This is to be done in my Transfer Rule.
    Can someone help me with this.
    Points will be assigned as usual.
    Thanks!

    Hi,
    With referece to  Florin Wach Reply in the following link:
    Re: FM to get number of working days in a date range for a calender
    Use the update rule(routine) for <i>Processing Time in Days</i> as below:
      DATA: date_begin         TYPE sy-datum,
             date_end           TYPE sy-datum,
             current_date       TYPE sy-datum,
             working_indicator  TYPE SCAL-INDICATOR,
             workdays           TYPE I,
             factory_calendar   TYPE SCAL-FCALID.
       date_begin       = DATA_PACKAGE-PSTNG_DATE.
       date_end         = DATA_PACKAGE-CLEAR_DATE.
       factory_calendar = '01'.
       current_date = date_begin.
       DO.
          IF current_date > date_end.
             EXIT.
          ENDIF.
         CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
              EXPORTING  DATE                 = current_date
                         FACTORY_CALENDAR_ID  = factory_calendar
              IMPORTING
                         WORKINGDAY_INDICATOR = working_indicator
              EXCEPTIONS
                   CALENDAR_BUFFER_NOT_LOADABLE = 1
                   CORRECT_OPTION_INVALID       = 2
                   DATE_AFTER_RANGE             = 3
                   DATE_BEFORE_RANGE            = 4
                   DATE_INVALID                 = 5
                   FACTORY_CALENDAR_NOT_FOUND   = 6
                   OTHERS                       = 7.
         IF SY-SUBRC <> 0.
            workdays = 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            EXIT.
         ENDIF.
         IF working_indicator IS INITIAL.
            ADD 1 TO workdays.
         ENDIF.
         ADD 1 TO current_date.
      ENDDO.   
    Result  = workdays.
    With rgds,
    Anil Kumar Sharma .P

  • To get the Number of workign days in a period

    Hi All.....I have a requirements where in I need to get the number of working days in a period and also the dates with it. Say there are 28 days in a period ...then the working days would be 20 say...I need to get all the working dates......I know there is a FM "RKE_FACTORY_SELECT_DAYS" which does not exist in my systm.....So whats the other alternative for this......Please reply soon....
    Thank you.
    Madhukar.

    Have the code that is inside the FM.
      DATA: L_V_AKTDAT LIKE SCAL-DATE.
      DATA: L_V_INDICATOR LIKE SCAL-INDICATOR.
      CLEAR  : ETH_DATS.
      REFRESH: ETH_DATS.
      L_V_AKTDAT = I_DATAB.
    * do it for all days in space of time
      WHILE L_V_AKTDAT <= I_DATBI.
        CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
             EXPORTING
                  DATE                         = L_V_AKTDAT
                  FACTORY_CALENDAR_ID          = I_FACTID
             IMPORTING
                  WORKINGDAY_INDICATOR         = L_V_INDICATOR
             EXCEPTIONS
                  CALENDAR_BUFFER_NOT_LOADABLE = 1
                  CORRECT_OPTION_INVALID       = 2
                  DATE_AFTER_RANGE             = 3
                  DATE_BEFORE_RANGE            = 4
                  DATE_INVALID                 = 5
                  FACTORY_CALENDAR_NOT_FOUND   = 6
                  OTHERS                       = 7.
       IF SY-SUBRC NE 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4
                 RAISING DATE_CONVERSION_ERROR.
       ENDIF.
    * indicator is space if actual day is a working day
    * if indicator is not space the actual day isn't a working day
        IF L_V_INDICATOR EQ SPACE.
          CLEAR ETH_DATS.
          ETH_DATS-PERIODAT = L_V_AKTDAT.
          APPEND ETH_DATS.
        ENDIF.
        L_V_AKTDAT = L_V_AKTDAT + 1.
      ENDWHILE.

  • Calculate number of working days in a month

    Hi All,
    I am trying to build a report to calculate the performance of a sales rep for the current month. This report has to exclude the holidays (saturday, sunday and one extra day in each month) in order get the exact performance. Could anyone suggest me on how to go about writing a Case statement which would get me the number of working days in a month excluding holidays.
    Thanks

    Hi,
    There are no direct oracle function that could be used to get the desired results.
    However you could try using something like
    SELECT COUNT( *)
    FROM
    (SELECT ROWNUM RNUM
    FROM ALL_OBJECTS
    WHERE ROWNUM <= TO_DATE('&1') - TO_DATE('&2') + 1
    WHERE TO_CHAR(TO_DATE('&2') + RNUM - 1, 'DY') NOT IN('SAT', 'SUN');
    Give the two date ranges that you want to look for with the highiest one first. i.e say for example - 01-FEB-2011 to 31-DEC-2010 would give the working days in JAN. However note that you might have to check for holidays related to that country/region (which could be added as a seperate table).
    If you need to get an extra day in addition to the weekends, please give the dates accordingly
    SQL> SELECT COUNT( *)
    2 FROM
    3 (SELECT ROWNUM RNUM
    4 FROM ALL_OBJECTS
    5 WHERE ROWNUM <= TO_DATE('01-FEB-2011') - TO_DATE('01-JAN-2011') + 1
    6 )
    7 WHERE TO_CHAR(TO_DATE('01-JAN-2011') + RNUM - 1, 'DY') NOT IN('SAT', 'SUN');
    COUNT(*)
    22

  • Calculating Number of Working Days

    Hi All,
    I'm creating a crystal report where I have to calculate the Number of Working Days between a date range, this should exclude the Weekends(done) but also exclude the public holidays which have defined in Holidays Calender.
    I'm not using procedure , Operating directly with tables.
    Any help would be appreciated.
    Regards

    Hello Pari,
    Check Exclude Holidays and weekends from Last7Day function link for function to exclude weekends.
    and How to query the number of working days between two dates to get holidays defined in holiday calander.
    Thanks,
    Neetu

  • I have an external hard drive from my time capsule that stopped working on me. I am attempting to access the data with a hard drive reader on my MAC. I am able to see the drive in disk utility and under system info USB. But I am unable to access the data.

    I have an external hard drive from my time capsule that stopped working on me. I am attempting to access the data with a hard drive reader on my MAC. I am able to see the drive in disk utility and under system info USB. But I am unable to access the data and it does not show on the desktop when connected.

    Ok if disk utility was able to verify the drive I doubt there is any problem.. are you trying to open a TM backup??
    You need to mount the sparsebundle then check the actual info inside the bundle.
    Don't use disk warrior.. if the disk has verified then unless you deliberately deleted files there is nothing that is going to do.
    Pondini has a lot of stuff about getting access to the sparsebundle.
    http://pondini.org/TM/17.html
    But if you have copied info to the TC that is now gone.. and the disk is ok.. I am not sure.. the TC will not have deleted the files itself.

  • The songs on my Ipod Classic wont play at all although you can feel and hear the machinery working hard. The tracks are not playng at all but you can see the Ipod rewinding them all and returning to the album. And this happens to the second IPOD I have!

    The songs on my Ipod Classic wont play at all although you can feel and hear the machinery working hard. The tracks are not playng at all but you can see the Ipod rewinding them all and returning to the album. And this happens to the second IPOD I just got!

    First off, I would STRONGLY suggest that a external hard drive would make you life much easier by at least being able to back up your songs on the external drive for when you need them. Even if you don't want them in the iTunes library, you can have them all ready on the external to be re-added as needed. You can get 100's of gigs for under $100 shipped.
    Anyway, since you used Yamipod, are all the songs back on the computer? If so, I would go ahead and restore the iPod, let iTunes then resync everything back to the iPod, then switch it back to manual and see if the restore and resync clears up the issue.
    Patrick

  • I just bought an android phone and the previous owner of the number had an iphone and imessage wont work, how do I fix that?

    I just bought an android phone and the previous owner of the number had an iphone and imessage wont work, how do I fix that?
    I recently bought a Samsung Galaxy S4, and my wife has an iphone. We found out that imessage wont come through from her. After we went to the AT&T helpdesk they said that she could turn off imessage on her phone and that I would get texts on my S4. But then so would everyone else who has an iphone. That  won't work for everyone in my company that has an iphone. So what I am wondering is- since I recently got this phone, should I get a new number? Or should I contact ATT or contact Apple to try and get this number de-activated? I'm thinking I'll never get into the icloud account that this number is attached to, but maybe someone has some advice on that?
    I just sincerely want imessage to work on this phone and I'm willing to take the steps to do that.
    Please help

    Either one of the two should work - getting new number from carrier or contacting Apple to revoke phone number from imessage system.
    That is if your problem is described correctly.

Maybe you are looking for

  • Purchase Order data requirement

    Hello, I have a requirement where I need to modify material characteristics while creating a purchase order. In our organization we have the following scenario: there are certain materials which the sales personnel configure while creating the sales

  • Report - Grouping of Vendors

    Hi Gurus, I have a doubt on Grouping can anyone please help me regarding this. The issue is i displayed the vendors and many materials they are supplying like Vendor, No.of Material 100, 5 200, 11 1000, 25 and so on.................... Now i want to

  • Where are my iPhoto files?

    I have a basic understanding of iPhoto but am trying to learn more. Specifically I'm confused about where my actual photo files are stored. Say I have a single picture. Now when I import that picture from my camera it seems that 1 copy goes into iPho

  • How to use facetime in Ipod touch 3G

    All, seems like kidding. but i really wander if i could use facetime on my ipod touch 3G. i know ipod touch 3g no camera. is there any other way can make it true? thanks in advance.

  • How to join SAP Design Studio - Design Council

    Hello Everyone, Does anyone know how to join Design Studio - Design Council. I am working on a internal project and would love to provide feedback to product team at SAP. Thanks, Rajan