cancel
Showing results for 
Search instead for 
Did you mean: 

Help required in writing PCR's

Former Member
0 Kudos

Hi All,

Update on this is highly appreciable and points will be rewarded.

Thanks & Regards,

surya

Hi All,

To calculate OT as per the Client requirement two PCR's needs to be wriiten.

1. OT should not be paid if it is less than 30 mins.

2. OT should be calculated as follows:

(basic2/26/8no. of hours).

Your help in this regard is highly appreciable.

Thanks & Regards,

Surya

Edited by: Surya Prakash Kanuru on Sep 15, 2008 9:55 AM

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member214675
Active Participant
0 Kudos

Hi,

No need to write to 2 PCR ,with one pcr itself it can be calculated . Here maintain overtime hrs in 15 infotype ,such that overtime hrs will be stored in a wage type say 9ovt .

Pcr can be build in this way

90vt

num = 90vt(where overtime hrs will be transfered to num)

num?0.5

< ( if the hrs is 30 mins )

your logic

= (30 mins )

logic calc

> (30 min)

amt = 1001 (basic wage type)

amt = 1001 div 2

some calc

div ana (for dividing with the no of hrs and passing the overtime value to the amt)

addwt *

Hope it helps u

Regards,

Prince Elvis

Former Member
0 Kudos

Prince, can u send me ur email address, i need help in PCR for payroll.

Former Member
0 Kudos

Hai,

You need to do some configuration in spro.

After that, you can do your requirement.

In t510 table you can maintain the Max, minimum timings( Whether do you want 2 or 3 hours) select the relevant type and internal field.

If you want overtime calculation like 150%,175%,200%,

v_512w_b in this table configure the how much percentage you want and also on which wage type you need caluculate overtime, maintain the statement wage type with percentage.

Former Member
0 Kudos

Thank you all for your timely help.

Former Member
0 Kudos

Go to Schema where the OT Calculates and insert a Z pcr there as follows

Initialize the wage typp

you might be having No of OT hours time type with you. you have to multiply with it as follows and finally pass the amount to same wage type

/OVT

/OVT *2

/OVT / 26

/OVT / 8

/OVT * NOTH

ADDWT /OVT

regards