on 06-02-2011 8:11 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
10 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.