Skip to end of metadata
Go to start of metadata
No files shared here yet.

Configuration-Compensatory off / Comp off Generation through Time Type


This document explains configuration to generate a Compensatory Off/Comp Off, towards the employee’s attendance hours in non-working period i.e Pubic Holiday or Weekly Off.


Employer has a requirement for, “whenever employee serves the company on a Holiday or extra time hours on a working day, employee eligible for Compensatory Off in return to the service on that non-working period”.

This is possible through the Attendance Type with Counting Rule, Absence Type with counting Rule and Deduction Rule, Time Type Customization of PCRs TMON, TR11 and Schema TM04.

Step1: Create an Absence Type

Table: V_T554S

Create an absence with minimum duration as “Nil “and Maximum duration according to the client requirement.

Step2: Determine Entry Screens & Time Constraint Classes:

Table: V_554S_0

Maintain the fields as follows.

Screen for Recording Absences: 2001

Absence indicator: A

Time Constraint Class: 1

Step3: Define Counting Classes for Periodic Work Schedule

Table: V_T551C

Maintain the counting class as “7” and “8” according to your requirement.

Step4: Group Employee Subgroups for Time Quotas

Table: V_503_E

Maintain the ESG Grouping as “7” for the employee group.

Step5: Group Personnel Subareas for Time Quotas

Table: V_001P_I

Maintained the PSG grouping as “77” for the Personal Area.

Step6: Define Counting Rule for Absence:

Table: T556C

Maintain the fields as follows.

Tick the week days according to the Periodic work schedule.

Holiday Class: 0 Not a Public Holiday

Day Type: Work According to Work Schedule

Counting Class: Maintain” 8 “

DWS Class: 1

Conditions for absence: Tick both “<1 Day” and “Full Day”

Quota Multiplier: 100% Days or 100%Hours (If you want to book absence less than one day)

Planned Hours: >0

Here we are configuring the system, to consider absence on “Holiday Class: 0 “i. e. not a public holiday, to take it according to the weekly offs and working days in Work Schedule. Daily Work Schedule “1” as a working day. To consider the absence in in terms of hours and days as well.

Step7: Assigning Counting Rules to Absence Types:

Table: V_554S_Q

Assign the counting rule “120” to the absence type “COMP”

Step8: Creation Of Attendance Type

Table: V_554S_B

Created an attendance with minimum duration as ‘001

Step09: Determine Entry Screen & Time Constraint Classes

Table: V_554S_N

Maintain the fields as follows

PS Grouping for Absences

Maintain the start date and endate.

Attendance Indicator: P

Screen Number: 2051 No Quota Deduction

Time Constraint Classes: 1

As the attendance is not having any quota it is maintained as “2051”.

Step10: Define Counting Rule for Attendance:

Table: T556C

Step11: Creation of Absence Quotas:

Table: V_T566A

Step12: Automatic Accrual of Absence Quotas

Permit Quotas in Time Evaluation

Table: V_556A_B

Select the Increase field as the absence quota is generated in Time Evaluation

Step12: Rules for Generating Absence Quotas

Modify Feature: QUOMO

Step13: Define Time Types

Table: V_T555A

PSG Grouping for Time Recording: 01

Time Type: 9876

Save as Day Balance: Quota Will be Stored as a balance.

Cumulate in Period Balance: Quota Will Forwards to the next Period

Transfer Prev.Period: Quota will forward to next month

Step14: Determine Processing Type/Time Type Class for Attendance

Table: V_554S_F

Class for Time Evaluation: 1: If the absence lasts less than one working day, the time to be counted is reduced once the number of planned hours has been reached, i.e. an employee could not accumulate any flextime credit
on this day.Class 01 stands for all absences which are compensated by the employer (e.g. sickness, doctor's appointment). If a period of absence coincides with a public holiday, the day is counted as an absence day rather than as a public holiday.

P/T Class: Processing type/time type class

We can use the processing type/time type class to group absence and attendance types which are to be processed identically in time evaluation. A time type and processing type are assigned to the absence and attendance times in time evaluation according to the processing type/time type class.

Time balances can be formed by means of the time type. The formation of time wage types is controlled by the processing type.

Step15: Assign Processing Type and Time Type

Table: T555Y

PSG Grouping For Time Recording: 01

A grouping of personnel subareas for time recording is a division of personnel subareas for which the same time types, time transfer specifications, access control groups, and message types are defined.

Time Type Determination Grouping: The time type determination group specifies which time types and processing types are assigned to the time types by the time evaluation driver. The values used correspond closely to the schema which forms the basis for time evaluation. The time type determination group is set using operation MODIF in time evaluation's rule processing. This is usually in the initialization block of rule processing in a personnel calculation rule. The rule is called via function MOD.

Processing type for pair type 3: P

The processing type for pair type 3 is assigned in time evaluation to attendance time pairs of pair type 3. In the standard system, these are the attendances which have been recorded using the Attendances infotype (2002) and imported via function P2002.

Time type for pair type 3: The time type for pair type 3 specifies which time type should be assigned to attendance time pairs of pair type 1. In the standard system, these are attendances which have been recorded using the Attendances infotype (2002) and imported via function P2002.

Step16: Time Type Determination:

Table: V_T555Z:

Step17: Rule for Generating Absence Quotas.

Set Base Entitlements

Table: V_T559E

Enter Time Type in Period Balance .Hence the attendance will be generated as absence quota through time type 9876

Step18: Determine Validity & Deduction Interval

Table: V_T559D

Step19: Determine Generation Rules for Quota Generation

Table: V_T559L

Maintain Accrual Period: Calendar

Rule for Base Entitlement: Enter the Rule

Accrual Entitlement: No Prorata Calculation

Step20: Quota Deduction Using Absences

Define Deduction Rules for Absence Quotas:


Maintain the Unit of absence quota types as days.Etner the absence quota type number.

Step21: Assigning deduction rule to Counting Rule

Table: T556C

Maintain the deduction rule “120” in counting rule.

Step22: PCR Editing

Copy the PCR TMON to MMON. Enter the Time Type Determination grouping “77”.

Enter the” QUOMO” feature return value (Selection Rule) from V_T559L i.e.  “77”.

Copy TR11 to MR11

Enter the Time Type number 9876.Enter ADDDB * in the sublevel. The time type stores the attendance as day balance.

Step23: Schema Editing

Copy schema TM04 to MM04

Deactivate the TMON by commenting it. Enter another row to insert MMON. Call the PCR with MOD Function. Enter GEN in Parameter 2.

Deactivate TR11 and Insert the new PCR MR11 under it. Check the Balancing of the schema and activate it.

Step24: Maintain the attendance hours in PA30.

Go to 2002 info type select the attendance type “COMA” and go to create button. Enter the attendance hours from “11.01.2012” to “13.01.2012”.

Step25: Run the Time Evaluation

Run the time evaluation using the T. Code “PT60”.

Result: The compensatory of generated for “24” hours i.e. “8Hours*3Days”

Live Run: After the live run, the absence quota for Compensatory Off is Generated as “24” Hours.


Govardhan Reddy

SAP HCM Consultant


Disclaimer: This document does not contain the copyrighted content or material own by others. The coding or technical names used in the configuration screen shots are purely set as just examples and doesn’t belongs to the real time systems or material own by others. Any resemblance with the real time system or material own by others is s just a coincidence. The numbering, wording, coding are provided in screen shots are to give better understandings to the forum users. This document is only an effort to provide an idea to the user. The accuracy and completeness of result may vary from the systems to system. The author shall not be liable for direct or indirect damages of any kind that may result from the use of this material. I am fully abided by the rules and regulations of the forum. The prime motive is to serve the forum users better.


1 Comment

  1. Former Member

    Hi Govardhan...

    I am unable to view the links that is  copied over here and it would good if you can clearly mention the points from 14, 15, 16