cancel
Showing results for 
Search instead for 
Did you mean: 

Payroll-PCR

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member193210
Active Contributor
0 Kudos

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.