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
The various Processes in SAP HR
Recruitment
Hiring
Benefits Enrollment
Employee Training
Travel Expense Administration
Time Reporting & Work
Schedule Planning
Payroll Administration
Employee Development & Salary Administration
Cost Planning & Reporting
SAP HR Modules
Modulesof the SAP HR System
Organizational Management
Personnel Administration
Time Management
Payroll
Recruitment
Training & Event Management
Personnel Development
HR-ABAP Over view
Differences b/w ABAP and ABAP HR
ABAP ABAP HR
Transparent Tables
No Info types
LDBs are rarely used
Transparent &Cluster Tables
Info types
LDBs are frequently used
Info types
Infotypesare 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 employee’s personal data, the old
data is automatically time-delimited.
The system creates a validity period for each infotype
record. As a result, each employee infotypehas several
data records that differ from each other by their validity
periods.
For example, information on a person’s city of residence,
street and house number combines to form the employee’s
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
Characteristics of Info types
Each infotype has a 4 digit code and name.
0000 -8999 are controlled by SAP.
Some infotypes are subdivided into Subtypes.
Basic form:
INFOTYPES: nnnn.
Effect:
Declares the HR info type nnnn. Creates an internal table as
follows:
DATA: BEGIN OF Pnnnn OCCURS 10,
INCLUDE STRUCTURE Pnnnn.
DATA: END OF Pnnnn,
VALID BETWEEN BEGDA AND ENDDA .
Infotype Naming Conventions
0000 to 0999 –HR Master data / Applicant data(PA)
1000 to 1999 –Organizational Management(OM)
2000 to 2999 –Time data
4000 to 4999 –Applicant data(Recruitment)
9000 to 9999 –Customer defined
3000 to 3999 and 5000 to 8999 –Not yet Defined
Structure of Info types
The Data Dictionary contains a Pnnnnstructure for each info type
nnnn.
The info type structure Pnnnn corresponds to the table PAnnnn.
The info type is defined in the Data Dictionary as a structure
without a database.
The Pnnnnstructure of the info type is used as the field structure
for the info type entry screen.
When you declare an info type using the INFOTYPESstatement, an
internal table Pnnnnwith the structure Pnnnnis created and all
records of the info type are transferred to this table.
Structure
Pnnnn
TABLE
PAnnnn -- PA
PBnnnn -- Recruitment
HRPnnnn -- OM
Module pool
MPnnnn00
Info type is Combination of
Common Info types
PA Type Info types:
0000 Actions
0001 Organizational Assignment
0002 Personal Data
0006 Address
0007 Planned Working Time
0008 Basic Pay
0009 Bank Details
0014 Recur. Payments/Deds.
0015 Additional Payments
0016Contract Elements
0019Monitoring of Tasks
0021Family
member/Dependents
0022Education
0025Appraisals
0027 Cost Distribution
0032 Internal Data
0041Date Specifications
0105Communication
OM Type Info types:
1000 Object
1001 Relationships
1007 Vacant positions
1011 Work Schedule
1028 Address
Recruitment Type Info types:
4000Applicant Actions
4001Applications
4002Vacancy Assignment
4003Applicant Activities
4004Applicant Activity Status
4005Applicant's Personnel Number
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 Constraints control overlap of data.
•There are three types of Time Constraints for info type records,
namely Time Constraint 1, 2 and 3.
•Time Constraint 1:No gaps, no overlaps
•Time Constraint 2:Gaps may exist, but no overlaps
•Time Constraint 3:Gaps may exist, overlaps may exist
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.
Infotype0000Actions
Infotype0001OrganisationalAssignment
Infotype0002PersonalData
Infotype0008BasicPay
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:
Infotype0185:PersonalID’s
Infotype0021:Family/RelatedPerson,
Infotype0045: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
Infotype0040:ObjectsonLoan
Infotype0102:Grievances
Start Date 31/12/9999
0001 Org Assign.
1
2001 Absence 2001 Absence
2
0040 Objects on Loan
0040 Objects on Loan
0040 Objects on Loan
3
0001 Org Assign.
Time Constraints
Personnel Administration(PA)
.
What is Personnel Administration module?
Central repository employee data.
Basis of the entire HR system.
Integrates with ALL HR modules,
SD, FI/CO, SM, PM, Workflow.
Most Commonly used Infotypesin PA
Action(0000)
OrganizationalAssignment(0001)
Personaldata(0002)
Address(0006)
Plannedworkingtime(0007)
BasicPay(0008)
BankDetails(0009)
Infotype0019(MonitoringofTasks)
Infotype0041(DateSpecifications)
Infotype0105(Communication)
Work Schedule
Employee
Org Assignment
Personal Data
Basic Pay
Address
Important Info types in PA
Create a custom info types
Tables:
V_ T582AView/table maintenance for Infotype Characteristics
T777D View/table maintenance for Technical Attributes
V_T591AView/table maintenance for Subtype Characteristics
T588Z View/table maintenance for Dynamic Actions
T778T List of Infotypes
T777T Infotypes other with Name
T77NI Country-Specific Infotype
T Codes:
PA20 Display HR Master Data
PA30 Maintain HR Master Data
PA40 Personnel Actions
PM01 Create Info type
SM30 Maintain Table Views
Personnel Administration
Represents an employee personal file, holding as little or as much
information as you wish!
Stores history of information and people
Is KEY to the successful running of a SAP.
Summary
Enhancements
Enhancement
System automatically generates the program
ZPnnnn00and called in MPnnnn0.
Pnnnn->PSnnnn->CI_Pnnnn.