cancel
Showing results for 
Search instead for 
Did you mean: 

Need help in PCR for NZ payroll

ajaykumar2
Explorer
0 Kudos

Hi SAP Guru,

Please help me out to design a PCR for NZ payroll.

Below is the scenario.

1) if sum of wage type /364, /366/ , /466 is greater than 6% of the basic then wage type /366 and /466 to be generated as it is while values of wage type /364 should be 6% of the basic -value of /366.

2) if sum of wage type /364, /366 and /466 is less than 6% of the basic then all wage type i.e /364, /366 , /466 should be generated as it.

Wage type /364, 366 are generated through Infotype 0310 while /466 is the  30 % tax on wage type /366.

Please response me asap.

Accepted Solutions (1)

Accepted Solutions (1)

former_member193210
Active Contributor
0 Kudos

I don't know anything about NewZeland Payroll, but I will suggest that you look at where in Payroll your Infotype 0310 is processed (possibly Function P0310?).

If WTs /364 and /366 are generated by IT0310, and WT /466 is calculated based on the value of /366, then the only way to achieve your requirement would be to modify the values of these WTs after they are all created (since you first have to generate them, then add them up to make a decision on their final value).

P.S.: It may have been more pertinent to create this Discussion Thread in

ajaykumar2
Explorer
0 Kudos

Hi Remi,

I have inserted PCR in schema after function P0310 but problem is that basis wage type1000 is not coming there in input table so I am unable to apply condition on wage type 1000.

Could you guide me how pull all the wage type in input table at this point?

Thanks

sikindar_a
Active Contributor
0 Kudos

The basic wage type might be pushed to RT after Processing of X023 , PRCL class 20

you have two options either change the basic wage type to move to OT table , Else store the value of basic pay in a variable Table and Query based on that variable table

Ex :- 

*

1000 (basic pay)

ADDWT *

ADDWT&1000

former_member193210
Active Contributor
0 Kudos

I don't know where Function P0310 is called in your Payroll Schema, so if the Basic Pay WT is transfered from OT to RT before, then I would suggest that just before that transfer, you create a temporary variable (as suggested by Sikindar).

ajaykumar2
Explorer
0 Kudos

Hi Sikindar/Remi,

I followed the step suggested by you. Now all values are available to apply further condition.

VAR for wage type 1000 is ACCC , while for some 3 wage type is ABBB.

Please now suggest, how can I compare the values using PCR as I am unable to do it.

sikindar_a
Active Contributor
0 Kudos

Can you be some more clear

former_member193210
Active Contributor
0 Kudos

If you are talking about temporary variables in table VAR, and that the temporary variable ACCC holds a Rate, a Number and an Amount, you can call either of these 3 values in a pcr, by using the appropriate Operation.

To compare the Amount of the WT being processed with the Amount of temporary variable ACCC, you would use Operation AMT?& ACCC

ajaykumar2
Explorer
0 Kudos

Hi Remi/Sikindar,

Thanks a lot for your valuable inputs.

I have designed PCR for 2 conditions and it is working fine. Will complete the pending conditions as well and will update on this thread.

Answers (0)