Rounding of attendance hours

Hi experts,
In the system,  rounding of the attendance hours is done.  If a person works for two shifts in a day,  the rounding is done individually.  But the requirement is the rounding is to be done  after taking the total of these attendance hours.
For example    attendance hr in first shift is 8.20 (rounded to 8)
          Attendace hr in second shift is 6.15 (rounded to 6)
                        Total is 14 hours
But the requirement is                8.20  +  6.16 =  14.36 (rounded to 15)
             Because the range 0.25 to 1 will be rounded to 1.
How can I achieve this in table TIP in Time eval? Please advise.
Thanks

Hello Mohammed,
Straight answer is no, reason is there is no such concept of rounding in time type. As we are aware TIP table is used for pair formations based on the working times which is further processed for determing the processing type / time types for the time pair. Once we do this determination Balances are formed in Time TypesThis all depends how are you treating the work hours, to be more clear what are the total planned hours / overtime hours for the employee. Whther the employee is working 1 shift or 2shifts for one single day.
Hope this clarifies your doubt.
Regards,
Tara

Similar Messages

  • Rounding to Quarter hour

    Newcomer to numbers.. I can't seem to get my roundup logic working.
    To break this into steps, it's a time analysis, but I seem to be missing something
    c2=10:00
    c3=10:20
    goal is to have the equation return .5 here
    I'd like to break down the logic I'm trying to use if you will all humour me.
    Display a time difference as a decimal
    =DUR2HOURS(c3-c2)
    The output is as expected, .333333333333
    Round that time difference up and limit to 2 places
    =ROUNDUP(DUR2HOURS(c3-c2),2
    The output is as expected, .34
    This is where I run into an issue... In researching I have seen it stated to multiply that number inside the rounding portion by 96 and then divide by 96.. but I have to say, this doesn't make sense to me particularly, nor is the output what would be expected.
    Sorry for such a basic question, I, in pursuit of learning numbers, want to understand why I'm doing this, not just stumble upon it.
    Thanks for your help!

    What are you thinking to be wrong in your result.
    You are calculating :
    =ROUNDUP((DUR2HOURS(C2-B2)*96),0)
    which is 32
    then divide this value by 96
    which returns logically .3333333
    I really don't understand what you are wanting to achieve.
    My first thought was that you wished to convert .3333333 in minutes but it's so trivial that I assume that I thought wrongly.
    Just for info to convert a decimal hour in minutes, you just need to muliply the decimal value by 60.
    h00ligan76 wrote:
    To break this into steps, it's a time analysis, but I seem to be missing something
    c2=10:00
    c3=10:20
    goal is to have the equation return .5 here
    I really don't understand which kind of equation may return .5 starting from the two given values except maybe :
    =ROUNDUP(DUR2HOURS(C3-C2)*4,0)/4
    which return
    .25 if the difference is in the range 0  minute  < C3-C2 ≤ 15 minutes
    .50 if the difference is in the range 15 minutes < C3-C2 ≤ 30 minutes
    .75 if the difference is in the range 30 minutes < C3-C2 ≤ 45 minutes
    1.0 if the difference is in the range 45 minutes < C3-C2 ≤ 60 minutes
    Yvan KOENIG (VALLAURIS, France) mercredi 25 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • Hour rounding for the per diem calculation in Germany

    Dear Experts,
    In Germany the Law for the calculation of the per diem is as below:-
       00 Euros = less than 8 hours
       06 Euros = greater than or equal to 8 hours and < 14 hours
       12 Euros = greater than or equal to 14 hours and < 24 hours
       24 Euros = 24 hours
    I have set up the hour scales in V_T706V as below:-
    Hour              Amount
    7     = 00.00 EUR
    13     = 06.00 EUR
    23     = 12.00 EUR
    24     = 24.00 EUR
    Now system is rounding the partial hour to the next hour, i.e. for 7.50 hours, it is calculating 8 hours and thus per diem as 6 Eur.
    Howeverwe want that for less then 8 hour it should be 0 Eur.
    Please let me know if I am missing any setting, or any other workaround. As this is a legal requirement, we must have to implement it.
    Many thanks,
    Gaurav
    Edited by: gka2707 on Jun 10, 2010 2:28 PM
    Edited by: gka2707 on Jun 10, 2010 2:29 PM
    Edited by: gka2707 on Jun 10, 2010 2:31 PM

    Hi Gaurav,
    It depends upon how you write the coding for the calculation.
    If you want 0 - 7 hrs 59 min = 0 Euros and if it is 8 hrs - 6 Euros.
    Then, you need to say if it is less 7hrs 59 min. or equal to = 0 and if it is 8 or greater than = 6 euros.
    Hope this helps.
    Regards,
    S.Srikanth.

  • Attendance infotype

    I want to enter 6.51 attendance hours in infotype 2002. But when i do that it changes it to 6.52.  Please help me . I havent specified any rounding rules in my configuration. I have tried changing work schedules, checking attendance counting rules and changing it...Nothing helped....Please help me...How can i solve my problem.
    Can it be done through standard SAP or we need to do enhancement for that....All suggestions are most welcome.

    Hi Sagarika
    This is calculated as follows
    Entered time:                     0.01 hours   =  60/100 minutes          
    Rounded duration in minutes:      1    minute  =   1/60  hours            
    Rounded result:                   0.02 hours                              
    As I understand it this is standard behviour in HR Time Management (and any CA-TS profile that transfers data to HR)
    Best regards
    Stuart

  • Rounding in a PCR

    Hi Gurus,
    I want to capture overtime times after 8 hours,in TM00 schema and want to round the OT hours as
    if an employee work 8hrs 29mins it should show as 0 OT
    if an employee work 8hrs 35mins it should show as 30 mins OT
    if an employee work 8hrs 40mins it should show as 45mins OT
    if an employee work 8hrs 50mins it should show as 45 minsOT
    it should round to nearest 15 mins.......and want to include all the conditions in writing PCR
    i have identified PCR TO40 to round overtime hours in TM00 schema or should i write my own PCR...
    please help me out...........?????????
    Akhil

    Hi Akhil,
    You have seen the PCR TO40 if u see here it will round the time with the constant TMRND which is 0.25 in T511k.You can insert a small rule in time for the total attendance hrs and check it and use operation ROUND S
    The number field of the time pair irounded, and the start time adjuste accordingly.And then ROUNDnn where nn is the minutes u can set in your case it will be 15.
    Thanks
    Swati

  • Help : how to configure attendance in schema (PE02)

    dear SAP masters,
    can u help me find what's wrong with my schema? it can't work properly
    VARSTP2002 :
    - N
    - Y :
          HRS?4.00 :
          - <
          - = :
                - HRS=1
                - ADDZLS2816
          - > :
                - HRS=1
                - ADDZLS2816
    (condition : if there is some data in Infotype 2002, then check if attendance hours / STDAZ is more or equal to 4 hours, then add some value to wage type 2816)
    thanks & regards,
    Edison

    Hi Srinivas,
    I have a question on this.Will they get one leave added to quota after 20 days of physical attendance?so that they can use that later?
    In that case,you can write a PCR.
    you have to use a counter time type to count the number of attendance.
    Please follow these steps.
    1.Create a timetype for example say Z123 .name it as Day counter.and create anotehr time type to store leave accruals.
    2.then create some absence quota and for leave accrual and in set base entitle ments for that quota specify this time type Z234  in the day balace column.(I will paste the link which explains,how to create a abs quota which is to be generated by TE).
    3.write a rule like this
    <b>VARSTPRSNT</b>   //EMPLOEE PRESENT?
    <b>  N</b> <b>   
    <b>Y</b>    HRS=DZ123         
                   HRS?20
                 < HRS=1     
                    ADDDBZ123
    HRS=1
                   ADDDBZ234
                   HRS=0
                   ADDDBZ123Z</b>
    call this rule with ACTIO
    here is the link,which explains how to create an abs quota
    Time quota configuration

  • Creation of new Attendance types

    Hi Experts
    I want to create 2  new attendance subtypes,in this attendance types sat & sun also should show attendance hours, if employee worked on that day.how to achieve this??plse reply me asap....
    Thanks&best regds
    teki

    Hi Friends
    Copying PCR here.
    &ZC9 Adhoc on call allowance.                     
          " VARPRTYP   Att. cat. in v. key            
            " 9830                                    
              " VARSTWEDAY Relative weekday           
                    HRS=1      Set                    
                    ADDDBZSQ1  Add to day balance     
                    ADDZL 9840 Add to table ZL        
                " 6                                   
                    HRS=1      Set                    
                    ADDDBZSQ1  Add to day balance     
                    ADDZL 9810 Add to table ZL        
                " 7                                   
                    HRS=1      Set                    
                    ADDDBZSQ1  Add to day balance     
                    ADDZL 9810 Add to table ZL        
            " 9840                                    
              " VARSTWEDAY Relative weekday           
                    HRS=1      Set                    
                    ADDDBZSQT  Add to day balance     
                    ADDZL 9820 Add to table ZL        
                " 6                                   
                    HRS=1      Set                    
                    ADDDBZSQT  Add to day balance     
                    ADDZL 9830 Add to table ZL        
                " 7                                   
                    HRS=1      Set                    
                    ADDDBZSQT  Add to day balance     
                    ADDZL 9830 Add to table ZL        
    Regds
    Shailaja.B

  • Attendance infotype  (2002)

    Hi,
    When I am creating any attendance in infotype 2002 with number of working hours. System is automatically generating start time and end time in the info type based on daily work schedule times.
    Example : Att type "ATTN-Attendance Hours(AWART)" with 5 hours(STDAZ).  System is generating Start time 8:30 (BEGUZ) end times 13:30 (ENDUZ).
    How to stop the generate this automatic generation.
    Please help me.
    From,
    CCS

    if you want to give a different start time and end time you can overwrite it.

  • Enhancing Attendances infotype

    hello Experts,
    We would like to add a text field to the Attendances infotype. When trying to ehance the infotype 2002 using PM01 transaction in Single screen, we receive the below error:
    Infotype 2002 can not be enhanced
    Message no. PG383
    Diagnosis
    Infotype 2002 cannot be enhanced because it is not intended to be so by the system.
    Individual standard infotypes are not intended for enhancement with the enhancement concept.
    Is there an alternate way of enhancing Time infotypes?
    Your help is highly appreciated.
    Thanks.

    Our requirement is simply to have an additional qualifying decription for the attendance info record.
    In addition to logging attendance hours, we would like our users to specify an additional description (text50) to further describe the attendance.
    You are right, I noticed that the structure PS2002 is set to, cannot be enhanced in the ehancement category, not sure why that is!?
    Hi ,
    Its SAP std , not to enhance certain infotypes as it would create issues while running quota generation(for time infotypes) .
    May you can try this option.
    1) Create a 9XXX infotype with the fields you want to capture.
    2) Call it immediately / or update in the background whenevr 2002 gets created/changed.(thro dynamic actions)
    3) Default info from 2002 like dates, sy-uname and other details required.
    4) Make sure the end user does not skip this step ,if its done frontend.
    Hope this helps.
    Rgds
    G

  • Ipod Classic 160 will not synch with Itunes

    Message from Itunes when I connect Ipod Classic 160 is "Software required for communicating with the Ipod is not installed correctly. Please reinstall Itunes" I have reinstalled 7.6 several times and tried 7.5 but nothing works. I have tried the 5R's. Nothing. When I connect the Ipod to another older Seanix with Itunes 7.5, it works. Can anybody out there solve this problem. I have been going round and round for 10 hours. Cheers.

    Well start with these articles and see if that gets you anywhere...
    iPod is not recognized properly by computer when USB drivers are not installed properly or are out of date
    http://docs.info.apple.com/article.html?artnum=305136
    iTunes for Windows: iTunes 7 doesn't recognize iPod
    http://docs.info.apple.com/article.html?artnum=304434
    iPod missing in "My Computer" or in iTunes for Windows
    http://docs.info.apple.com/article.html?artnum=61711
    Also you might try forcing the iPod into disk mode first, then connecting it to your computer and see if that makes it show up in iTunes...
    Putting iPod into Disk Mode
    http://docs.info.apple.com/article.html?artnum=93651
    Patrick

  • What are the major challenges for the end-user in using Positive Time Management

    Hi Seniors,
    Can anybody please provide me some data on the same.
    Thanks.

    Hi,
    Positive time management is slightly difficult to implement compared to negative time management.
    In negative time management, you use planned working times + deviations in time evaluation.
    In positive time management, you record actual times through time recording system. You have to bring these times to SAP through an interface and then evaluate the actual times against the planned times and accordingly pay them out. You would need to pay attention regarding the integration between SAP R/3 and time recording system.
    Building rules for positive time management is slightly more challenging compared to negative time management.
    Kindly go through the below documents on positive time management which will give you more idea about the same.
    Integration of Time Recording Terminals with SAP R/3
    Determination of First Clock In & Last Clock Out in Positive Time Evaluation
    Late Coming, Early Going and Unauthorized absence
    Prorated Grant of Absence Quota for Contract Period in Time Evaluation
    Splitting of Overtime Hours after X Hours in Time Evaluation
    Rounding off Overtime Hours Generated via T510S table in Time Evaluation
    Public Holiday Calendar and Work Schedule Rules
    I hope these are helpful to you.
    Thanks and regards,
    Vivek Barnwal

  • CATS Time Entry - Charging time to a different cost center

    We are looking at using CATS for time entry for our salaried non-exempt employees.  Some of these employees charge their overtime to a different cost center.  For example, normally their overtime is charged to their own cost center but periodically they help another group and need to charge the overtime to the other group's cost center.  In the CATS profile where you select the fields you want to be available for input, display, etc., I see cost center as an option.  However, when I select it as a field for input, it does not appear on the timesheet.  I see there are other cost center fields (receiver cost center, sender cost center) but I thought these had more to do with work orders (not sure of that, though) and work orders are not used for this group of people.  Currently, the time is being charged to an alternate cost center when the time administrator enters the overtime via PA30 and then selects the 'Cost assignment' button to record the appropriate cost center. I would appreciate any information/guidance you can provide.  Thank you.

    Hi Kathleen,
    We are trying to do the same thing so I understand exactly what you are asking.  We made the sender cost center field an input field via the IMG - Cross-Applications Components> Time Sheet> Time Recording> Choose fields> - select data entry section and look for sender cost centre - field name CATSD-SKOSTL - ensure "input" is selected.
    Eventhough we have been able to enter an alternative cost center with an attendance (i.e., different from the employee's cost center saved on IT0001), it is not being transferrred to HR (does not appear on attendance infotype) therefore payroll does not pick-up the cost center with the attendance hours and it is not posted to FI.  Payroll continues to use the employee's home cost center.
    Have you been able to get any further with this issue?
    You can contact me directly if you like - 1-613-599-8600 - ext 243.
    Catherine Maunder
    Calian
    340 Legget Drive, Suite 101
    Ottawa, ON, K2K 1Y6

  • Query rewrite using analytical functions

    Hallo list,
    can someone help me in rewriting this sql statment in a better way ?
    select k.kos_aktnr, vpr.vorgang_id, vpr.vorgang_nr, vpr.vorgang_name, 0 as
      vormonat, max((select sum (menge)
    from
    swp.kosten k1 where ressource_id = :1 and jahr = :2 and monat = :3 and tag =
      1 and k.kos_aktnr = k1.kos_aktnr)),
    max((select sum (menge) from swp.kosten
      k1 where ressource_id = :4 and jahr = :5 and monat = :6 and tag = 2 and
      k.kos_aktnr = k1.kos_aktnr)),
    from  swp.kosten k, sw.vorgang v, sw.vorgang vpr
    WHERE v.vorgang_id = k.kos_aktnr AND v.projekt_id = vpr.vorgang_id AND
                v.ausblenden = 0 AND vpr.ausblenden = 0 AND v.vorgtypart_id <> 1 AND
                k.ressource_id = :94 AND k.jahr = :95 AND k.monat = :96 GROUP BY
                k.kos_aktnr, vpr.vorgang_id, vpr.vorgang_nr, vpr.vorgang_namei have this part with the ' max ' ecexute for each date this means ivae 30 statment with max function.
    Basically this query retrieves the attendance hours for an employee.

    [duplicate thread|http://forums.oracle.com/forums/thread.jspa?threadID=961297&tstart=0]

  • PT64 Transaction (Standard Program: RPTABS20)

    Hi all,
    Standard report RPTABS20 (Transaction PT64) gives absence / attendance hours for the employee for the specified period on the selection screen.These hours are total number of hours for the period.
    Now, I have a requirement to create a custom report so that the all functionalities of the standard report RPTABS20 (Transaction PT64) are reatained but with day wise hours split rather than Total Hours which is being displayed by standard program RPTABS20 (Transaction PT64) .
    Has anybody worked on simillar requirement?
    Actually standard program uses IT 2001, 2002 , 0007 and 2003 data.It uses one function module which returns the total hours for the period.This function module is called in GET pernr event.
    Now, suppose for absences IT2001 data is stored period wise
    and not day wise; so i will have only total number of hours from IT2001 and day wise split is not present.So how would i get day wise split of hours for that period? May be CATSDB table but it requires so many validations and approvals to post data to IT2001.
    Please let me know if you have any idea.

    Hai..
    Use Cluster Instead. B2 which contains the results for day wise also

  • TT concept check . . . requesting a example

    I am still learning TT and specifically IMDB to increase the performance of the Oracle Database.
    The three concepts that I have recently read about are:
    *) DYNAMIC ASYNCHRONOUS WRITETHROUGH
    *) Sliding Window Caching
    *) Data-Aging Policy
    I think that the above three concepts can be used to create a table in TT to support our need to cache the last 36 hours of transactions for our databases. Everything beyond the 36 hours can go to the Oracle database.
    Does anyone have any code example to help me confirm or correct my understanding?
    Also, how can we warm the cache or do the initial load of this type of sliding window?
    I am downloading the Developer Day's VM now and what to be able to practice the concepts.

    Yes, caching just the last 36 hours data (or indeed the last 'n' anything) is usually quite straightforward. Sliding Window is a generic term that just means you keep the 'last n something' data in the cache and that this window of data is updated in (near) real time.
    For READONLY cache groups, sliding windows is usually accomplished using a WHERE clause in the cache group definition that references some timestamp field in each row that has the date/time that the row was inserted. The WHERE clause specifies to only cache rows where this timestamp is within the required time interval before now (SYSDATE).
    For AWT cache groups one uses the aging featiure to manage the sliding windows. You would use aging based on a lifetime again based on a timestamp column in the data. The application must ensure that this timestamp is set properly (SYSDATE) on every row inserted and if rows are updated then the application needs to decide if that should also update the timestamp (depending on what this means to the application).
    Note that the aging based on lifetime feature evaluates rows for aging out based on the defined unit of lifetime. So if you define the lifetime as 36 hours rows only become a candidate to be aged out when they are older, rounded up to hours, than the lifetime. So you may have data present that is up to 36 hours 59 minutes and 59 seconds old. Also, note that aging is by design a low priority background activity designed not to impact the application workload so under heavy load it may take aging a little while to remove 'expired' data. So, you need to understand that the cache will typically contain a little more data than that defined by the 'window'.
    Chris

Maybe you are looking for

  • Can I switch a German version of CS4 to English?

    I have legally installed a German version of CS4 Standard at my university (there was no option to install any other language) but would prefer to use it in my native tongue, English. Is there a way to download an English version and use the same ser

  • Down arrow in scrolling  bar has disappeared

    On most screens the down arrow in the scrolling bar has disappeared or occupies the same space as the page expansion square in the lower right hand corner. Tried having the up arrow both at the top and at the bottom of the scrolling bar. Diappearance

  • Clone suncluster 3.0...is it possible?

    Hi, I have two cluster environments: prod and preprod. both are dual node clusters with identical server and storage h/w (e420s and A5200s). volume manager in use is vxvm. my question is how can i clone prod cluster on to preprod boxes and have two e

  • Guys i am not able to access my photos from my iphone when i synchronize it with my mac! what should i do?!

    i cannot see my photos that are on the iphone (4s) on itunes (when i synch) -i use a mac- why is that and what should i do? thnx

  • JaveScript error

    I use a Mac OS 10.7.5, CS4, I got a notice (JavaScript code was missing) how can this be corrected? This happens when I go to Automate/Photomerge.