on 05-18-2011 2:00 PM
Dear Experts,
I am new to PCRs,
I am want to to subtract values in one wage type with other. what operation i should use?
How can i do this?
Please help me.
Charle.
Hi Charle,
Wagetypes in PCR have 3 place holders for value RATE, NUMBER, AND AMOUNT, used in PCRs as RTE, NUM, and AMT.
Assume you have wagetype XXXX and YYYY. If you want to deduct the amount held in XXXX by the amount held in YYYY, then write a PCR for wage type XXXX and add the following:
AMT- YYYY
ADDWT *
where XXXX is the wage type and the line ADDWT * will add the values back into the IT table (Assuming you are dealing with the IT table, otherwise ADDWTE* will add it to the RT table).
Here is a link that helped me alot when i was started writing PCRs.
http://saphrexpert.blogspot.com/2008/09/schemas-and-personnel-calculation-rules.html
Chirag.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Chirag.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Sikindar,
Like HRS in time, what is the operation in payroll to use in mathmatical operations.
Charle.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use SUBWTD read the documentation of this Operation from the tcode PE04
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.