Enterprise Resource Planning Blogs by Members
Gain new perspectives and knowledge about enterprise resource planning in blog posts from community members. Share your own comments and ERP insights today!
Showing results for 
Search instead for 
Did you mean: 
Active Contributor


One the most interesting features in SAP HCM Time Management module is generating absence records automatically. Here, In part 1 of my document, I will show you how you can utilize this possibility to generate records in IT2001 based on recorded reasons in clock-in/out devices. Part 2 will describe how to process TIP table to fill the gaps in it.

What is a absence / attendance reason?

Most of clock-in/out devices provide facility to keep the reasons of coming late or leaving early and there is possibility to keep define different reasons on each device. Employee by knowing the reasons can select the appropriate one when the leave premise.

Here I will talk about absence but you can use the same method for attendance either.

How define a reason in SAP?

Open V_T705A (Att./Absence Reasons for Subsystem: Overview) in SM30. Let me define a reason for "Doctor Appointment".

There are some fields must be field and I explain them here:

1. At/ab(Grouping of Attendance/Absence Reasons): This field is related to IT0050 in "Interface data" section as "Grpg. att./absence.

2. ESG(Employee Subgroup Grouping for Work Schedules): Comes from V_503_ALL column WSchedule

3. PSG(Personnel subarea grouping for absence and attendance types): Comes from V_001P_All column WSchedule

4. A/Areas(Attendance/Absence Reason): A sequence number

5. A/A Type(Attendance or Absence Type): This is the absence type we would generate by system in IT2001 by recording this reason

How SAP keeps a reason?

By transferring clock-in/out data from time recording system into SAP, you can see the reasons in IT2011.

Here I have created some records as sample and I have selected a reason manually to simulate the procedure.

You know by RPTCC103 (HR-PDC: Download Attendance/Absence Reasons) you can download reasons into time recording system.

How schema evaluates a reason?

Function P2011 imports reasons into TIP table and you can see it in either EPin or EPin. In this case it's in EPin because employee has recorded reason when s/he was leaving organization.

In the schema TD80 and TD90 are responsible for processing Att. / Absence reasons. As you see by running PT60 (time evaluation) system will generate an "Error" and won't continue for this employee.

Although system generate an error, an absence record will be created in IT2001. The record in locked by default. As you see start and end of record is exactly the same employee was out of office but durations (column hours, days, used) are empty.

As you know it is time administration's responsibility to check time evaluation issues day to day and decided about them. In this case by unlocking the absence record and pressing enter, system calculates durations and time administration saves it.

Next day by running time evaluation system will consider the absence record which had generated automatically and approved (unlocked) by time administrator

As you see here there is no need to send any request for absence and time admin or even employee's manager can approve the generated record.

I hope you enjoyed first part of automatic absence generation using att./absence reason. In next part I will show you how we use the same method to generate records for gaps (employee clock-in/out without reason, come late or leave early) in TIP table.


Labels in this area