cancel
Showing results for 
Search instead for 
Did you mean: 

Payroll PCR issue

lakshmanmsit
Participant

Hi All,

We have below requirement in Payroll.

Wagetype 6411 have 0.20 hours maintained in IT0015

ZCCQ9 maintained 0.6 value in T511k

Monthly hours worked = 40 hours

Expected value is (0.20+.60)*40 = 32

Below is the PCR created but not get the expected value 32.

Could you please help us on this .

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

corriveau_remi
Active Participant

If I read correctly, in the Input Table to PCR ZDD2, you have the following values:

1 6411 01 0.00 0.20 0.00

1 9903 01 0.00 40.00 834.00 (both have the same splits)

for WT 9903, try:

ADDWT * (WT 9903 goes back to the Output Table unchanged.

ZERO= RNA

RTE=TSSOLL (from your log, TSSOLL should be 40.00)

NUM=KZCCQ9 (constant ZCCQ9 is 0.6)

MULTI RNA

ADDWT&990A (temporary variable 990A should have RTE = 40.00, NUM= 0.60 and AMT= 24.00)

ZERO= NA

NUM= 6411 (from the Input Table, WT 6411 has a number of 0.20)

MULTI RNA

ADDWT&990B (temporary variable 990B should have RTE = 40.00, NUM= 0.20 and AMT= 8.00)

ZERO= RNA

AMT=& 990A

AMT+& 990B

ADDWT 6411 (WT 6411 should have RTE = 0.00, NUM= 0,00 and AMT= 32.00

lakshmanmsit
Participant
0 Kudos

Hi Remi and Sikindar,

Thanks for the update, now its working as expected.

Thank you

Answers (25)

Answers (25)

sikindar_a
Active Contributor

In that case the PCR should be bleow PARTT function

RTE=ZCCQ9

MULTI NRA

RTE=TSSOLL

MULTI ARA

ADDWT *

* I assum the value in TSSOLL should be weekly that is 40 Hours can you check the output of PARTT Function

corriveau_remi
Active Participant
0 Kudos

Hello Lakshamanaperumal,

For the benefit of others in the SAP Community who could have a similar problem, could you please mention how you solved the problem?

lakshmanmsit
Participant
0 Kudos

Hi Remi,

Below PCR i have added. Now it is working fine.

ADDWT * (WT 9903 goes back to the Output Table unchanged.

ZERO= RNA

RTE=TSSOLL (from your log, TSSOLL should be 40.00)

NUM=KZCCQ9 (constant ZCCQ9 is 0.6)

MULTI RNA

ADDWT&990A (temporary variable 990A should have RTE = 40.00, NUM= 0.60 and AMT= 24.00)

ZERO= NA

NUM= 6411 (from the Input Table, WT 6411 has a number of 0.20)

MULTI RNA

ADDWT&990A (temporary variable 990B should have RTE = 40.00, NUM= 0.20 and AMT= 8.00)

ZERO= RNA

AMT=& 990A

AMT+& 990B

ADDWT 6411

Thank you

lakshmanmsit
Participant
0 Kudos

Thanks Sikindar for your time. I will do the mentioned changes and update you shortly.

Thank you

sikindar_a
Active Contributor
0 Kudos

RTE=ZCCQ9

MULTI NRA (Here .20*.60 that will be .12)

ZERO= R

RTE=TSSOLL (40)

MULTI ARA (.12*40) .060 should come in output

ADDWT *

Please check and Apologies for extending your query

lakshmanmsit
Participant
0 Kudos

Hi Sikindar,

Input i have given 0.20 hours in IT0015

Thank you

sikindar_a
Active Contributor
0 Kudos

What is the input you have given in the Wage type ?

please check how 834 is coming ?

lakshmanmsit
Participant
0 Kudos

Hi Sikindar,

I have removed the NUM=6411

Thank you

sikindar_a
Active Contributor
0 Kudos

Remove NUM= 6411 and share the result. Dont do any changes apart from this

lakshmanmsit
Participant
0 Kudos

Hi Sikindar,

I have added NUM=6411

got the value 24 and 8 .but no idea to add the value 24+8

Thank you

lakshmanmsit
Participant
0 Kudos

Hi Sikindar,

I am getting 6411 as 960

Thank you

sikindar_a
Active Contributor
0 Kudos

Change the PCR like this

RTE=KZCCQ9

MULTI NRA

ZERO= R

RTE=TSSOLL

MULTI ARA

ZERO= R

ADDWT 6411

lakshmanmsit
Participant
0 Kudos

Hi Sikindar,

Thank you

sikindar_a
Active Contributor
0 Kudos

Can you share your PCR from PE02

lakshmanmsit
Participant
0 Kudos

Hi Sikindar,

No it is not calculating 0.20*0.06 any where.

Thank you

sikindar_a
Active Contributor
0 Kudos

It is multiplying 24*40 = 960 Can you check Whether 0.20 *0.06 is getting calculated

lakshmanmsit
Participant
0 Kudos

Hi Sikindar

Input table of the PCR

output of the pcr

,

Thank you

sikindar_a
Active Contributor
0 Kudos

Your PCR Should be like this

RTE=ZCCQ9

MULTI NRA

ZERO= R

RTE=TSSOLL

MULTI ARA

ADDWT *

sikindar_a
Active Contributor
0 Kudos

Can you share input Table of the PCR and The PCR Screen shot

you want .12*40 Hrs right

lakshmanmsit
Participant
0 Kudos

Hi Sikindar,

I am getting 960 value.

Thank you

lakshmanmsit
Participant
0 Kudos

Hi Sikindar,

40 Hours is the weekly working hours getting from Time.

Thank you

sikindar_a
Active Contributor
0 Kudos

Now , 40 Hours a week how are you defining it in the PCR. I mean is it constant or will change based on months

lakshmanmsit
Participant
0 Kudos

Yes Shikindar.

I got the value 0.12

But expected value should be 32

sikindar_a
Active Contributor
0 Kudos

You want to Multiply Hours X Rate or Add hours and RATE ?

IF hours is multiplied with RATE maintained in T511K , Firstly try this

RATE=ZCCQ9

MULTI NRA

ADDWT *

You should get .12 in out put canyou check this for me.

lakshmanmsit
Participant
0 Kudos

Hi Sikindar,

Thanks for your response.

I changed to MULTI NRA but not get the expected value 32.

Sorry wronly mentioned NAA.

sikindar_a
Active Contributor
0 Kudos

So you want to add Hours and Rate maintained in T511K

By the way how you are multiplying 40 Hours per week ?