cancel
Showing results for 
Search instead for 
Did you mean: 

PCR to calculate special allowance for public holidays:

Former Member
0 Kudos

Hi Experts,

Client requirement:

Client needs to calculate special allowance based on no of

public holidays in a month.

I have taken a constant X=Rs1000.

I have created a additional payment wage type "Y100",

Following is the PCR:

SK70 Personnel Calculation Rule SK70

*

****

ERROR Cancel processing

3

4S01 Kris pmt for holidays

NUM= ANZHL Set

RTE= SK001 Set

NUM?0 Comparison

*

>

MULTI NRA Multipl.amt/no/rate

ADDWT * OT Output table

but i am not getting the output.

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

sikindar_a
Active Contributor
0 Kudos

ok

in that case please do let us know what are u trying to give in the WT in the Infotype and paste ur PCR in tree Structure

Former Member
0 Kudos

Hi Sikindar,

I am entering "4" in one of the additional payment wage type:

field: no of days i.e ANZHL.

Following is the PCR:

xxxx Personnel Calculation Rule xxxx

x

xxxx Kris pmt for holidays

ADDWT * OT Output table

RTE=KS001 Set

MULTI NRA Multipl.amt/no/rate

ADDWTE AMT RT Results table

thanks.

sikindar_a
Active Contributor
0 Kudos

RTE=KS001 Make it KS0001 now try

Former Member
0 Kudos

Hi Sikindar,

Thanks a bunch.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

As per Standard the following only is there for Query Paid public holidays in Payroll PCRs, And you are not given business specific i mean Where do maintain Wage type or system it self should take ?? Your PCR business also something wrong. Using the following build your logic (try to learn your self, I am not denying you, we are all just pushing your skills to improvement) and post here any issues. If any Issues will provide PCR...

TKAXxx : Paid public holidays in calendar days

TAAXxx : Paid public holidays in working hours

TSAXxx : Paid public holidays in working hours

xx can have the following values:

0n for the one-character numerical public holiday class from the

work schedule (1 <= n <= 9)

    • for the sum of all paid public holidays (totalled over all

classes).

sikindar_a
Active Contributor
0 Kudos

Can u elobarate with an example

Former Member
0 Kudos

Hi Sikindar,

If at all no of public holidays in a month are "4",

it has to be multiplied by constant "1000",and store the value i.e 4000 in wage type "y100".

Thanks in advance.

sikindar_a
Active Contributor
0 Kudos

the input will be given by user as Public holidays right , if yes

*

****

ADDWT *

XXXX ur wage type

RTE=KXXXX

MULTI NRA

ADDWTE XXX

Where XXXX ur WT which has 4 days , KXXX is 1000 and out put will be 4000 , Do you have any thing else ...... Apart from this

Former Member
0 Kudos

Hi Sikindar,

Thanks for the reply.

User will enter no of days as a input in additional payment wage type "XXXX".

consider this while building a PCR.

Thanks in advance.

Kris

Former Member
0 Kudos

Hi Krishna,

You can do it through PCR in the following way.

Check current day --> Check particular Days Holiday class --> if the holiday class is PH cllass then add a value to one time type.

And this value you should get into Payroll PCR the no. of days --> And multiply with your constant as per your PCR.

Hope it helps you.

Reg,

Srini

sikindar_a
Active Contributor
0 Kudos

krish

Have u tested with PCR which i have given to u and also the information given to u by ERP1234 is quite enough let us know in case of any thing else

Former Member
0 Kudos

Sikindar,

I tested with ur PCR.

sorry but it is not working.

sikindar_a
Active Contributor
0 Kudos

are u not getting any results with that PCR

Former Member
0 Kudos

Hi Sikindar,

Following is processing happening in the payroll driver:

xxxx wage type for holiday payment

Rule ESGPCR VaKey Operation

xxxx x ADDWT *

xxxx x RTE= SK001

it is not processing further.

Thanks in advance.

sikindar_a
Active Contributor
0 Kudos

RTE=KXXXXX

Dont give space between = and constant shd be started with K

Former Member
0 Kudos

I made the change.but it is not working.

Rule ESGPCR VaKey Operation

xxxx x ADDWT *

xxxx x RTE=KS001

sikindar_a
Active Contributor
0 Kudos

Can you send me the Screen Shot ?

Former Member
0 Kudos

HI Sikindar,

It is highly confidential material,

Thanks.

Kris