cancel
Showing results for 
Search instead for 
Did you mean: 

Overtime Calculation Scenario

Former Member
0 Kudos

I have a requirement of overtime calculation.

My client using a program, through this program total number of overtime hours is updating in infotype 15.

Overtime formula is below :

Basic Pay / Days of a month / working hours in a day = overtime hours x 2

Please suggest how to write a pcr for this scenario.

Regards,

Deep

Accepted Solutions (0)

Answers (3)

Answers (3)

venkateshorusu
Active Contributor
0 Kudos

NUmber of hours are getting updated in IT0015 with the help of wage type i.e you have number of hours then write like below.

****

XXXX

NUM*2

AMT=  YYYY

AMT/TKSOLL

AMT/KXXXXX Constant number of hours

MULTI NAA

ADDWT *

Regards

Venkatesh

Sanky
Active Contributor
0 Kudos

Hi,

In the IT15 through wage type you are storing the number of hours worked. Suppose overtime wage typs is 9999.

Then you will write the below PCR for the same.

ZOVT

*

   ****

          ADDWT *

3

   9999

          AMT=  1000

          RTE=TKSOLL
          DIVID ARA

          ADDWT&100A

          AMT=&  100A

          NUM=KZDWS

          DIVID ANA

          ADDWT&101A

          AMT=& 101A

          NUM=  9999

          MULTI ANA
          ADDWT&102A

          AMT=& 102A

          AMT*2

          ADDWT 9999

  ****

         ADDWT *

Here ZDWS is the constant for daily working hours which will store at T511K table.

Use this pcr with PIT function just after P0015 function iun the sunschema INAP like below

PIT  ZOVT GEN NOAB

Regards,

Sankarsan

Former Member
0 Kudos

Dear Sankarsan,

Thanks for immediate reply.

Please explain what is the meaning of 100A & 101A in your PCR ZOVT.

Regards,

Deep

Sanky
Active Contributor
0 Kudos

HI,

It's a variable wage type which will store the result at the payroll process for further calculation.

You can refer the ADDWT operation through TCode PE04.

Regards,

Sankarsan

Former Member
0 Kudos

Hi Sankarshan,

Please explain the below attached highlighted mark in your PCR.

Sanky
Active Contributor
0 Kudos

Hi,

Passing the amount to variable wage type and then calling again.

Read the ADDWT operation through Tcode PE04 and will get an idea.

If your query is answered then close the thread with correct answer marking.

Regards,

Sankarsan

Sanky
Active Contributor
0 Kudos

Hi,

If your query is answered then close the thread with correct answer marking.

Regards,

Sankarsan

Former Member
0 Kudos

Deep,

You may write the PCR as below

*

  ****

      1001 overtime wage type

           outwppersg

                W(Employee group for which you are writing PCR)

                AMT+  Basic Wage type

                MULTI NAA

                AMT/31 (No of days in a month)

                AMT/9   (Working hrs in a day)

                AMT*2

                ADDWTE1001          (Assuming 1001 is overtime wage type)

You may also compute the no of working hours in a month. Assuming that the no of working hours is 208 in a month, you may insert AMT/208 in place of AMT/31   and skip the step AMT/9.

Hope this solves your problem.

Experts please correct me, if I am wrong.

sikindar_a
Active Contributor
0 Kudos

When we are Querying or Validating X , we shd define the process for Y too

Example

*

XXXX

OUTWPPERSG

E

XXXXX

So what shd be process for other employee group other than E.