cancel
Showing results for 
Search instead for 
Did you mean: 

NSA for particular pay scale groups in Payroll

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

BalaAP
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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

BalaAP
Active Contributor
0 Kudos

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.

BalaAP
Active Contributor
0 Kudos

Hi,

Please make the correction: ESG for PCR can be checked in V_503_B (not in infotype 1).

You may try calling the pcr as given below:

PIT ZUKS

regards,

bala.

Former Member
0 Kudos

Balu,

Amount is calculating correctly, but it is calculating for all pay scale groups.

How to restrict this.


Please check my pcr as mentioned above whether it is correct.

Thanks & Regards,

Sai

BalaAP
Active Contributor
0 Kudos

Hi,

You can change the 8th line (below OUTWPTRFGR) as given below:

1) Remove ****

2 )Create a Branch (sub tree) instead of line.

3)  **

      ADDWT *   

Please post the part of Output table.

regards,

Bala.

BalaAP
Active Contributor
0 Kudos

Hi,

refer the line below "OUTWPPERSB EE subgroup in v.key". In your case it should be "OUTWPTRFGR".

regards,

bala.

BalaAP
Active Contributor
0 Kudos

Hi,

You can close this thread, if the issue is solved.

regards,

bala.

Former Member
0 Kudos

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

Former Member
0 Kudos

also from time number of days are coming as shown. but in payroll amount is not calculating and pcr is not processed.

BalaAP
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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

BalaAP
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi Balu

Thxs for the reply.

It is newly configured system. All payscale groups, I will create 2 digit as we have only

this  payscale  group option to query the Night shift allowance.

Thanks and Regards

sai

Answers (0)