Skip to Content
avatar image
Former Member

Payroll-PCR

Hi,

I wanted to write a PCR for below senario. please help

1. City allowance (wage type for 0008 infotype) Which is applicable for employee sub group F

Conditions :

1. If basic pay (wage type 1000) < or = 2000 , Employee is eligible for 100 INR

2. If basic pay (wage type 1000) > 2000, Employee is eligible for 50 INR

Thanks in Advance.

Lalith

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 02, 2011 at 08:28 PM

    Hello Lalith,

    You already have many PCRs that process the Basic Pay WTs. You could modify one of them that already have a decision on the WT, and for the return value 1000, change the process to take a first decision on the current pay period (CMPER YYPP). If return value is <, do as before, but if return value is * then take a second decision on the employee subgroup. If return value is F, take a third decision on the relation of the amount and 2000 (AMT?2000), and depending on the return value (< or *) your generate WT ZZZZ (the one for City Allowance) with the appropriate amount (preferably through a constant from V_T511K).

    You could also create a new PCR that would only process WT 1000.

    Add comment
    10|10000 characters needed characters exceeded