SAP HR Overview

SAP ...WHAT IS IT ?

SYSTEMS APPLICATIONS PRODUCTS IN DATA PROCESSING

Financials Internet Integration Employee Self- Payroll Time Man_agement Office Logistics .

Organizational Management Module Overview •Forms the basis for the entire personnel planning and development application •Facilitates analysis of the organizational structure •Allows planning to develop actual and proposed personnel . scenanos .

Personnel Administration Module Overview •Establishes organizational hierarchies •Used to perform essential personnel administration tasks such as: -hiring employees -performing organizational reassignments -termination from the University -salary adjustments •Data stored in such a way that you can easily access and maintain at any time .

Recruitment Module Overview •Functions you need for working through the entire recruitment process ·Contains an entire range of powerful.recruitment strategy such as: -Receipt of application via web access -Issuance of recruitment requests -Selection process of applicant -Applicant pool administration -N otification to applicants .and largely automated . flexible functions that you can use to implement an effective .

Time Management Module Overview •Enables flexible representation of all personnel procedures involved in recording and evaluating employee time data -Infrastructure for time data recording -Work schedules -Record of planned attendance and absences -Recording of attendance and absence -Annual and Sick Leave accrual -Time evaluation •Ability to transfer absence and attendance data to other SAP applications .

Payroll Accounting Module Overview •Ability to process payroll for employees using data from SAP Personnel Administration. Benefits. such as SUI reports and W -2s . and Time Management -Payroll run (regular and off-cycle) -Payroll corrections -Payments -Remuneration Statements -Posting to Financial Accounting -Third Party Remittance ·Offers a number of standard payroll reports ·Tax Reporter component allows you to generate all required state and federal tax forms.

The HR module is divided mainly into the following components.Personnel Administration and Payroll Accounting 2. 1.Personnel Planning and Development .

. Eg Organization management comes under administration.onnel Administration It relieves you from the daily administrative routine activities which are costly and time consuming. while simultaneously supporting you in demanding planning activities.

Net salary. . Eg : Calculating the Gross salary./I accountin It deals with the employee salaries in the Organization.

Eg.Personnel Planning and Development: It was designed to support the decision making process in any organization. There are other functions like time and travel management in HR . Recruitment . It deals with giving inputs and taking outputs from the employees and setting up goals to individual employees and impart training to the employees. It also deals with recruitment of employees for the organization.Training and event management comes under planning.

R&D etc.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. So to maintain the employee related data we require one system which ensures accuracy and consistent within the Organization. For any organization Employees are the most powerful resource.

ORGANIZA TION HIERARCHY XYZ Inc. XYZ Chemicals XYZ f-----+ Company code rmaceutical Chennai HYD f----+ Personnel Area ufacturin lannin Personnel Sub-area .

The organizational hierarchy deals with the following areas: • Company Structure • Personnel Structure • Pay scale Structure • Wage type Structure • HR authorizations .

The company structure or corporate group is divided into: • Company code • Personnel area • Personnel Sub-area Company Structure .

Country groupings. ) . Company Structure (Contd . Personnel Area: It can represent large divisions within a company and Geographic locations.the organizational aspects are controlled.. Public Holiday calendar and wage type structures comes under organizational aspects. At this level .Company code: Represents the highest level of Company structure.. Personnel Sub-area: Personnel sub areas are a subdivision of the personnel area.

ORGANIZA TION HIERARCHY XYZ Inc. XYZ Chemicals XYZ f-----+ Company code rmaceutical Chennai HYD f----+ Personnel Area ufacturin lannin Personnel Sub-area .

.The components in Personnel structure are Administrative: Employee Group. Organizational: Job. Employee Subgroup and Payroll area. Position and Organizational unit.

Employee Group: General classification of employees. Employee Sub group: Hourly based. Executives and Trainees Division of employee groups. Personnel structure (Contd . ) . Contractors and External Employees.. Active.. Salaried. Retired.

.. ) .ayroll Area : The active employees are also divided into payroll areas that determine when they receive their paychecks like weekly or semi-monthly. Personnel structure (Contd .

Department or subsidiary etc Personnel structure (Contd . Coding...Job: Description of activity performed by the Employee. Management Position: Employee Placement or individual employee assignment within the company. ) . Software Engineer or Manager Organization Unit: Performs a specific set of functions within company.

Developer

Job

/ W Enginee

Trainee

Positions

General Manager Job

] Positions

Management
Sr. Manager

Personnel structure (Contd ... )

'---_J_O_b

_:----------+1.1
One to many relationship

Positions

APCI Project Designing } Coding Testing Quality control

- Job Positions

Personnel structure (Contd ... )

ersonnel data :
Employee-specific guidelines: data is entered according to the following

• 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.

Master data Infotypes : When a new Personnel number is created. • • • • Events (0000) Organizational Assignment (0001) Personal Data (0002) Payroll Status (0003) . the following Infotypes have to be maintained first.

Business Procedures in Personnel Administration When managing employee data the following tasks can perform • Hiring an employee • Organizational reassignment • Leaving the company .Personnel Events : A function that groups together infotypes for processing personnel procedures.

we have to enter large amount of data for employee into the system. In HR different types of employee data are stored in infotypes.Hiring an employee: When assigning a new employee in a company. When hiring an employee. we need to maintain lot of infotypes. . Hiring can be carried out using a personnel event.

When you run this personnel event. .Organizational reassignments : Important changes in an employee's career path must be documented in the system. the system will automatically offer you the infotypes that you need to maintain. the standard SAP system contains the personnel event Organizational reassignment. Consequently.

. 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.eaving the company: When the employee leaves the company. certain infotypes cannot be changed.

? • Questions .

The use of Logical Database 3.HR is different from other modules? The following concepts are defined in HR which differs this module with other modules 1. Use of Macros 4. Use of Infotypes 2. Storage and Access of data 5 Authorization checks .

HR Technical Overview .

the corresponding database table associated with it is PAOOOO. Each infotype has a database table associated with it.Data handling in HR (Using of Infotypes): Master data in HR is stored in infotypes. Example: For Infotype 0000. Each infotype pertains to a specific type of data. .

g . The Infotypes are used to group related data fields together. we require old data as well as new data.What is Infotype The information units used to enter the data of an employee are called infotypes. In simple. E. . IT0006. HR data is huge and to access data easily we require Infotype..(address) Why Infotype As HR is related to time. The data we enter into the infotypes are automatically checked for accuracy and against the table entries.

. In other words. a LOB 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.What is logical database? The LOB is special type of ABAP program that combines the contents of certain related database tables and retrieve some related data and make it available to application programs.

..The LDB usually consists of the following components. ) . • Structure • Selections • Database programs Logical Database (Contd .

Logical databases have a tree structure... ) . A logical database can contain a maximum of 300 tables Logical Database (Contd .

Logical Database (Contd .SAPDBPNP is the name of the database program for the logical database PNP.) ...

1. ) ..Logical databases when generating an ABAP program o The selection screen generated contains the selections (SELECT-OPTIONS AND PARAMETERS) of both the logical database and the program.. o The only database-specific selections displayed on the selection screen are those needed by the program for data retrieval purposes Logical Database (Contd .

g.) are performed for the selection screen by the logical database and the program. etc.2. Logical Database (Contd . the system processes the events in the program and in the logical database in the following order o Before displaying the selection screen. ) . o The selection screen is displayed and the user enters data in the input fields. calculating default values such as key date... certain initializations (e. Logical databases at run-time of an ABAP program At run-time.

o In the event END-OF-SELECTION. importing files). 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. but also that the user has the appropriate authorizations. the ABAP program performs any concluding operations (for example. some fields are made ready for input again.. calculating totals. the ABAP program performs any preliminary work (for ex.e logical database and the program check that the input is correct and complete . Logical Database (Contd . If an error occurs. exporting files). o In the event START-OF-SELECTION.. ) . so that the user can make the necessary correction(s).

. Logical Database (Contd . each on a new line.. ) . The system automatically generates such a screen for each program that does not have its own selection screen entered in the attributes.· Designing the selection screens o The standard selection screen of a logical database has a standard layout where SELECT-OPTIONS and PARAMETERS appear in the sequence they are declared.

You cannot delete database selections Logical Database (Contd . The flow logic for such screens is also generated automatically and therefore cannot be modified... Any program-specific selections appear after the database selections. If the attributes of a program include the number of its own selection screen.o You can define your own selection screens for any logical database. ) . the system uses this screen as a model when generating.

Hourly wage earners in a particular personnel sub area.Functions of LDB: Data retrieval: The personnel data of each employee is loaded into the main memory where it can be accessed for processing.. . E. Screening: Employees can be selected according to the organizational criteria entered on the selection screen.g ..

... . ) . E.Personnel number range E. E.g .Employee status ..Active or inactive.Person selection and data selection period.g .Features of org. Functions of LOB (Contd .Employees who assigned to certain cost center. E...g ..There are two types of screening .Monthly wage earners in a specific personnel sub-area.g ...Assignment. Person selection defines those employees for whom a report is to be run.

) .. Authorization check: This ensures that the person starting the evaluation Is authorized to access the report data. Functions of LOB (Contd .the provide loop retrieves the infotype records whose validity period overlaps with at least one day of this period.The data selection period delimits the time period for which data is evaluated.. When you enter the data selection period.

Report class assignments are stored in table t599b or t599w. . Table t599b contains customer report classes and t599w the sap report classes.REPORT CLASS WITH LDB: 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.

Report Class With LOB (Contd ..through RP-REAO-INFOTYPE. You can also read the records of an infotype for a particular personnel number without using the logical database.. ) .either the customer default class(t599c) or the SAP default class(t599f) is used.If a report has no report class. All reports that use the logical database PNP automatically contains OBPNPCOM module.

GETPERNR: 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. ) ..Whenever GET PERNR statement is included in your program.Have you included PERNR structure in the tables declaration. check the following two. Get Pernr (Contd .Have you included PNP for the logical database screen field in the program attributes. 2..

then the operation is successful. whether the operation was successful or not will be checked with PNP-S W-FO UNO.Macros: Macro contains some part of source code which it will be useful for number of applications. The data The data macro RP-PROVIOE-FROM-LAST retrieves the last(latest) record which is valid in the data selection period. . For every macro. macro RP-PROVIOE-FROM-FRST retrieves the first(start) record which is valid in the data selection period. If PNP-SW-FOUNO = 1 .

. The macro RP-READ-INFOTYPE retrieves all the data record(s) which is valid in the data selection period. then the process is successful. The program code pertaining to this macro is stored in the control table TRMAC Macros ..Macros Contd . If SY-SUBRC = 0 .

.Macros (Contd .. or check whether you have included logical database PNP in program attributes. Macros .) Whenever you are using the macros like RP-PROVIDE-FROM-LAST RP-PROVIDE-FROM-FRST.

where A corresponds to PERNR which describes for which personnel number you require records. C corresponds to data structure of the declared infotype (internal table like pOOOO infotype 0000) where all the for records of the particular personnel number will be stored. .. Macros (Contd ..) E corresponds to End date.It is not necessary to include logical database PNP in your program when you are using the macro like RP-READ-INFOTYPE ABC 0 E. o corresponds to Starl date. B corresponds to INFO TYPE which describes from which infotype you require records.

End date Begin date 010 010 010 010 010 00000037 00000037 00000037 00000037 00000037 13.07.02. when the personnel number 37 comes all the records available with that personnel number will be retrieved.2001 01.2002 Macros (Contd .2000 05.07.2002 31. With the GET PERNR statement. Let us assume those records as follows.1998 31.2000 04.05.2001 31.. for example 37.07.12. ) ..01.1998 30.NO.07.05.9999 12. P.09.1997 14.Consider a personnel number.

. RP-PROVIDE-FROM-LAST SPACE PN-BEGDA PN-ENDDA If we assign 01.12.06.1997 If we assign 05.09.2001 31.07.05. 010 00000037 04. 010 00000037 13.) .1998 to PN-ENDDA.1998 12. Then the following record will be retrieved.07.07..1997 to PN-BEGDA and 31.01.1997 to PN-BEGDA and 01.2000 Macros (Contd . Then the following record will be retrieved.Consider the macro shown below.2000 to PN-ENDDA.

Then the following record will be retrieved.1998 to PN-ENDDA.1997 If we assign 15.. 010 00000037 13.1998 to PN-BEGDA and 01.09. 010 00000037 30.1998 12. ) .2000 to PN-ENDDA.06.07.07.2000 14.1997 to PN-BEGDA and 31. RP-PROVIDE-FROM-FRST SPACE PN-BEGDA PN-ENDDA If we assign 01.07.01.Consider the macro shown below.12. Then the following record will be retrieved.1998 Macros (Contd .05..

Subtypes: The sub-division of infotype records are subtypes. Infotype 0006 is for addresses.Each subtype representing an infotype category with its own time character.secondary residence and home address.This addresses are sub-divided in the IT0006 as permanent residence. .

will come under data objects. . You can store data clusters in ABAP/4 memory for short time and in database for longer time. field strings and internal tables etc. Elementary fields.Cluster: set of data objects.

Cluster will be deleted from the memory. Export f1 f2 to memory id 'table'. Cluster ..) To write data objects from ABAP/4 program to ABAP/4 memory..the following statement is used..Cluster (Contd . Import f1 f2 from memory id 'table'.. Free memory id 'table' .

PCl3 contains applicant data. ) . PCl1 is the database for HR application areas. time related data.g. Cluster rx contains the payroll results for country x according to table T5001. e. PCl2. PCl2 contains information regarding payroll accounting. cluster database tables PCl1. PCl4 contains change documents for HR master data.g. Payroll. It contains information regarding the time recording.These cluster databases come into picture to keep the information lating to a company more secure. Cluster (Contd . e. PCl3 and PCl4...

.3.4 and xx is cluster) When macro is used to import data.2. RP-IMP-Cn-xx (n = 1. If it is there it takes it from main memory .it is not directly get from database table PCl. RP-EXP-Cn-xx ( n = 1.3..2.xx is cluster.The clusters can be called from macros.. instead it checks for the buffer directory whether it contains it in main memory. ) . Standard import programs follow the naming convention RPClSTxx ..otherwise it reads from PCl to main memory and from there to the report.4 and xx is cluster) Cluster (Contd .

? • Questions .

Thank You .

Sign up to vote on this title
UsefulNot useful