Time Evaluation : Operation/Function to update quota entitlement

Hi,
within time evaluation quato entitlements are determined.
Due to changes legislation, under particluar circumstancens the entitlement of the quota need to be updated.
I've build all 'circumstances' in a time evaluation rule and now all what needs to be done, is to perform a deduction an a specific quuta type. The number of hours to be deducted is already stored in a time wage type (as part of the new calculation rules).
Which operation or function can be used to update the quota entitlement with the number of hours stored in the time wage type.
Thanks,
Wilfred.

Hi,
if was looking at this operation but couldn't manage to get things working as I would like.
Is there a link available with more detailed information on this operation besides the information available in SAP (PDSY)?
Thanks,
Wilfred.

Similar Messages

  • Help with Time Evaluation and function exit (HRPTIM03 / SAPLHRLV_001)

    Hello,
    Hopefully someone can help me with an issue I am having with time evaluation and a user exit I wrote.  The code for my exit is at the end of this post.  IN DEV and QAS, everything works.  However, in PRD, multiple rules are considered fulfilled (when looking in PT60), and so employees get two sets of vacation entitlements per month.
    We have three rules for quota type 03 (vacation).  Rules 3,6, and 9.  Only rule 9 should apply to the individuals with the two job numbers in the code.
    Any help would be greatly appreciated.
    Shane
    WHEN ABSENCE QUOTA TYPE IS 3 (VACATION)
    CASE XT559L-QTYPE.
    WHEN '3'.
    CASE - COMPARE SELECTION RULE FOR ABSENCE QUOTA TYPES
      CASE XT559L-ACCNR.
    WHEN RULE SELECTED IS 009
        WHEN '9'.
        IF JOB NUMBER IS 5084 OR 3084, THEN THE RULE APPLIES
          IF XP0001-STELL = '5084' OR XP0001-STELL = '3084'.
            XSUBRC = '0'.
        OTHERWISE, THE RULE DOES NOT APPLY
          ELSE.
            XSUBRC = '1'.
          ENDIF.
    WHEN ANY OTHER RULE IS SELECTED
        WHEN OTHERS.
        IF JOB NUMBER IS 5084 OR 3084, THEN THE RULE DOES NOT APPLY
          IF XP0001-STELL = '5084' OR XP0001-STELL = '3084'.
            XSUBRC = '1'.
        OTHERWISE, THE RULE APPLIES NORMALLY
          ELSE.
            XSUBRC = '0'.
          ENDIF.
      ENDCASE.
    WHEN OTHERS.
    ENDCASE.

    The problem was that even though the code was transported to PRD, and listed as Active - it still was not activated, and had to manually be done though CMOD.

  • Time Management Operation to Update Absence Quota Used

    Hi Gurus,
    Is there any standard operation available to update absence quota used. I'm already using UPDTQA to update Absence Quota Entitlement, but is there any standard operation tha i can use to Update Absence Quota used.
    Thanks!!
    Rajiv
    Edited by: rajiv patel on Mar 27, 2008 6:38 PM

    Hi,
            I have many doubts about Quota generation with time evaluation. I need to discount two hours,for example,to a certain quota type at one particular situations and employees.
    I think I can do it using function QUOTA and operation UPDTQ. To do it I have to select the option "Increase" or "Replace" in table V_556A_B,isn´t it? .But my problem is that I need firstly a quota entitlement generated with RPTQTA00,for example:
    •I have to generate a entitlement of 30 hours for all employees of a certain personal division ("No generate" selected in V_556A_B and RPTQTA00 ).
    •After that,when I run time evaluation on fridays for example,I have to discount 2 hours of this entitlement of 30 (Increase or replace in V_556A_B,and use then Quota and UPDTQ).
    My real problem is to generate the quota by RPTQTA00 because I´ve checked "Increase"or "Replace" (V_556A_B) to permit quota generation (modification) with Time Evaluation.
    I hope my explanation was ok and somebody can help me please.
    Thanks a lot

  • How to Update Absence Quota with Time Evaluation

    Dear Friends,
    I would like to know how do we update absence quota within time evaluation. Currently i'm using UPDTQAXX, it works but when i search this forum everybody was using this simple code:
    HRS=something
    ADDDBxxxx
    and the quota is updated. I just dont get it, with adddb its only update the daily balance table, how does that enable us to updated the 2006 infotype? Many Thanks

    ADDDBxxxx adds the value of the number of hours field to the specified time type in the table of day balances (TES), it does not update the quota.
    You can use function QUOTA  to accrue absence entitlements periodically based on this customizing: Personnel 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 Selection.  
    You can use a time type to prorate that accrual

  • 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

  • Absence Quota Carry Forward without Time Evaluation (TQTR)

    Dear Experts,
    The client requires the left over from 2 quota types to be carry forward to 1 quota type next years.
    e.g. from Annual Leave and Casual Leave is to be carry fowarded to following year's Annual Leave. As well as the total quota for Annual Leaves cannot exceed 60.
    Now the problem is, if we were using Time Evaluation here, i know i couldve done it through TQTR, which woudve been very convinient. But we arnt generating quotas through the rule, neither are using TM00 or TM04.
    Your help and input in this regard would be highly appreciated.
    Thanks
    S.N.

    http://scn.sap.com/docs/DOC-35168
    for #1..assuming your quota follows calendar year 01/01 to 12/31. Refer to above link for more details. The idea is to do the following 3 steps in order to generate a carry forward quota bank.
    1. Setup a quota type "17" in the quota configuration and attach a daily balance time type to this quota type. E.g ZQ17
    2. Write a custom PCR...to read remaining balance for current year's quota ban on 12/31..and store this in a different time type. ZREM
    3. in the same PCR...on 01/01 (next day)...read the previous days balance in ZREM using HRS=LZREM...and assign this balance to ZQ17...this will generate you quota bank for 17 for the next year.
    for #2...
    instead of update program locking the previous years quota banks...its better for update program to create a IT2013 adjustment to 0 out the balance of the previous years quota. This can be an LSMW upload. You can get remaining balances of current quota banks for all applicable employees and then load IT2013...with reduce entitlement as radio button option.

  • 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.

  • Use of Time Evaluation to generate Absence Quota

    Hi,
    We are planning to use time evaluation to generate absence quota. At the moment we are using RPTQTA00 report to generate Absence Quota. We have negative time management and since, the project has already gone live i have very limited scope to change the basic settings for example we do not have any employee subgroup to identify part time employees, PT & FT are in one employee sub-groups. We have only one ESG & PSG for time recording, time quota etc. The base entitlement is defined for the FT employees and it is reduced propertionately based on the employement percentage in IT0007. Now we are going to adopt a change in design, and planning to have specific work-schedule for PT employees. In that case, we will not have the scope to maintain %age in IT0007 for part time employees but exact no of working hours will be used. It means that system will treat the PT emploees as FT while generating absence quota and output the FT absence entitlement. As i said earlier we can not differentiate PT employees from FT employees based on ESG or PSG, i can not create a separate quota selection rule for part time employees. Hence, we are moving from running RPTQTA00 report to time evaluation for absence quota generation purpose.
    Now can anybody please help finding a alternate solution for the above, if it is possible to do it through report RPTQTA00 or we have to adopt the time evaluation. In case we are going to generate absence quota through time evaluation, can we only generate absence quota and skip anything that is related to payroll.
    Any comments/suggestion/advise will be very helpful to us.
    Thanks.
    Sujit

    We are not able to generate absence quota for part-time employees as when we do that, system is treating PT employees as FT employees and the FT base entitlement is referred while calculating absence quota. i can not define separate absence entitlement for PT employees as we have only one ESG and PSG, and based on this quota selection group is defined. The QUOMO feature is defined based on work contract - employee sub-group (there is no separate emp sub-group for PT employees) - Pay Scale Group. We are having this problem as we have specific work schedule for PT employees now (Ex. we create 3 days work schedule with 15 hours: 4.5,4.5, 6 hours) and we are not maintaining employement percentage for them. So system is treating PT employee as FT employee with 100% employement percentage. Please let me know if you need any specific info to understand my issue.
    Thank you so much for the response.

  • Time Evaluation quota not transferred

    Hi,
    For a couple of employees when i run time evaluation, quota type 91 gets generated and transferred but quota type 93 does not. It remains 0.
    On analyzing the logs, i found that for these employees, there is an entry in table QTTRANS with the quota amount that was supposed to be transferred.
    According to doc on help.sap.com, {Table QTTRANS indicates the status of the transfer pool for each day. The cumulated entitlements are indicated until they have been transferred to the *Absence Quotas *infotype (2006) or until the entitlement has expired.}
    This means the quota amount for quota type 93 is being generated, but is not being transferred to infotype 2006. Also, the transfer time in the rule is not being shown on ad-hoc basis for these two employees for this particular Quota type. The other quota type 91 which is evaluated on exactly the same basis is working fine.
    I have checked the transfer period in config and it is monthly. Also, for other employees in the same grouping PSG, ESG, quota is being generated and transferred correctly.
    Quota of 2.5 should be transferred on the last day of every month.
    Further, analysis of QTTRANS over a period of time reveals the following results:
    Jan05 Quota transferred : 0 ;Table QTTRANS: 2.5
    Feb05 Quota transferred : 2.5 ;Table QTTRANS: 2.5
    Mar05 Quota transferred : 2.5 ;Table QTTRANS: 5.0
    Apr05 Quota transferred : 7.5 ;Table QTTRANS: 2.5
    May05 Quota transferred : 10 ;Table QTTRANS: 2.5
    Jun05 Quota transferred : 10 ;Table QTTRANS: 5.0
    Jul05 Quota transferred : 10 ;Table QTTRANS: 7.5
    Aug05 Quota transferred : 17.5 ;Table QTTRANS: 2.5
    Sep05 Quota transferred : 20 ;Table QTTRANS: 2.5
    Oct05 Quota transferred : 20 ;Table QTTRANS: 5.0
    Nov05 Quota transferred : 25 ;Table QTTRANS: 2.5
    Dec05 Quota transferred : 25 ;Table QTTRANS: 5.0
    For the entire year, it should have generated and transferred 30 but actually it is 25.
    I would be very grateful if anyone can point out the cause of this issue.
    Thank you,
    Regards,
    Zubair

    HI,
    You can view in IT2006 accumulated Quota means current year Quota + carry over Quota. In Time cluster tables "QTTRANS" you can view Quota transfer value.
    Refer T.code: Pt66 for Time cluster tables.

  • Absence quota 31 cant be accrued by time evaluation

    Hi
    while i run tim evaluation i get error like absence quota 31 cant be accrued by time evaluation,i configured generation rules & also written rule to update quota 31.Any suggestions where i went wrong??how to correct this error??
    Thanks&best regds
    Shaila

    Hi
    Actually i had written sub schema for this..bcoz this URL is eligible for those employees who are Cash processing officer & also based on personnel area we have to check wheter particular employee is Cash processing officer or nt if yes then only update 1day URL  to 2006 IT, if the employee is working on Public holiday..for updating i had written this PCR..ZMN1 Public holiday indicator(timetype), 31 is my quota group.
    HRS=1
    varstprsnt
    N
    Y
    HRS=DZMN1
    ADDDBZMN1
    UPDTQ31

  • Absence quota generation with PCR in Time Evaluation

    Dear All,
    I am generation absence quota Annual leave = 50 through PT60- ZM04. Its daily calculation and transfered at the month end.
    The quota entitlement is 30 days per year.
    I have written this pcr. Have configured a time type too. but not sure why its not generating any quota.
    The time type I have configured is:
    Time Type: 0097
    Save as day balance - No Formation
    Save as period balance - 1
    Store for time accounts - 1
    Have assigned the time type 0097 in Base entitlement for Absence quota generation as Day Balance and even in generation rules.
    Have placed the PCR with ACTIO Z003 before CUMBT fucntion.
    The PCR Z003 is:
    000010 D HRS?0
    000020 *
    000030 = D OUTAQTYP
    000040 = **
    000050 = 50 Z GCY ZQTY
    PCR ZQTY is:
    000010 D OUTWPMOLGA
    000020 **
    000030 99 HRS=FR50C ADDDB0097Z ADDDB0097 HRS=D0097
    I didnt mention anywhere in configuration or PCR that its 30 days per year.
    Do I need to do this?
    Have I missed out anything, please help me.
    Thanks & regards,
    Majid

    Hi,
    This you can do through config also without using PCR.
    Base entitlement is 30 for calender year. Selection rule- Accrual period is daily and transfer time is time evaluation period.
    Use appropriate rounding rule in selection rule.
    Rgds,
    Lata

  • Absence Quota creation during Time evaluation - Orgnaisational Assg change

    Hello Experts,
    I have one emplyee for whom the Transfer action has been run - his personal subarea has been changed from 1633 to 1654
    obviously the ps grouping for time quota type changed form 35 to 40.
    so function QUOTA is creating different quota for this employee than what there exist right now for infotype 2006.
    so during time evaluation below error is comming.
        Error entry no. 83 Error when creating absence quota
        A complex application error has occurred
    Kindly let me know how to overcome this error.
    Thanks Jay

    The reason 'error no. 83' occurs in RPTIME00 is because function QUOTA
    is trying to generate a quota type which does not exist for the employee
    on a specific day. It must have existed some time before.  Normally,
    the function QUOTA displays an error message concerning the
    non-existing quota types. In this case, the 'error no. 83' can only
    occur in the following scenarios:
    1. If you deleted a quota type that was to be generated
    2. If an employee has an organizational reassignment to a personnel
       subarea or employee subgroup which have different groupings for quota
       types and for these groupings the 'old' quota type does not exist.
    Function QUOTA checks to determine if the quota types to be generated
    are valid.  If the quota type is not valid anymore (see reason 2) then
    you will get a warning message.
    "the problem in these situations was the following:
    RPTIME00 is trying to generate a quota for a validity interval
    (defined in table T559D) during which the employee belongs to two
    different groupings, due to the transfer.
    In your case the quota type should be generated with a validity interval
    that begins before the employee's organizational change.
    Unfortunately, for the time between the validity begin up to the
    transfer of the employee there is no entry in table T556A for this quota
    type.
    or check the config of this quota running Rptquota_check in se38
    Therefore, it is possible to solve the problem by defining a dummy
    quota type for the 'old' groupings of the employee (table T556A).

  • Time evaluation to generate future quotas

    Hi Gurus,
    We must generate absence quotas for the future(year 2015) cause personnel must request absences for next year.
    We run time evaluation till 01/01/2015 to generate quotas: 2015 quotas were generated correctly.
    If we run time evaluation till december 2014, all entitlements of year 2015 are reset to zero( IT2006-Absence quota).
    Is this a standard sap behaviour? the only solution is to set time evaluation till the 1st of january of the next year?
    Thanks a lot.
    Marco.

    Hi Marco,
    I recommend you consider your schema and quota generation rules (V_T559L) in detail to see how system generates quota. As you know 1st of each year is a key date to generate and accrued quota to EEs.
    I think the quota generation rules check the 1st day of year and gives the quota to EE. What will happen if you run time evaluation till 2015? Is there any problem in this case.
    If you would you can make a small schema with separated PCRs just for qota generation in such a cases to run and generate just quota without any other effect. In this way you can develp new PCRs with new rules in V_T559L to generate quota at the end of 2014. You should take care the quota validation be the same as you would.
    Regards,
    Omid

  • Time Evaluation - To generate quota on first of every month  Quota Func

    Hi Friends,
    thers is an issue regarding quota generation on first of every month as standard functionality it will generate on end of every month but i want it to generate on first of every month without using RPTQTA00
    Waiting for a positive response
    Thanks In Advance

    Hi,
    Even i am facing issue in the same scenario..Inspite of making accural period as " Time Evaluation Period" it still gets transferred at month end & not at the start of any month.
    Is there any other workaround other than Job scheduling .
    Regards,
    Megha

  • What is Time evaluation functions.(HR Time management)

    Hi Experts
    What is Time evaluation functions.and what purpose can v use the functions.
    Thanks,
    HCM

    Functions will help to process the schema in the time evaluation
    say in pay roll we use PIT PRT and PTIP like that in time managemnt we have actio etc
    so certain functions performs some task
    say if u want to process a rule in pay roll RT we shd use PIT but not any other function
    for more info on functions and operations check PE04  Tcode and check functions related to Pay roll and time
    and documentation read thru the tcode PDSY

Maybe you are looking for

  • Retrieve XMLP documents directly from BLOB fields in E1; Tools Release 8.97

    Hi, I want to be able to retrieve XML Publisher reports (PDF, RTF, HTML) directly from the database BLOB fields in EnterpriseOne. Instead of making users manually save each report to get a soft-copy of the report, I wanted to be able to retrieve the

  • SOAP and java problem....create SOAPMessage from file

    Hi, I've got a problem related to usage of SOAP in Java. I receive a file containing SOAP message with XML attachment. I store it on hard disk. Then I create a SOAP message as it is shown in source code below. When I try to get the attachment, the me

  • Using PL/SQL in Reports

    Hi There I want to use a store procedure in my reprt the procedure have one in and one out parameter. My procedure is my_procedure(dname in varchar2, cp_1 out varchar2) the in value is from database and out values store into place holder column and t

  • Tapping on links bring up the navigation bar

    I am working on a digital book using Folio producer and everything is hunky dory! Except when there are buttons or links I want people to be able to tap it also bring sup the reader's navigation bar. I want to have the navigation bar in there but may

  • Error when trying to isert Image in BO WebI report

    Hi         I am trying to insert company logo in WebI report. I saved the image in BusinessObjects Enterprise 11.5\Images folder in C drive. Path is C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Images There are two images here,