on 06-21-2015 2:12 PM
Hi
We have following requirement for shift allowance.
Number of days are coming from time and need to pay for particular pay scale groups in payroll. Written a below PCR to query the pay scale group.
Where C2 is pay scale group and like this we have many.
Above PCR is not working, can you pls give the correct Pcr to query the pay scale groups.
And where we need to insert the pcr.
Pls help
Regards,
Sai
Hi,
1) Pls specify, how you are calling this PCR? like Function PCR par1 par2 ...etc.
2) Check whether the WT is existing in the input table.
3) Check for proper ESG for PCR is there ..in your pcr it is 3.
4) Check the WT 1UK1 is having values in rate & number
5) Check for employee falling in proper Payscale group for this WT.
6) Check the constant ZCNUK is having value in t511k table.
If possible, post the screen shot of the log (by running in simulation).
regards,
bala.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Balu
Thanks for your reply.
PCR is mentioned as above.
I have inserted the PCR in ZNAL sub schema as below.
FUNC. PAR1 PAR2 PAR3
PIT ZUKS GEN NOAB
In your reply 2nd to 6th points are correct.
Only I have a doubt in PCR which queries the pay scale group.
Can you pls give me the correct pcr to query pay scale group and where to insert exactly.
I have attached the screen shot where I have inserted pcr.
Thanks &nRegards,
Sai
Hi,
I hope you are calling this pcr by means of ESG for PCR (value 3) and with wage type.
Please try executing this PCR by removing "GEN" and "NOAB".
Also Please check:
Payscale group is assigned in infotype 8 of any employee.
Please show me the infotype 8 screen shot (whether this employee is having the payscale group C2).
Also check his ESG for PCR in infotype 1.
Please also show me the table IT with wage type 1UK1 - which should have the value.
Also show the WPBP table which should have this payscale group.
regards,
bala.
Hi Balu
Made the changes in PCR as below.
But getting the error in the log as
After this I have inserted **** like below to remove the error.
After this log is ok, no error in the log but amount for night shift allowance is not coming. PCR is not processed..
pcr is inserted as below.
pit zuks
i have attached the screenshot
plz help
regards
sai
Hi,
I forgot to specify ESG for PCR in my attachment. Please add one more branch/node and repeat the lines for the corresponding ESG for PCR as given in the attached picture. In my example, I specified as '2'. You can find out the ESG for PCR in table WPBP (by checking the payroll log) or check the view v_503_b for the ESG for PCR assignment of this employee. (you can also remove the added line **** ADDWT * as marked in the below picture).
regards,
bala.
Hi Balu
Thanks a lot for your help. It is working fine now.
1. but we have many payscale groups like C2, for all these groups night shift allowance is applicable. so is there any problem if we create many payscale groups like c2 in the pcr. ( I mean length problem)
2. it is working fine if the payscale group is two digit, like c2.
if it is single digit like 5 then it is showing error in the log. It is not reading payscale group in pcr if it is single digit. so how to adjust this if the payscale group is single digit.
regards
sai
Hi,
Payscale group 5 can be represented as '05' so that it will be 2 digit.
Is your system is newly getting configured or it is a running system?
If it is a newly configured system, you can change '5' as '05'.
But be cautious, while changing it. Because it may impact other pcrs/tables which are already referring this.
Other option to think:
Verify whether all the employees having wage type 1UK1 getting paid with this allowance?
or
can you find any other criteria other than payscale group for these employees having this wage type 1UK1?
Please post your error log.
regards,
Bala.
User | Count |
---|---|
99 | |
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.