Time event upload program-HR time management

hi friends ,
i m doing 2011 infotype upload program .my logic is i m sorting all the event as ascending and the minimum time for a pernr is the login and maximam time is logoff since they want first clock in as login and last out as a logout. .its working fine for day and afternoon shift but for third shift log in will be on 23.00 and logoff will be next day 7.00. so here my program is taking 7 as log in and 2300 as logout .its totally wrong .can anybody suggest any other method ,any hint for doing this in any other way so that night shift 2300 should be log on and moring 0700 will be logoff for previous day.
thx.
sunil

Hi
   try using this FM
HRF_READ_WORKING_TIME
Hope this helps!
Viquar Iqbal

Similar Messages

  • Time management data upload

    Hi,
    I have to design a data uploading strategy for the HR infotype 2011(time management). Am new to HR.
    1. let me know in which tabe can i see the fields for this infotype.
    2. Which upload technique is best for Time management data .
    3. We are taking the upload excel from a time machine where time-in and time-out is supposed to be maintained. But suppose if a person coomes and checks-in but forgets to check-out, then his entries for chek-out wont be  uploaded into the excel but rest other will be .
      can at this time I can code in to make the check-out to be +8 (eg he comes @ 2 and no check-out time then can we give check-out time to be 10 ), just for the moment . The logic will be told laater .
      Also is it configurable by the functional team ? to induce this logic .
    Thanks in advance.

    Hi abap,
    1. let me know in which tabe can i see the fields for this infotype.
      Table is PA2011.
    2. Which upload technique is best for Time management data .
    Make a z program,
    and use HR_INFOTYPE_OPERATION
    to upload data into this infotype.
    regards,
    amit m.

  • Srtandard Program for HR-Time management

    Dear Gurus,
    i need material HR-Time management or HR ABAP Material for coding purpose.
    kindly give me solution.
    Thanks,
    Rajkuma.A
    Edited by: rajkumar on Nov 11, 2008 8:22 AM

    Raj,
    if you want to know about Time check this document
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PT/PT.pdf
    or comeup with specific requirement
    Thanks
    Bala Duvvuri

  • Negative time management to positive time management

    Hi Experts
    our client is following negative time management now. They would
    like to implement positive time management from now onwards.
    please suggest how i'll do this for my client.
    Thanks

    Hi,
    Firstly, your client has to decide how the entry exit timings of the employees are going to be captured, and then load them into SAP. The timevents will be updated in IT2011.
    One way is to have a third party capture all the events from recording terminals located on the site, have a RFC to get these events to SAP. The time events can then be uploaded into the infotype table TEVEN (IT2011). These programs shud also be scheduled in the backgrnd to run either daily or after sum intervals of time.
    In config,
    You will have to change the groupings of PS & EE for time recording,
    Change the time management status for these employees,
    change the feature TMSTA to default the same status for new employees to be hired.
    Maintain IT0050 for all employees. (necessary for +ve time)
    Change the grouping for Attendance / Absence types
    Have to check whether system reactions for time pair formations in system are as per clients requirements
    Modify the time mangement schema (with clock times) according to the requirement.
    Schedule a background job so that time evaluation is run for all employees once a day. (usually scheduled during the night)
    These are some of the changes that I can think about right now hope this is helpful.
    Regards,
    Shreyasi.

  • HR toolbox payroll/Time management step by step

    Hi Experts,
                  Can you please tell me the PU12 Payroll/Time management step by step process?.
    Thanks.

    The SAPADPFR process model is designed to launch a payroll and export payroll data to SAP using the Interface with external payroll systems (pu12) transaction. The system creates a process corresponding to the process model for each of the payroll services in the Services menu. In the scenario, ADP-GSI indicates whether the service must use the process model or not. You can copy the SAPADPFR standard process model and adapt it to your companyu2019s requirements.
    To launch the SAPADPFR process model, the name of the process model must be entered in the PM_PAIE constant (SAPADDFR by default). Program RPPM0FI creates a link between the different programs run in the process model and the process itself.
    The sequence of programs defined in this process model is as follows:
    ○        OT_SELECT_PERNR_OTFR initializes the process model. The user selects the personnel numbers for the payroll areas pre-selected in a dialog box. The status of the payroll areas considered on Released for payroll is updated in the HRPAYFR_ADP_PERNUM BAdl implemented by ADP-GSI.
    ○        RPCALCF0 launches the payroll for each employee selected.
    ○        RPIF00FI creates an export file based on the options defined in pu12 for the FADP interface format.
    ○        RPPMFLFI calls program RPFL00FI with the file formatting data based on the options defined in pu12.
    ○        RPTMSEFI converts the file to ZADIG format.
    ○        RPSENDFI sends the data file to ADP.
    The value of the TEM_DVR code affects the following steps:
    ○        RPDOWNFI extracts the reference values.
    ○        RPSENDFI sends the reference values.
    ○        RPPMCDFI deletes the reference values file and indicates the end of the process.
    A breakpoint is planned after each program that does not use the PNP logical database:
           1.      to manage return codes as they appear in a ADP scenario: a return code less than or equal to 50 stops the process
           2.      to call the  HRFR_PROCESS_STOP_OT_SAPOTFR function module
    A conditional breakpoint is planned for management codes. Depending on these codes, it is possible to skip these steps. These breakpoints call the HRFR_PROCESS_NAVIG_OT_SAPOTFR function module.
    In the SAPADPFR process model, in the event of an error the process stops on the step following the conditional breakpoint. The function module called allows you to ascertain whether the previous step (STOP_OTFR) was carried out correctly.
    A procedure for purging processes is integrated into the FINPER service after the process is closed.
    It is possible to view the result of the process and the updated status of the ADP exchange in the exchange table (T5F6K). Program RPDV90FI creates a link between the completed process and the ADP transmission table. You can view this information in the process log for this program.

  • Time management - Positive

    Hi Expers,
    I have query regarding time management. The scenario is I am doing SAP-HR implementation of manufacturing company who are using time machine to capture clock-in and clock-out time. Now they want us to upload this time data (In-time and out-time) of employee into SAP through BDC and process it accordingly as present, late, overtime and absent.
    My query is :
    In which time infotype do i update in-out data of employee (Is it 2001, 2002 or 2011 and then move to 2001 and 2002)
    How and where do i do logic building for raw in-out data being present, absent , overtime or late.
    What should be the Time Management Status (0, 7 or 9),
    How do i link attendance of employee with work schedule of employee
    Thanks a lot for your support.
    Regards,
    Jyoti

    Hi,
    1. It won't update the 2002 infotype, until you write coding to store the timings. If you have clock in, outs..you can upload into 2011IT. In this record pair formation is there as per standard. It you update in 2002 there is no pair formation, you have to create 2 attendance types and need to update the clock in,out. But, in 2011 no need to create/configure anything else. Here we can store the actual date of the employee timings. so better suggestion, write BDC program with abaper then upload the clock in, out. Before updating clock -in, out , maintain the 0050IT.
    Time data get process in payroll by the PARTT function, if you have overtime then it will with ZLIT function time date will process in payroll. you can get the no.of working days, calendar days(present days) in in ur payslip. for this you can use TKSOLL, TSSOLL.
    2. After clock out employee, system will check the excess hours of the employee, if employee worked more than work schedule hours, then system will consider as overtime i.e, excess hours after clock out.
    Group A:  after excess hours we can pay overtime remuneration to employee by end of the month. ZL table will pass the no.of hours into payroll system by time wage type. For this, you have create one time wage type and update the Processing class 17 - A specification.
    Group B: Transfer the excess hours(overtime ) into one time type, assign this time type to absence quota in base entitlement. then you can create the leave type and assign this leave to to absence quota. then employee can take the paid leaves. or you can encash the leaves.
    Group C: for 8:30 hour overtime you have to write a rule for this condition. You can convert the excess hours into leaves(as per group B), for less than 8:30 hours then need to go with PCR. and you can pay as ex-gratio by maining 14, 15IT
    Group D: follow the Group B procedure.
    3. for late coming purpose you have to write one rule by quering PBEG, PEND.
    I hope you will understand the above.
    Regards.
    Devi.

  • Time Manager's Workplace required fields (BAdI)

    Hello,
    we have a problem with required fields in Time Manager's Workplace. In our process, when time aministrators creates absence ILLNESS, field Certified start is required field. In customizing and in note 415119 is written, that required fields can be customized with BAdI. Our specialist has tried to customize it as written in note but he didn't found how to customize screen enhancement. He also found, screen enhancement is not possible. Does anybody know, hot to fix that problem?
    BAdI, we are using is PT_BLP_USER.
    Thank you very much,
    David

    Hi David,
    To update any customization you made to the PTMW screens, you have to run the following Program on the Production System:
    Transaction SE38 > RPT_TMW_CUST_UPDATE_TCVIEW
    Select the u2018Update TCVIEW tableu2019 block.
    Run the program for the following Screen Areas:
    u2022 EN1: Column settings for Time Events tab in Multi-Day view
    u2022 TN1: Column settings for Time Data tab in Multi-Day view
    u2022 T11: Column settings for Time Data in One-Day view
    u2022 T1M: Column settings for Time Data in Multi-Person view
    Please let my know if this solves your problem.
    Regards
    Renier Loots

  • ABAP-HR, Time Management

    Hi,
    In HR-ABAP,  i want to know complete funciton modules, macros and few sample programs that are related to TIME MANAGEMENT in HR-ABAP.
    How to generate a report for different type of leaves, Starting time and ending time of employee daily, his shedules, etc.,
    Hoping for best results with in less time.
    Thanks&Regards.
    Shiva.

    Use this BAPI in your Report
    BAPI_EMPATTABS_GETDETAIL

  • Create a Time Management Custom Function in PE04

    Hi Experts
                  Pls give the steps to create a custom function in Time Management using PE04,
    whta is purpose of using infotype in PE04 , what are the input parametr and output paramaete . What are the intrnal table available in custom function . How we can test the custom function .
    Thansk and regards
    Renjith MP

    No idea on how to set.
    But in our case, we have a requirement for calculation of GOSI for our Bahrani Employees. Hence did the same using by creating a FUNCTION ZGOSI.
    We have not given any input or output parameters.
    Used a Z program for payroll driver RPCALCX0 -- ZSH_GOSI_CALC and the calculations are taken from this program and output is displayed in the RT table- Wage types.
    For more information, check with functions of infotype like P0014, P0015, you will get some idea on the same.
    Before giving the above, need to mention the parameter list for control.
    Mostly the input parameters are given as Objects like in our Payroll Process, there is WPBP table and output parameters the results to be displayed using object RT.
    Analyze more on the same and you will come to know.
    Good luck.
    Regards
    Team Member.

  • Change Time Management status

    Hi All,
    We have presently uploaded all the employes in the system with Time management status - zero.  We would like to change the status from zero to 7 now.
    Please suggest me the best possible way to achieve this. Total employees in the system are close to 70k.
    Thanks,
    Binu

    Hey Binu,
    As Rashid said correctly, TMSTA feature is used to default Time Management Status i.e when you create or change then it will default the TMSTA value. Its of no use to you.
    I would recommend BDC method because for LSMW you will have to create a file and upload it.
    Write the BDC using below logic.
    1. Select the Active employees using PA0001-PERSK = 1.
    2. Change (MOD) the TMSTA of IT 0007 to your requirement
    Selection screen can have employee numbers.
    Ask you ABAPer to record the screen using SHDB for changing the IT 0007 i.e
    1. PA30 - select your EE - IT 0007 - Change
    2. On IT 0007 you change TMSTA and SAVE
    IT should be done in no time.
    cheers
    Ajay

  • Infotype 0007:Time management status

    Hi Experts,
    In Infotype 0007 , in the time management status field i have maintained the value as " Time Evaluation of planned times".
    What does this mean ? ....
    Does it mean that absences and attendences are not necessary to create. Kindly help me how the evaluation takes places
    in this scenario.
    Thanks in Advance,
    Balaji

    Hi,
    This is SAP explanation:
    Indicator 0 or BLANK:
    The employee's actual times are not recorded, and his/her time data is not accounted using the time evalulation program.
    Indicator 1:
    The employee's actual times are recorded and he/she participates in time evaluation.
    Example:
    The employee's actual times are recorded at a time recording terminal.
    The employee's actual times are recorded in the Attendances infotype (2002).
    Indicator 2:
    Employees' actual times are recorded and they take part in plant data collection. Their time data is accounted using the time evaluation program.
    Example:
    Employees' actual times are recorded using PDC systems.
    Employees' actual times are recorded in the Attendances infotype (2002).
    Indicator 8:
    This indicator is intended for external employees. The employee's actual times are not recorded, attendances are recorded in the Attendances infotype (2002), and time data is accounted in time evaluation.
    Indicator 9:
    You can use indicator 9 for employees for whom only exceptions to the work schedule are recorded. In this case, the employees' actual times are not recorded, but they do participate in time evaluation.
    Cheers

  • Time Management Status

    Hi Experts,
    Im relatively new to this fourm, and also to Time Management Module.
    We are implementing Negative Time Management for our client.
    Have a clarification with Time Management Status.
    I have suggested '0' to be defaulted as it is going to be Negative time management.
    Just for my understanding would like to know the difference between the time management status 0, 7 & 9.
    Also we have LWOP and Holiday Wages in place.
    your expert answers awaited...
    Cheers,
    Sri...

    Indicator 0 or BLANK:
    The employee's actual times are not recorded, and his/her time data is not accounted using the time evalulation program.
    Indicator 1:
    The employee's actual times are recorded and he/she participates in time evaluation.
    Example:
    The employee's actual times are recorded at a time recording terminal.
    The employee's actual times are recorded in the Attendances infotype (2002).
    Indicator 2:
    Employees' actual times are recorded and they take part in plant data collection. Their time data is accounted using the time evaluation program.
    Example:
    Employees' actual times are recorded using PDC systems.
    Employees' actual times are recorded in the Attendances infotype (2002).
    Indicator 8:
    This indicator is intended for external employees. The employee's actual times are not recorded, attendances are recorded in the Attendances infotype (2002), and time data is accounted in time evaluation.
    Indicator 9:
    You can use indicator 9 for employees for whom only exceptions to the work schedule are recorded. In this case, the employees' actual times are not recorded, but they do participate in time evaluation.
    I hope it helps you!!!
    CheerS!!

  • Time management status  doubt

    Hi Friends,
    what is the difference between time management status 0 and 9. when we can use 0 and 9.
    Thanks in advance
    Venkat

    Hi,
    Time management status  0  means - Employee's actual times are not recorded, and his/her time data is not accounted using the time evalulation program. here the time wgetypes are formed by payroll.
    Time management status  9  means - Employees for whom only exceptions to the work schedule are recorded. In this case, the employees' actual times are not recorded, but they do participate in time evaluation.ie (.Evaluation of planned times.)
    Hope this will help
    Manoj.

  • Time Management Status 7 without Payroll Integration.

    Dear All,
    when do we go about Time Management Status - 7 - without Payroll Integration.
    In this case how the process goes on SAP. what do we do in this status. do we record employees attendances in 2002 IT
    actually what happens.
    Regards
    kvn

    Hi KVN,
    You are using time management status 7 which means that no integration to payroll.Now as far as ur Quotas are considered then please use RPTQTA00 which is just a program and RPTIME00 or PT60 which will run time evaluation and if u want your Quotas to generate in time evaluation then just change V_556A_B in this table to increase so with time evaluation and no generation for Quotas to be with time evaluation.
    The client may ask sometimes for few Quotas to be prorated on a daily basis and so on in that case go with TE Quota generation
    else RPTQTA00 is ok.So see ur business and use either of it
    Let me know if u have any further Questions.
    Thanks
    Swati

  • Time Management Query

    Hi Guys,
    What is the real use of Shift Group in time management
    Hi Guys if i want to connect my sap software with other software to collect data employees Clock in/Clock Out time what will be th e procedure in IMG to connect with subsystem,so that the data would upload in 0050 it

    Hi Surjit,
    If the Time Recording system is a SAP certified one then there can be a direct link with our SAP system and this will have to be taken care by ur technical team and the vendor.
    If the Time Recording system is not an SAP Certified system then the data has to be downloaded in a falt file and has to be put in the application server and this can be scheduled as a background job so that the time pairs will be moved to IT2011.
    Thanks
    Swati

Maybe you are looking for

  • Unable to change to color that I want

    Hello. I have a logo I'm working with that I want to change one of the colors. The blue color I want to change to is almost a neon blue. When I go to select this color, I see a "gamut warning" printing error/warning. That's fine, but this isn't for p

  • Using Wildcards in Prompts

    Post Author: LeedsLass CA Forum: Desktop Intelligence Reporting I've built two prompts in a report which use the Pattern Match option. However in order to fetch all results you have to leave a '%' in the prompt field which generates the sql  LIKE '%'

  • SAP FICO Tables for the ECC 6.0-Needed

    Hello Gurus, Please send me the ECC 6.0 master and Transaction data Tables. Below is link shared by Murukan Arunachalam which is quite useful, but it belongs to lower version  of ECC 6.0, deleted I am looking for updated version. Thanks a lot.

  • Problem in POPUP_WITH_TABLE_DISPLAY_OK

    Hi all, i am using POPUP_WITH_TABLE_DISPLAY_OK this function module to display internal table data. i am getting it all data. but main problem is that when i click in Ok  and Cancel tick importing parameter CHOISE returns value 0. i want when user cl

  • Need to see number called in queue agent is in multiple queues

    So I have a have a script with mutiple queues in it and I have a agent made to see 2 of these queues. The issue is when the Agent answers they need to know which queue it is that was called so they know how to answer the call.  So if queue1 is answer