on 09-10-2015 7:04 PM
Hi,
wagetypes 1000, 10001, 1002 prcessed in payroll and stored in RT Table. Now i want to process another wage type (2000) amount with comparing the wagetypes 1000, 10001, 1002 Constant amount (KONST) from Payroll parameter tabel.
In case of wagetype 10002 amount exceed KONST amount ---> Wagetype 2000 Value should calculate as 1000 * 10001/1002
In case of wagetype 1002 amount less than KONST amount ---> Wagetype 2000 Value should equla to 1000
Any one help on this...
Thanks in Advance!
Try creating a new PCR as below:
*
****
AMT= 1002 (Read wage type 1002 from IT)
AMT?K<constant> (If your constant is stored in T511k,else AMT?I<constant> if T511P)
>
AMT= 1000
AMT* 1001
AMT/ 1002
ADDWTE2000
<
AMT= 1000
ADDWTE2000
* (left blank since you have not mentioned the scenario where 1002= constant)
Call this PCR in an appropriate place in your schema using function ACTIO.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
10 | |
9 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.