Skip to Content
avatar image
-1
Former Member

PCR for Wage type calculation based on year service

Dears,

I need to create PCR to calculate if the employee in service less than 10 years take amount and if equal to or great than 10 years take amount

Examples:

Employee have 9 years and 11 months experience ..... will take 100 USD

Employee have 10 years or more than experience ..... will take 200 USD

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Apr 26, 2017 at 08:40 PM

    What would you use to calculate the employee's "service"?

    The Hire Date, a Date from IT0041, or the Balance of an Attendance Quota?

    Add comment
    10|10000 characters needed characters exceeded

    • So Antoine was the first one who pointed you in the right direction, even if you had not yet specified what would you use to calculate the employee's "service".

      Operations RTE, NUM and AMT can all be used to check lenght of time with Date on IT0041.

  • Apr 26, 2017 at 06:20 PM

    If your LoS date is stored in IT0041 you can use "NUM=Fxx A" that would return the number of years between the end f the payroll period and the date stored in IT0041 type xx. You can then evaluate this number against your threshold value to decide whether you want to pay USD100 or USD200. There other options listed under the help for NUM and DATES operation in SAP.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 02, 2017 at 12:04 PM

    I did it, you can find the PCR

    *

    1005 Wage Type

    OUTWPTRFST PS level in v.key

    RTE=FA J

    RTE?10

    *

    AMT=200
    ADDWT 1005

    <
    AMT=100
    ADDWT 1005

    Add comment
    10|10000 characters needed characters exceeded