Latest Time Evaluation Date & Timestamp

Hi All,
I have a requirement where I need to get latest Time Evaluation Date and Timestamp. Are there any FMs / tables to get the same?
Regards,
Omkar
Moderator message: very vague, please search for available information/documentation before asking.
[Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
locked by: Thomas Zloch on Oct 1, 2010 1:49 PM

Hi Venkat,
Hi,
Thank you so much for your reply.
In my case my sub schema is using PTIP. It is like this
PTIP   ZHO2 GEN
       D OUTTPVTYPE
      COLOP*
  X   D HRS=YSAO HRS?30
  X*     COLOP*
  X<
It is telling to move data from TIP to TOP if it is greater than 30 days or else do nothing (dump).
I am assuming from your reply to edit the rule as
PTIP   ZHO2 GEN
        D OUTTPVTYPE
      COLOP*
  X    D HRS=YSAO HRS?30
  XX  D HRS=YSAO ADDZL XXXX
  X*     COLOP*
  X<
What would XXXX mean in ADDZL XXXX.
and HRS=PNUM GENTPB X what would X mean.
I am sorry could you elaborate this with an example and give me little explanation.
appreciate your help.
Points rewarded for your help.
Thank you,
Mamatha

Similar Messages

  • How to calculate elapsed time(including time and date)?

    Hi all,
    I want to realize a function that can calculate the elapsed time which include time and date.Below is my thought:get the current time and date and store it to a .txt file then using the latest time and date subtract the time and date stored in the .txt file.how can realize it using the simplest way?I'm using LV7.1.

    Hi Idragon,
    you can do it like this.
    Mike
    Attachments:
    DateTime.PNG ‏12 KB

  • How to prevent Time Evaluation to run for past date?

    Dear Friends,
    I have a problem with Time evaluation issue.
    While time evaluation runs with PDC recalculation date in 2010 its creating two different quota for an absence.
    So client donu2019t want to run time evaluation for before 31.12.2010.
    Please let me know how to do this.
    They donu2019t want to used earliest recalculation date filed for this purposes.
    Thanks and in advance,
    Anoop

    Hi,
    They want to use Earliest personal recalculation date for monthy locking.

  • How to change the date generate absence quota(Time Evaluation)

    Hi all experts,
    Currently system use Time Evaluation, and generate absece quota in last day of month.
    So any way to change that system will use differ day to generate absence quota?
    Example use day 28 of each month will generate absence quota? Have any enhacement or configuration?
    Thank you,

    Tatsuya,
    there 2 better solutions for this, one is Generate Period Parameters and according accordingly the month end date you follow and use the same period parameter in V_T559L table to your Quota.
    and other Solutions is Write a PCR like Below.
    ABCD     (PCR Name)
       varstcrumo
            Varstreday
                 28
                   hrs=1
                   adddbTIME (TIME - Daily Time type - Create it in V_t555a table)
    Save it and go to TM04 Schema, and put this PCR with Function ACTIO and make sure to insert this before QUOTA Function and Before CUMBT. and save it, and dont forget to put TIME Time to your Base entitlement.
    you can run Time Evaluation to test it...let me know how it worked.

  • Time Zone conversion of a date/timestamp in ABAP

    Is there a function available in 4.5B that can convert a date/timestamp from one timezone to another?

    try FMS
    /SAPTRX/RANGE_CONVERT      
    CONVERT_TIME_TERMS         
    CIF_GEN3_CONVERT_DATETIME  
    CIF_GEN3_CONVERT_TIMESTAMP 
    CIF_GEN_CONVERT_DATETIME   
    CIF_GEN_CONVERT_TIMESTAMP  
    CIF_GEN4_CONVERT_DATETIME  
    CIF_GEN4_CONVERT_TIMESTAMP 
    CO_SF_CONVERT_TIMES_OPR    
    CXTP                       
    DATE_TIME_CONVERT          
    POINT_IN_TIME_CONVERT      
    FITP_CONVERT_LOCAL_TIME_GMT
    <u><i><b>
    Tip : GO to -> SE37 and search key word TIME OR Convert</b></i></u>
    Hope this’ll give you idea!!
    <b>P.S award the points.</b>
    Good luck
    Thanks
    Saquib Khan
    "Some are wise and some are otherwise"

  • CRIO-9068 time synchronization and data timestamping - the Big Picture

    I'm working with a number of cRIO-9068 chassis that are distributed over a large physical area. I wish to timestamp data acquired be these chassis with microsecond resolution and relative accuracy. The various documents that I've run across hint at how this might be accomplished but none of them really describe the overall architecture for synchronization of chassis clocks over a network and acquisition of the local clocks for the purpose of data timestamping. Is there a document that addresses this topic?

    http://www.ni.com/pdf/manuals/376007a.pdf:
    Using the Internal Real-Time Clock
    The system clock of the cRIO-9068 is synchronized with the internal high-precision real-time clock at startup. This synchronization provides timestamp data to the controller. You can also use the internal real-time clock to correct drift of the system clock. Refer to the Internal Real-Time Clock specification in the Specifications section for the accuracy specifications of the real-time clock.
    What are the "system clock" and "real-time clock"? How are they related? How does the synchronization provide timestamp data to the cRIO-9068 controller? How does the internal real-time clock correct drift of the system clock?
    http://www.ni.com/pdf/manuals/373185a.pdf:
    No theory of operation whatsoever.
    Note: https://forums.ni.com/t5/LabVIEW/cRIO-9068-amp-NI-TimeSync/td-p/2838178 suggests that NI-TimeSync may not be available for the cRIO-9068:
    Currently NI-TimeSync 1.3 is not supported on Linux RT. This is something that's in the works but there is no ETA.

  • How to get the hire date in time evaluation?

    Hi all,
    Good day. I need to add a checking on employee's year of service before I can assign the time wage types to ZL table. What is the operation or function that can be used to figure the hire date or years of service of an employee in time evaluation? Greatly appreciate for your help.
    Best regards,
    Tan

    Hi,
    Thanks for your reply. I understand that the hire date can be stored in IT0041, but how do we retrieve it during time evaluation? Is there any operation or function that we can use?

  • Update date/time in UNIX timestamp format

    The datetime in my Oracle DB is being stored in UNIX Date Time format.
    Is there a way I can set the date/time using an UPDATE statement in such a case.
    for eg:
    select id, creation_date, expiration_date from skel;
    id creation_date expiration_date
    400019 1213726470     
    400020 1213733052     
    400005 1210867973     
    400018 1213723608     
    I am looking to set the expiration date as creation_date + 1 year.
    Could you please advise?

    I am looking to update the value in the field. The values will still be in UNIX date/time format.Yes, but still: instead of continuing converting to Oracle dates and Unix dates, why not just store dates the way the datebase can deal with it the best?
    You're probably storing your UNIX date/time formatted dates in the database as NUMBERS.
    That is a great loss of lots of built-in date functionality Oracle Database provides.
    If you insist on staying on that road, then explore my previous links, you will find your answer:
    Convert epoch number to date, do arithmatic and convert the result back to epoch number.
    That is overkill.
    It won't work/scale/perform/whatever in the end. It is a bad approach.
    So, please reconsider this:
    Why are you storing dates as numbers?
    Convert those numbers to dates once, and be done with it for ever after and benefit from all the builtin date-functionality Oracle database comes with, or convince us that you really have a valid reason to store dates in UNIX date/time format into an Oracle Database.
    and my last date was...uuhhmm... never mind ;)

  • Time Evaluation Re Run in Mid Month & Mid Mont Initialization !

    Hi There,
    i was trying to run Time evaluation for the period 01.04.2011 to 31/12/2011.
    from April, that is 01.04.4011 to 30.06.2011 Time evaluation was good, now time evaluation has to run from 01.07.2011 but time evaluation has repeated from 12.06.2011 to 11.07.2011 as Initialization period 07/2011, and the same scenario is repeated for the rest of the year..all periods are initiated on 12th of each month from 6th month that is 12.06.2011.
    i was been trying to rectify this issue but was not bale to solve it, could any one please look in to it and let me know how to solve it?
    your help is appreciated.
    Thanks
    Kumar

    Can you please regenerate Period Parameters for 2011 year in T-Code for OG00 for period parameter 01 and then give the hire date in the field Forced Recalculation as of run in PT60 and run  the time evaluation.
    Best Regards,

  • Quota updation upon accural in no time evalution(TMSTA=0)

    Dear Team,
    We went go live on one and half year back and  using no time evaluation for all employee in info type 7.
    At the time of financial year starting we will generate Absence quotas say CL, PL through RPTQTA00,
    Entitlement is 12 days,Hence April month it self, record will be created in info type 2006.
    In mid of month/year Joining employee, based on prorate base entitlement will be updated in info type 2006.
    Now Client/My requirement is:
    He does" t want to give total entitlement in april it self. every month 1 leave needs to updated. (12 days entitlement for CL, hence prorate base 1 day in April once we run in Payroll, 2 days (11) in May, 3 days (11+1) in june.. so on and so fourth...
    How we can configure this. Please help me on this.
    Regards,
    MVR

    Hi,
    Try the following setting.
    SPRO -> IMG -> Time Management -> Time Data Recording and Administration -> Managing Time Accounts Using Attendance/Absence Quotas -> Calculating Absence Entitlements -> Rules for Generating Absence Quotas -> Set Base Entitlements
    In this select your Quota type and give ENTITLEMENT CONSTANT as 1.
    RELATED TO PERIOD as Accrual Period
    SPRO -> IMG -> Time Management -> Time Data Recording and Administration -> Managing Time Accounts Using Attendance/Absence Quotas -> Calculating Absence Entitlements -> Rules for Generating Absence Quotas -> Define Generation Rules for Quota Type Selection
    In this, double click your Quota Type then Goto Accrual Period Tab and select Month
    Now, the  Program RPTQTA00 has to be run run every month with suitable Data Selection Period
    Thanks and Regards
    Kiran

  • Time Evalution & PDC recalculation

    Dear Experts!
    I have to face an weird problem. My scenario is as below:
    1. I create a new Time Type to calculate the working date of employee in every month. My time wage type will replace an existed wage type in system, because it's configuration is not correct.
    2. After checking on Dev, QAS, the value of Earn Leave ( generated monthly) is CORRECT, we move this TR to PRD.
    And after moving it to PRD, there are a lot of employee re-run PT60 from Go Live Date. I don't know why.
    Could you please guide me the way to know which recalculation date in Time Evaluation, and How SAP decide the date to retro Time Evaluation in PT60? I just guess the field PDC recalculation in IT 3 ( I read F1 of this field), but now I'm mixed about this information.
    And you know, because we change the Earned Leave in Time ( I  run PT60) eg: Earned Leave for Feb-2010 will be modified, of course the value of Time Wage Type will be changed. The date Earliest MD change in IT3 is NOT Changed. But the Payroll for this guy is retro from Mar-2010.
    Can you please help me clear the way to re-run Time Evaluation & Payroll.
    Regards!
    Woody.

    Hi Woody,
    Please note  the below Points carefully, which may help you to solve your issue:
    Note -
    Retro Runs are based on Infotype,  If you change any Infotype related to Time / Payroll, then the system automatically maintain the "Earliest MD Change" date in IT 0003.
    For IT 0003
    1) When you change employee data that is relevant to payroll, the system stores the earliest date from which the master data change is valid. This date can be a future date after the last payroll run
    2) The system deletes the date in the Earliest master data change field after successful completion of the payroll run.
    The earliest recalculation date for time evaluation is also queried when master data and time data that is relevant to retroactive accounting is changed.
    For Payroll Controll Record
    Earliest retroactive accounting period
    1) Retroactive accounting in payroll can begin on the start date of this period at the earliest.
    2) If changes relevant for retroactive accounting have been made before this date, the system does not take these into account in either current or future retroactive accounting. However, retroactive accounting is initiated up to this period.
    3) If the earliest personal retroactive accounting date (from IT 0003) differs from the earliest retroactive accounting period, then it will be backdated to the later date.
    Comments:
    1) May be the Time Wage Type Change (related to Payroll) might have triggred the Retro Payroll, and once it retro run happens the "the system delets the date in the Earliest Master Data Change Field", that is why you are unable to find that field with values.
    2) Check the "Earliest Retroactive Accounting Period" in Control Record (Tcode PA03), so that you will get some idea. why it has happend.
    3) While determining the Retro, the system checks the IT0003, Control Record, it will take the date whichever is backdated date.
    Hope this helps.
    Regards
    Venu

  • Error in time evaluation

    Dear All,
    time evaluation is throwing an error msg "No entry in table T001P for key" for only one employee in the time evaluation display log.
    Its happening in the initialization part in time evaluation. for example,
    If i run the time evaluation for the month of 01.01.2009 to 24.02.2009. error message throwing on the initialization of 01.02.2009.
    I have checked all the groupings in table V_001P_all.  All are correct.
    Where should i do the correction. Pls
    Br.
    Manjula

    Hi Sikindar,
    I have checked all grouping in V_T001P_All  every think is correct,
    And how can i check with grouping with dates??
    This employee getting error message only in the initilation part in time evaluation log.
    example if i run the time evaluation from 01.01.2009 to 01.03.2009 . time evaluation running only from 01.01.2009 to 31.01.2009 . its not moving to next month.
    if i run time evaluation from 01.02.2009 to 01.03.2009 then its running only 01.02.2009 to 28.02.2009 its not moving to next month.
    In the initialization in the next month im getting error message (no entry in table T001P for key)
    Thnaks.
    Manju

  • Time evaluation:Regeneration of leaves for past with new slabs.

    Hi Gurus
    Find below our requirement and advice accordingly
    1.Employees annual leave entitlement slabs are bifurcated based on length of service as below
    Tenure with Company      Eligibility/Month
    1. Probation        1.5 Days
    2. 0-3 Years                           2 Days
    3. >3-6 Years     2.08 Days
    4. >6-10 Years     2.16 Days
    5. >10-20 Years     2.33 Days
    6. >20 Years Above     2.50 Days
    2.Probationary /regular employee bifurcation is done at employee subgroup level
    Emp Subgroups     Employee
    1. 01 - 10            Regular
    2. 11 - 20                          Probationary
    3. We use time evaluation schema ZM01 copy of TM01.
    4. On hiring, probationary will be assigned with employee subgroups 01-10 via hire action.
    5. On confirmation, probationary will be changed with employee subgroups 11-20.
    6. For probationary, system will generate monthly accruals of 1.5/month days till confirmation.
    7. After confirmation system will start generate 2 days/month.
    8.  We have a requirement that after confirmation action system should re generate the leaves from date of joining as per the employee after probation.
    Illustration:-
    1. Employee joined under probation on 01.06.2011.
    2. His monthly annual leave accrual till 31.12.2011 will be 9days i.e. (1.5 days * 6 months)
    3. On running confirmation action system should regenerate his annual leave from his date of joining with the new slabs and it should be 12 days i.e. (2 days * 6 months).
    Is it feasible in time evaluation. Pls advice.
    Thanks in advance, Thanesh

    Hi
    I have a couple of queries on this scenario.
    We can do it on the base of base entitlement but there is action dependency then its better to write PCR.
    First Check action type --> Then give the quota as 1.50 or 2 days as per req the nupdate the quota.
    Here before writing the PCR we need to take care of one thing that once employee changes the action it could not check the old action. Say for Ex when i am checking the probation and changed the Probation to permenant then it should not check the Probation again. So we need to put a counter check here.
    So i am writing a logic like first will check Probation an
    For Ex : We take Probation Action type as 01 and Permenant Action type as 02
    ZT05 Personnel Calculation Rule  ZT05                   
          " HRS?1      Decision op.     HRS                 
            " <                                             
              " OUTWPMASSN Action Type                      
                " 01                                        
                  " OUTWPMASSN Action Type                  
                    " 02                                    
                        HRS=1      Set                      
                        ADDDB1230  Add to day balance       
                        HRS=1.50   Set                      
                        ADDDB1234  Add to day balance       
                  " OUTWPMASSN Action Type                  
                    " 02                                    
                        HRS=2      Set                      
                        ADDDB1234  Add to day balance       
    Please create Time Type 1230 and 1234 at T555A.
    Hope this helps you. All the best. Let me know how it worked.
    Reg,
    Srini

  • Absence quota addition after Time Evaluation

    Hi Experts,
    This is regarding Time Evaluation.
    Time Evaluation Configuration is fine. Absence quota is getting generated in days.
    But while adding to the previous balance it's treated as hours and the net balance is coming as hours.
    Example, Absence quota from previous year = 15 hrs
                    Quota generated = 0.77 days
                   After generation the total is 15 + 0.77 = 15.77 hours.
    Please advise what could be the problem . Thanks

    Hi ,
    Thanks for your reply.
    Cause :
    Actually the employee had moved from one Personnel area to another but due to the settings same Absence quota was applicable to the employees in both cases.
    Now i am not able to delimit the record in 2006 from transfer date.
    Edited by: Tomesh Sahu on Jul 21, 2009 10:17 AM

  • Absence Quota Change ( Without Time Evaluation )-Change in Holiday Calendar

    Hi Experts, We have scenario where we need to change the holiday calendar. Add additional holiday. This can be done through SCAL and after that we can generate work schedule through PT01 for the month where the holiday is added. We are not using time evaluation. Our time manangement status is 0 in IT0007. The input I require is how to correct the absence quotas of employees for which they have applied leave for the period where the new given holiday is created. Please advise. Thanks in advance. Regards, IFF

    Hi,
    Standard SAP provides TCode PT_UPD00 for this purpose. It calls program RPTUPD00 which creates a batch input session for revaluating absence and attendance records. You can use this program to resave all the leaves which overlap the given date which is now a public holiday.
    I hope this information is helpful for you and resolves your query.
    Thanks and regards,
    Vivek Barnwal

Maybe you are looking for