cancel
Showing results for 
Search instead for 
Did you mean: 

Attendance Bonus PCR

Former Member
0 Kudos

Dear Experts,

As my client pays ATTENDANCE BONUS for the employees who work for entire month (meaning who do not take any leaves / remain absent / no LOPs in a month).

The bonus is based on his Basic Salary and few other wage types.

The time data is maintained in IT2011.

All I need is a PCR which would check if the Employee is present for all the working days of a month and calculate the amount which is to be reflected as ATTENDANCE BONUS.

I have initiated a PCR (to send the amount to wagetype) which reads as

*

   ****

     ADDWT XXXX OT   Output table (where XXXX is the wage type # attendance bonus)

     WGTYP?     Query wage type

       ****

         ADDWT *    OT   Output table

and hav inserted it in the modified XT00.

But, I need another PCR which would do all the necessary examinations,

viz: check the number of days the employee is present.in the month,

       Compare the number of days present to the number of working days for tht particular month,

       If days match, then generate the amount based on his Basic Salary.

If you can help me out in designing the PCR.

As am new in PCRs, it would be great if ur explanations comprise the keywords tobe used in the PCR.

Cheers n Thnaks in advance.

TahirMuzza

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Waiting for more inputs....

regards

TahirMuzza

former_member193652
Active Contributor
0 Kudos

Hi Tahir,

I recommend to run a scenario with a type of such a absence. Then go to PY side and run PY to check if you have the absence in table PARX or not.

You can see PARX as output of PAB function under sub-schema XT00. Share an screen of it to have a look at.

Regards,

Omid

former_member193652
Active Contributor
0 Kudos

Hi Tahir,

You would implement your scenario in PT side or PY?

If you can pass it to PY side it's easy because you have all absences by partial/full period parameters  like  (T | G) (K | A | S) (AU | AP | AX) xx

For example GSAU** and GSAP** give you all unpaid absence and paid absence in hours format in a full period respectively.

Otherwise you can write PCR(s) to control and count all absences in PT side.

Regards,

Omid

Former Member
0 Kudos

Hello Omid,

I have to executive this scenario in both  viz PT n PY sides:

As in PT, I have to check whether if the employee has takes any sort of leave or is been absent in that particular month..

And in PY, I shud be calculating the amount (BONUS) if the PCR does not enter the loop in PT..

Plz help me out..

Regards

Tahir Muzza

seg_hr_it
Active Contributor
0 Kudos

Plz carefully check document below. After deeply understand you can do by yourself. Thanks.

Relationship Time Evaluation and Payroll

Absence Quota basing on Working Date

Understanding Relationship PT and PY

if you are using negative time (no need run TE Time Evaluation) you can refer Integrating Negative Time and Payroll

Regards,

Woody

Former Member
0 Kudos

Try to process absence table (AB) or partial month parameter table (PARTT, PARTA)

Regards

Rachid

Former Member
0 Kudos

Hi Rachid,

Well Thanx so much, As said am new to PCRs, If u can stretch and explain me a bit in details.. Honestly, I dont knkow what is PARTT and PARTA..

And also plz let me know if my idea (as said above) will work or not.

Cheers

TahirMuzza

Former Member
0 Kudos

Hi Tahir

I created this rule for you. it verify if the EE has taken a paid absence, if not it verify if an unpaid absence, if not it will add 100 to wage type 9001

look in more details to this operation, you can add other verification in case of period split.

try to inspire from rule : XPPF

For Table PARTT, look to this:

http://help.sap.com/saphelp_45b/helpdata/en/6d/6ea5784d4711d2a5d90000e83ddb11/frameset.htm

Regards

Rachid

Former Member
0 Kudos

Hello Rachid,

Per ur suggestions, We have created a PCR as below:: Everything is workin fine bt except RTE/& VAR9... as it is producing wrong sum of bonus.. If u can put in some more..

And I really appreciate u on designin a  PCR which illuminated my idea.

Thanks

TahirMuzza

Former Member
0 Kudos

Hi,

We have write or calculate the number of days which employee have full day presence from  IT 2011 and keep this into a Time type and at last of the month make it to a wage type to ZL. Once you get the values to this wage type you can calculate  the payment in the Payroll PCR. But to do this in PCR you have to write the PCRs in time management to check the time entries and add to ZL.

C.Praveen

Former Member
0 Kudos

Hi Praveen,

Its so nice of u.. Yah my idea is also same.. I need to create a time type and store the number of days (the employee worked) in this time type.. then compare it with either TASOLL or TKSOLL.. put a condition and continue the same PCR to calculate the amount.. But because i am new to PCRs, I dont kow how to pass the number of days to time type.. And ALSO at the end of the month, the time type shud come back to ZERO as the fresh data will start from the next month.

If u can help me out in knowing how to pass the number of days to a time type..

Cheers

TahirMuzza