Professional Documents
Culture Documents
Whatishr?: Sap R/3 Module Overview
Whatishr?: Sap R/3 Module Overview
What is HR ?
The task of Human Resource Management is to produce the organizational
hierarchies, relationship between employees and to allow storage and
administration of employee data.
Organization:
We can define an organization as an individual enterprise (company or
industry) in which someone is leading it and with some departments like HR,
Marketing, Finance, and R&D etc.
For any organization employees are the most Powerful resource. So to
maintain the employee related data we require one system, which ensures
accuracy and consistent within the organization.
What is Infotype?
The information units used to enter the data of an employee are called infotypes.
Why Infotype
As HR is related to time, we require old data as well as new data. The data we
enter into the infotypes are automatically checked for accuracy and against the
table entries.
In simple, HR data is huge and to access data easily we require infotype.
The LDB is special type of ABAP program that combines the contents of certain
related database tables and retrieves some related data and make it available to
application programs.
In other words, a LDB is a method by which ABAP programs read and process
the data. The sequence in which the data is supplied to the program is
determined by a tree structure.
Structure
Selections
Database programs
At run-time, the system processes the events in the program and in the logical
database in the following order:
• o The selection screen is displayed and the user enters data in the
input fields
o The logical database and the program check that the input is correct and
complete , but also that the user has the appropriate authorizations. If an error
occurs, some fields are made ready for input again, so that the user can make
the necessary correction(s).
o The logical database reads the selected data and the program processes it
within the GET events according to the sequence specified by the structure.
• You can define your own selection screens for any logical database. If the
attributes of a program include the number of its own selection screen, the
system uses this screen as a model when generating. Any program-specific
selections appear after the database selections. The flow logic for such
screens is also generated automatically and therefore cannot be modified.
You cannot delete database selections
Functions of LDB:
Data retrieval:
The personnel data of each employee is loaded into the main memory where it
can be accessed for processing.
Screening:
There are two types of screening..Person selection and data selection period.
The data selection period delimits the time period for which data is evaluated.
When you enter the data selection period,the provide loop retrieves the infotype
records whose validity period overlaps with at least one day of this period.
Authorization check : This ensures that the person starting the evaluation Is
authorized to access the report data.
You can change the layout of the selection screen by assigning classes to
reports of the logical database PNP.This allows you to suppress the input fields
which are not used.
All reports without a report class are assigned the customer default report class
'00000000'.Otherwise the sap default report class ' ' is assigned.
Table t599b contains customer report classes and t599w the sap report classes.
If a report has no report class,either the customer default class(t599c) or the SAP
default class(t599f) is used.
All reports that use the logical database PNP automatically contains
DBPNPCOM module.
You can also read the records of an infotype for a particular personnel number
without using the logical database,through RP-READ-INFOTYPE.
GET PERNR :
This event fills the data structures of declared infotypes with all records that
exists for a personnel number.
Data selection does not delimit the records that retrieved from the database.
1.Have you included PNP for the logical database screen field in the program
attributes.
Macros :
The program code pertaining to this macro is stored in the control table RMAC
Subtypes :
Cluster :
Elementary fields , field strings and internal tables etc. will come under data
objects.
You can store data clusters in ABAP/4 memory for short time and in database for
longer time.
Export f1
f2
to memory id 'table'.
Import f1
f2
from memory id 'table'.
These cluster databases come into picture to keep the information relating to a
company more secure.
Cluster rx contains the payroll results for country x according to table T500l.
When macro is used to import data,it is not directly get from database table
PCL,instead it checks for the buffer directory whether it contains it in main
memory.if it is there it takes it from main memory..otherwise it reads from PCL to
main
memory and from there to the report.
Standard import programs follow the naming convention RPCLSTxx..xx is
cluster.
RP-EXP-Cn-xx ( n = 1,2,3,4 and xx is cluster)
It deals with giving inputs and taking outputs from the employees and setting
up goals to individual employees and impart training to the employees.
Company code :
Represents the highest level of Company structure.
Personnel Area :
It can represent large divisions within a company and Geographic
locations.
Personnel Sub-area :
Personnel sub areas are a subdivision of the personnel area. At this
level ,the organizational aspects are controlled here.
Country groupings , Public Holiday calendar and wage type structures comes
under organizational aspects.
·Fitting the employee into the organizational structure has the highest priority; this
is the first step in entering personal data.
·The set of valid entries for the entry mask is defined in the validation tables.
·The set of valid entries in the tables is further restricted depending on the
organizational assignment of the employee.
·Events (0000)
·Organizational Assignment (0001)
·Personal Data (0002)
·Payroll Status (0003)
Personnel Events :
. Hiring an employee
. Organizational reassignment
. Leaving the company
Hiring an employee :
When assigning a new employee in a company, we have to enter large
amount of data for employee into the system. In HR different types of employee
data are stored in infotypes.
Organizational reassignments :
When the employee leaves the company, certain infotypes cannot be changed
.The personnel event Leaving is used to depict an employee leaving the
company in the system. This event gives the infotypes for maintaining the data of
when an employee leaves the company.