PCR to calculate Wagetype

Hello Friends,
Please can any one help me with PCR
i have created wage type and want to create PCR for the same to compute the following computation
EG: wage type 9ABC
and computation is 200$ to increase every month in WT 9ABC, and in December client makes payment to employee and records the entries in IT-0015
so in year end th cumulated amount should get computed according to that
it must deduct the payment from the cumulate amount , and the rest left over amount should be carried forward to next year
and every year this process goes on
please help me its very urgent
please mail me on [email protected]

It is one time payment in end of the year, bt it depends on the payment also, if company pays him 2000$ in December then 400$ is left over, so this left over has to get cumulated in normal process of cumulation of 200$ every month(eg if it is wagetype for ticketing, if employee brings ticket for himself then the amount will be deducted as per the ticket, but if he dosent then full cumulated amount will be paid to him) in end of year
if employee leaves in mid of year then FNF should pay all the cumulated amount till date
cumulation is monthly so their is no pro rata for day to day
please give me ur mail id so that i can mail you the PCR also

Similar Messages

  • Pcr to calculate annual working hours.

    Dear Friends,
        Can we calculate annual payed working hours in negative time managment.if it is possible can you plz tell how v can configure that in pcr.

    Go to table V_T555A and create time type
    write a PCR  initilize the MONTHLY time time in PCR pass value to YEARLY TIME TYPE.
    please insert the PCR in TM04 Schema  before ZL table accumulation
    Best Regards

  • How to write a PCR to calculate 10% of Tax on Gross Amount

    Hi Experts,
    I have a scenario, which came from my client that, tax(10%) had to be calculated on gross amount, need to be deducted from the gross and should shown in deductions part of remuneration statement.
    Do I need to write a PCR for this r not?
    if PCR where i need to insert in Payroll Schema?
    Do I need to create a Wage Type?
    Can you please help me in, to do this process.
    Awaiting for your valuable suggestions and replies.
    regards,
    K. Srinivas

    Hi,
    Please create a wage type ABCD by copying MVT1
    write a PCR
    /101
    amt= /101
    amt*.10
    addwt ABCD
    write one more PCR
    HR-IN: Voluntary tax deduction
    |- *
      |-ABCD  Over writeITax
        |---ELIMI *    Elim.time period ID
        |---ADDWTE*    RT   Results table 
        |---AMT-S /460 Subtraction        
        |---ADDWT /460 OT   Output table  
        |---RTE=  /4ME Set                
        |---AMT=*      Set                
        |---MULTI ARA  Multipl.amt/no/rate
        |---ZERO= R    AmtNumRteTime = 0  
        |---AMT/100000 Division           
        |---SUBWT /4MT OT   Output table  
        |---AMT-S /4ME Subtraction        
        |---ADDWT /4ME OT   Output table  
        |---AMT=Z /4ME Set                
        |---AMT=*      Set                
        |---RTE=  /4MH Set                
        |---AMT=*      Set                
        |---MULTI ARA  Multipl.amt/no/rate
        |---ZERO= R    AmtNumRteTime = 0  
        |---AMT/100000 Division           
        |---SUBWT /4MT OT   Output table  
        |---AMT-S /4MH Subtraction        
        |---ADDWT /4MH OT   Output table  
        |---AMT=*      Set                
        |---RTE=  /4MS Set                
        |-" RTE?0      Comparison         
          |-" *
          | |---AMT-S /4MT Subtraction        
          | |---ADDWT /4MT OT   Output table  
          |-" >
            |---MULTI ARA  Multipl.amt/no/rate
            |---ZERO= R    AmtNumRteTime = 0  
            |---AMT/100000 Division           
            |---AMT-S /4MS Subtraction        
            |---ADDWT /4MS OT   Output table  
            |---SUBWT /4MT OT   Output table  
            |---AMT=*      Set                
            |---ADDWT /4MT OT   Output table 
    Insert this two PCR in subschema INN1 after INTAX function  and endif, if line.
    regards,
    Balaji

  • Operations from PCR in simple english.

    NUM= BWGRL
    NUM= PLANS
    NUM?0
    ZERO= N
    GCY X112
    ADDWT
    above are some of the operations from PCR  X012 Calculate valuation bases for alternative payment
    as we know, there is a logical meaning for all the operations listed above however there must be a simple English explanation for the same. I have created this thread so that all these technical operations can be deciphered in simple english.
    One example i would like to include is as follows
    ADDWT
    ADDWT     blank     -     Means Add Wage Type to      Output table(OT)
    ADDWT     A     -     Means Add Wage Type to      Previous employer table (VAG)
    ADDWT     C     -     Means Add Wage Type to      Cumulation table(CRT)
    ADDWT     D     -     Means Add Wage Type to      Difference table (DT)
    ADDWT     E     -     Means Add Wage Type to      Results table (RT)
    ADDWT     G     -     Means Add Wage Type to      Gross results table (GRT)
    ADDWT     H     -     Means Add Wage Type to      Alt. results table (AIT)
    ADDWT     I     -     Means Add Wage Type to      Input table (IT)
    ADDWT     L     -     Means Add Wage Type to      Results table last payroll (LRT)
    ADDWT     M     -     Means Add Wage Type to      Incentive wages results (LS)
    ADDWT     N     -     Means Add Wage Type to      Loan (LO) (can only be used with function P0045)
    ADDWT     O     -     Means Add Wage Type to      Output table (OT)
    ADDWT     S     -     Means Add Wage Type to      Cumulated and variable info (EX/ES)
    ADDWT     U     -     Means Add Wage Type to      Difference table (DFT)
    ADDWT     W     -     Means Add Wage Type to      Wage maintenance table
    ADDWT     X     -     Means Add Wage Type to      Cumulated tax table (SCRT)
    Please share your understandings of as many operations as possible as it can help non technical consultants understand the the meaning of operations easily.

    I believe that SAP has tried to translate in "simple english" the documentation of operations, and the same could be said of functions and features.  The problem is trying to explain all possibilities.
    For example, the documentation for operation ZERO= mentions that "Operation ZERO= initializes fields in the  current header entry of a table or variable" and that it's syntax is OOOOOSVVVV where OOOOO is the operation (ZERO=), S is the operation sign (blank or &) and VVVV is the name of the temporary variable or the field.  So:
    ZERO= RNA     means zero out the values in the Rate, the Number and the Amount fields of the WT being processed
    ZERO=&9999   means zero out the temporary variable 9999 (in table VAR)
    ZERO= N          means zero out the value of the Number field of the WT being processed
    When it comes to Payroll operations RTE, NUM or AMT, there are over a dozen operators and a multitude of operands, these last ones divided into 5 different structure variants, as in
    NUM=X nnnn           ......Wage types
    NUM=Xnnnnn           ......Table fields
    NUM=nnnnnn            ......Direct values
    NUM= nnnnn            ......Report layout fields (with one space between = and nnnnn)
    NUM=    nnnn          ......IT wage types (with two spaces between = and nnnn)
    The 2 examples in your PCR correspond to the 4th variant (a space followed by 5 characters) so they relate fo Report Layout Fields.  If you drill down in the documentation for operation NUM, 6 places operands, 4th variant, Record Layout Fields, you'll notice that BWGRL corresponds to Valuation basis per hour.
    But to come back to your PCR, operation NUM= BWGRL is useless since it is followed immediately by NUM= PLANS, which is like saying: Replace the number field by the Valuation basis per hour and replace the valuation basis per hour by the position (PLANS), the second instance of NUM= overwriting the first one.

  • About PCR with using IMPRT and IMPRE

    Hi all !
    I am writing a PCR to calculate bonus for 13th salary and this bonus is paid at 30th Dec per year. If startdate of EE is 01st Jan and probation in 2 months , Bonus = Salary on actual working days of from March to Dec/(12-months of probation) . But startdate of EE is 01st Nov, the Bonus = 0
    I read a document in which operation IMPRE can import results from PCL2 with Ploop .
    But I don't know use IMPRE to solve my problem
    Please help me to solve it.
    Thanks so much and best regards,
    Huyen Nguyen

    Hi,
    You may find our book, Java Studio Creator Field Guide, helpful for a more gentle introduction to Creator and JSF components. We don't assume that you know JSF or even Java. We also have step-by-step instructions for building projects.
    Here's the link to our website:
    www.asgteach.com
    (You can download Chapter 2, which is the basic introduction to Creator.)
    Hope that helps.
    Gail and Paul Anderson

  • Check in PCR

    Hi guyes I want to insert a check in Payroll PCR to calculate age of employee.
    Basic purpose here is to give a message for employees who have a age of 60 years when payroll runs.
    Secondly can anybody give a link for learning PCR.

    Hi Adnan,
    Have you tried the option of using the Notifications infotype 0128?Pl take a look at this <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/f4/b022f6b1a811d1951500a0c9306433/frameset.htm">SAP Help</a>.
    ~Suresh

  • Payroll scenario

    Dear Experts below is the scenario followed by the sample data from the clients place for a specific scenario to be modified.Please suggest whats the best solution
    Pay the commission entitlement in two portions, the first payment (pre-payment) at the tender acceptance stage, with the second payment being made at the contract signing stage. u2022 Conditions of employment would state that the commission is not earned until such time as the contract is signed. u2022 We occasionally have projects that do not proceed to contract signing, and hence would reverse the pre-payment payment. u2022 The majority of our salespeople are paid a regular fortnightly retainer as well as commission. u2022 The commission component could be a % of the u2018tender acceptanceu2019 value, or a fixed dollar value. We may have to allow for both types. u2022 Would like to be able to enter some data and report on as well. Data would be; SAP Project number (i.e. J/001354), SAP project customer number, tender acceptance contract value. u2022 We would also like to enter both payments at the time of initial processing, with the u2018balanceu2019 payment being put on hold or block, (hence reducing the need for further entry. u2022 Reporting would consist of determining commission amounts outstanding (i.e. the balances that are on block & the project numbers) per salesperson, and what has been paid in a period say. u2022 Terminated employees can still get paid their u2018balancesu2019 as contract exchange, and reversals (of the pre-payment) made if they donu2019t. Below is the sample data for the above-Could you guide me how to match the above requirement.
    Typical Data                    
         Description     Value     Type/Location     Note/Comment
    1     Project Number      J/001503     Level 1 WBS or Project Definition     
    2     Project Description     CAGALITAN - LOT 2403 GEORGES FAIR ESTATE     Level 1 WBS or Project Definition     
    3     Customer Number     1563     Customer Master Record     
    4     Customer Name     Conde & Evangelin Cagalitan     Customer Master Record     
    5     Tender Acceptance Value (inc GST)      $260,050      Commission Claim Sheet/Tender Acceptance     Job Variable
    6     Tender Acceptance Date     26/09/2010     Commission Claim Sheet/Tender Acceptance     Job Variable
    7     Salesperson Employee Number     10168     Payroll Data     
    8     Salesperson Name     Laurence Buckley     Payroll Data     
    9     Commission percentage     1%     Payroll Data     Variable per salesperson
    10     Commission Total Value      $2,600.50      Payroll Data     Job Variable
    11     Initial Commission Payment Split     _50%     _Payroll Data     Variable per salesperson
    12     Final Commission Payment Split     50%     Payroll Data     Variable per salesperson
    13     Initial Commission Payment Amount $1,300.25      Payroll Data     To be paid in first pay run after entry
    14     Final Commission Payment Amount $1,300.25      Payroll Data     To be paid in first payrun after contract sign date
    15     Contract signed date     22/12/2010     Contract Files/Payroll Data     Job Variable
    Note:                    
         Items 9 through 15 would require new data fields in SAP (somewhere?)

    If you create a Custom Infotype to store the Contract Information, use table T511K to store some constants (such as the 1% commission rate), and create a Custom Function to process your Custom Infotype, you will be required to create at least one or two PCRs to calculate the initial payment, and either the final payment or the recuperation of the initial payment.
    I have never worked with the Australian Payroll Schema (if I remember correctly from your previous postings in the ERP HCM (HR) forum), but I would believe that you could place your Custom Function in the same sub-schema as functions P0014 and P0015.

  • The system is making excess payment of lunch subsidy

    Dear All,
    we have an issue with a wagwtype called lunch subsidy. The wage
    type works fine for every one but when it come to a newly joined
    executive it makes excess payments.
    Lunch Subsidy for an executive is max Rs 1000/- for the month
    (excluding Holidays)
    There is a PCR which calculates the lunch subsidy days .
    Issue is that the PCR calculates the lunch subsidy days correctly for
    executives from the second month onwards.i.e where it finds a full
    month.
    When an exucutive joins in the middle of the months or on the last day
    of the month the PCR is unable to calculate the days from joning date ,
    insted it calculates for whole month and give Rs 1000/- as payment.
    Please help to rectify this Rule.
    Regards
    Indraneel
    Oil India Ltd.

    SOLVED OURSELVES

  • Zero balance not getting moved from TES to ZES

    Hi,
    I have a request for a calculated time balance, which I have created.  I also created a PCR to calculate it.
    Now my problem is that the customer wants to see the balance even if it is equal to zero, but it appears that a balance does not get moved to ZES when it is zero. 
    Any ideas how to get this done?

    Hi
    the internal tables of SAP or Time Management are not designed to hold ZERO values...if the time type/Quota does not come ..it should be interpreted as ZERO.

  • Function/operation

    Hello,
    Can anyone assist me in writing a pcr to calculate two dates? That is, the difference between the hiring date and the current date. So that if employee has worked 1 year for instance, a pcr calculation is processed for him, and the employee has worked 2 years another pcr is processed instead.
    This calculation is similar to that of savings using number of years worked as a basis of calculation.
    Regards,
    The suggestion given should be good enough. Please put in your efforts to write the PCR yourself and then seek help, if you still need it.
    ~Suresh

    Hi,
    operations NUM/RTE/AMT all have the possibility to calculate the difference between two dates.
    Have a look at SAP - documentation for these operations under
    2nd Variant : Table fields --> Operand F (Date Specifications).
    Wilfred.

  • Years of service

    Dear all,
    I would like to learn how to write a PCR to calculate years of service,to give certain allowance.Do I need to create time type?
    Thank you.

    No need of time type
    check the below thread for the reference it may help you
    Get number of years of service completed

  • Calculate amount for different wagetype

    Hi Gurus,
    how can i calculate amount which is taken from another wagetype in IT table?
    example :
    in IT table :
    wagetype = 7000, number = 7
    wagetype = 7001, amount = 1000 (input from infotype 8)
    what i need to do is update the amount of wagetype 7000 to be 1000 * 7 = 7000
    thanks alot for any help

    Are you maintaining only number in 7000 WT  if yes
    Go for PCR where
    7000
    AMT=  7001
    MULTI  NAA
    ADDWTE

  • How to Subtract Wagetype in PCR....?

    Dear All
    Please suggest for the following.
    I have 2 Wagetypes in Input Table as M100 and M200. I need to write a PCR which will subtract M200 from M100 and transfer the M100 to OT. M200 should be removed after the calculation.
    I am not sure if there is an operator for Subtraction. Please Suggest how to achieve the same.
    Thanks in advance.

    Hi Garry,
    You can try the following PCR
    ZMN--->Name of the PCR
    M200
    _____ELIMI *
    _____SUBWT M100(subtract the M100 from M200)
    _____ADDWT M100(put M100 in out put table)
    _____AMT=* (set amount in M200)
                |_____AMT*-1(Make amount zero)
                |
                I ____ADDWTEM200 (If u don't need this M200 for further processing put this in result table)
    Hope this may work
    Cheers
    Ramesh

  • How to calculate two wagetypes with same taxcode

    hello,
    we are having senario in india payroll,
    we are having two medical wagetypes assign to the same allwance group having same taxcode.
    As per SAP standard, whichever Wagetypes 1stly maintained in allw. grp table , system will calculate that in payroll.
    i want to knw how we will give both the medical wagetypes to the employee in same month.
    please advice
    Edited by: sdeeps19 on Nov 16, 2010 11:06 AM

    Hi,
    Probably you can maintain another wagetype to accumulate both the wagetypes amount, so that you can maintain one taxcode for the third wagetype.
    Good Luck.
    Om.

  • How can i calculate overtime hours with PCR?

    hi all,
    i was wandering, can i calculate overtime hours in this case?
    example my DWS for this day is 08.00 - 16.00
    i do early overtime from 06.00 - 08.00, and after my working hours is finished, i do late overtime from 16.00 - 19.00
    (in TIP it is separated in 2 rows)
    how can i calculate my total overtime with pcr? i want to use the total for another calculation..
    06.00 - 08.00 : 2 hours
    16.00 - 19.00 : 3 hours
    +
            total      : 5 hours.
    thx all..

    ZPRN    DVARSTPRSNT
    N      COLOP*
    Y     DOUTTPORIGS
    Y E  HRS=0     HRS=PNUM  ADDDB9066 COLOP*
    Y *  COLOP*
    THE ZPRN PCR WILL GET THE TOTAL NUMBER WORKING HRS IN TIME TYPE 9066
    Now we will write a pcr to get overtime details
          DVARSTDPRCL
    *    DVARSTHOLCL
    * 1  D HRS=D9066  HRS-S HRS?0
    * 1 * ADDDB9067
    * 1 < COLOP*
    0 *
    NOW THIS PCR WILL BRING THE OVERTIME
    BASED ON YOUR DAILY WORK SCHEDULES U NEED TO CHANGE VARSTDPRCL NOW MY RULES WILL WORK FOR ALL THE SHIFTS OTHER THAN WEEKLY OFFS
    REGARDS,
    RAJA SEKHAR.

Maybe you are looking for