HR Abap
HR Abap
HR Abap
AGENDA SAP HR Modules HR-ABAP Over view Difference b/w ABAP and ABAP HR Info types: Subtypes
Characteristics Structure
Common Info types Time Constraints Personnel Administration(PA) Create a custom info types Enhancements
Benefits Enrollment
Employee Training Travel Expense Administration Time Reporting & Work Schedule Planning Payroll Administration Employee Development & Salary Administration Cost Planning & Reporting
SAP HR Modules
ABAP HR
Transparent &Cluster Tables Info types LDBs are frequently used
Info types
Infotypes are used to group related data fields together. They provide information with a structure, facilitate data entry, and enable you to store data for specific periods. USE : Recording employee data for administrative, time recording, and payroll purposes is of primary importance for master data administration in HR. In the SAP System, the information units used to enter master data are called infotypes
When you update an employees personal data, the old data is automatically time-delimited. The system creates a validity period for each infotype record. As a result, each employee infotype has several data records that differ from each other by their validity periods. For example, information on a persons city of residence, street and house number combines to form the employees address, and is therefore stored in the infotype Address.
Subtype:
. In information type (infotype) can be divided
into subtypes. For example, family data can be broken down further to represent spouse and children. Each subdivision group is known as a subtype
When you declare an info type using the INFOTYPES statement, an internal table Pnnnn with the structure Pnnnn is created and all records of the info type are transferred to this table.
Structure Pnnnn
Applicant Actions Applications Vacancy Assignment Applicant Activities Applicant Activity Status Applicant's Personnel Number
Time Mgmt:
2001 2002 2003 2004 2005 2006 2007 2010 2011 2050 2051 Absences Attendances Substitutions Availability Overtime Absence Quotas Attendance Quotas Employee Remuneration Info Time Events Annual Calendar Monthly Calendar
Benefits:
Health Plans Insurance Plans Savings Plans Flexible Spending Accounts General Benefits Information
Time Constraints
The concept of Time Constraints is very important in HR ABAP. This is due to the fact that all the info type records are Time Delimited, which is to say that all the records are valid only for a particular time frame. Info types have a validity period.
Time Constraint 1:
For the entire time that the employee works at the organization , exactly one valid info type record must exist.
The validity periods of the individual records must not overlap. If a new record is created, the system automatically uses the start date of the new record as the delimitation date of the old record.
Infotype 0000 Actions Infotype 0001 Organisational Assignment Infotype 0002 Personal Data Infotype 0008 Basic Pay
Time Constraint 2:
No more than one valid record can exist at any one time. Records with constraint 2 must not overlap. If a new record is created, the system automatically delimits the previous record, if one exists. Examples: Infotype 0185: Personal IDs Infotype 0021: Family/ Related Person, Infotype 0045: Loans
Time Constraint 3:
Any number of valid records can exist at any one time. The individual records do not conflict with each other.
For example, an employee may have many qualifications records simultaneously (overlaps permitted). If a qualification expires, the record may be delimited (gaps permitted).
Examples Infotype 0024: Qualifications Infotype 0040: Objects on Loan Infotype 0102: Grievances
Time Constraints
Start Date 1 31/12/9999
2001 Absence
2001 Absence
Personnel Administration(PA)
The Personnel Administration (PA) module is used for creating, maintaining and processing employee data within the organization. When an employee is hired their details are stored in the PA module.
Once the employee is hired, the PA module is used to perform a number of functions including updating employee records.
Action (0000) Organizational Assignment (0001) Personal data (0002) Address (0006) Org Assignment Planned working time (0007) Basic Pay (0008) Bank Details (0009) Personal Data Infotype 0019 (Monitoring of Tasks) Infotype 0041 (Date Specifications) Infotype 0105 (Communication)
Basic Pay
Work Schedule
Employee
Address
View/table maintenance for Infotype Characteristics View/table maintenance for Technical Attributes View/table maintenance for Subtype Characteristics View/table maintenance for Dynamic Actions List of Infotypes Infotypes other with Name Country-Specific Infotype
T Codes:
Display HR Master Data Maintain HR Master Data Personnel Actions Create Info type Maintain Table Views
Summary
Personnel Administration Represents an employee personal file, holding as little or as much information as you wish!
Enhancement
System automatically generates the program ZPnnnn00 and called in MPnnnn0. Pnnnn->PSnnnn->CI_Pnnnn.