Professional Documents
Culture Documents
0
SAP HR Payroll
Payroll Overview
1 2
PrepareMe TellMe
3
5
India SAP CoE, Slide 2
Payroll Overview
1 2
PrepareMe TellMe
3
5
India SAP CoE, Slide 3
Purpose
This Document will prepare you with the
Payroll Information Basics of Payroll Payroll Process Reports and Transactions
Use
A Payroll System must meet the demands of employee and employers, and be able to generate an exact, up-to-date payroll run. This payroll run can be easily corrected if changes are required, for example, if overtime payments or wage/salary Increases need to be taken into account.
Payroll Overview
1 2
PrepareMe TellMe
3
5
India SAP CoE, Slide 6
Process Flow
Gross
Net
Process Description
The employees HR master data/Infotypes is maintained in SAP system
Employee enters his/her time daily in CATS, which is then approved by supervisor
Transfer of approved CATS time entry to HR. Then Time Evaluation is run.
Process Description
Payroll Processed: payroll is calculated for all employees. Highlights potential errors.
Process Description
Payroll correction period for FI posting errors
HR Master data
HR master data is stored against the exact dates. This is required as Payroll Program needs them so that it can perform calculations for specific days, and Retroactive accounting for previous periods.
Basic Pay
Payroll Driver
Schema
Contains May Use
Rules
Contain
May Manipulate
Functions
May Manipulate
Operation
Wage Type
Payroll Overview
1 2
PrepareMe TellMe
3
5
India SAP CoE, Slide 16
Wage Type
A Wage type is a primary data element which stores the payroll data a rate, number, and/or amount. A Wage type attributes can be controlled so to process & manipulate in payroll. The most typical use of a wage type is to store the amounts of earnings, deductions and taxes of an employees payroll data. The operation indicator controls whether a wage type is a payment or a deduction. For example: An Employees basic pay is stored in a wage type, the amount of their loan deduction is stored in a wage type, and their taxable wages & taxes are also stored in wage types.
Contd:
View: V_T511
Indirect valuation
The system automatically calculates the wage type amount and enters in the Infotype, 8/14/15. Combination of Amount, Number & Unit can be described here. Whether wage type amount can be replaced or nor is set here in indirect valuation. Attribute of Deduction is set here.
View V_512W_D
T. Code :PE02
Operations in PCRs
Working with wage types in a rule is sort of like working with internal tables in ABAP. The function that called the rule (PIT, PRT, P0014 or whatever) loops through the table, placing each row, one at a time, in a 'header' space. You work with the wage type in that header space, and when finished add it back to the table. MULTI - This operations let you multiply two fields of a wage type and store it in a third. The fields you can work with are AMT, RTE and NUM. MULTI RNA would multiply the rate by the number and store the result in the amount field. DIVID - This operations let you divide one field by another of a wage type and store it in a third field. DIVID ANA would divide the amount field by the number and store it back in the amount field. NUM, RTE and AMT - These are very basic and powerful operations that manipulate the content of their respective fields. E.g. of using NUM,RTE and AMT in PCRs NUM=1 and AMT=2.50 and hence MULTI NAA Use constants instead in table T511K with Key ZNUM and hence use NUM=KZNUM
Operations in PCRs
ADDWT - Transfers the wage type in the header to some other table - enabling us to save all that work before the next wage type goes to the header. The basic idea is that you transfer the wage type to another table, with or without changing the wage type number.
Example: ADDWTE* adds the wage type to the RT without changing the wage type number. ADDWTE9XXX transfers it to the RT and renames it to 9XXX.
FILLF-
Example: FILLF A resets the amount back to what it was when the rule was first called.
VAKEY- Operation VAKEY places the field specified as a parameter, from a record being read, into the variable key. VWTCL - This operation returns the value of a certain processing class for the current wage type. Example: VWTCL 93 places in the variable key the value of processing class 93
Functions
Functions are used in Schema. Used to perform business process specific calculation within the Payroll Driver run. Transaction Code : PE04 Functions can me created with customer development. Z* PIT PIT is an acronym for Process Input Table. When wage types are read into payroll by the Pxxxx functions, they are = stored in an internal table called IT - Input Table. PIT loops through that table and applies logic contained in rules. The goal of PIT is to move wage types out of the IT and into the RT - Results Table. PRT - PRT is short for Process Results Table. Although most wage type processing happens via PIT, there are several occasions where you want to process the wage types that have already been transferred to the Results Table (RT). PRT work much the same as PIT, looping through the RT and applying logic from a rule.
Functions
SCHEMA
Schema is Basically collection of Functions and schemas to be processed in sequential manner during payroll run. Schemas can call other schemas within them using function COPY. Transaction code for Schemas is PE01 Schemas are Country Specific Edit Commands for Schema D Deletes a line I Inserts a line C Copies a line DD Indicates the start / end of a block to be deleted CC Indicates the start / end of a block to be copied A Places the block after the chosen line B Places the block before the chosen line
SCHEMA
Functions
Schema
Data flow
Input Payroll Area Employee Number Schema Name
Schema Call Functions & PCRs Output Results to Clusters Pay Slip Generation
Payroll Area
Payroll area is used to group together employees for whom payroll is run at the same time, and also to set the dates for the payroll period Employee from different employee subgroups can belong to the same payroll area. It is also used as selection criteria for many reports. Feature ABKRS defaults payroll area in IT0001 If an organization pay employee on monthly and weekly basis so two payroll areas will be required.
Payroll Period
Payroll period determines the period for which payroll results is created. They are Generated using period parameters, which explains the frequency run of Payroll.
Payroll Process
Retroactive accounting
Period for which Payroll has already been run is known as Payroll Past and any changes to it triggers Retroactive accounting . Example: Arrears, Salary Change in Past, Change in Time Data Each Infotype have customizing setting to set trigger for Retro. this could be on a single field or any field of that Infotype. Control record and Infotype 3 contains earliest date for the retroactive accounting. Different remuneration statement can be generated for the retro amount.
Payroll Run
Payroll run is a process where country specific driver program is executed. Inputs like : Payroll area for which payroll need to be run and Schema. Payroll Driver can execute the payroll in test mode or live run. Test mode does not update clusters but remuneration slip can be generated. Log is created after run which can be used for the analysis of errors and success messages. Batch process for run can be created.
Running Payroll
Enter Payroll Area
Payroll Log
Payroll Overview
1 2
PrepareMe TellMe
3
5
India SAP CoE, Slide 59
Exercises
1. 2. 3. 4. 5. Create Wage type Create Payroll Area and Control Record Change in Status of the control record Payroll Simulation Run Check Payslip
Transactions
Path/Transaction Code Human Resources Payroll Tools Customizing Tools Schema Human Resources Payroll Customizing Tools Rules Tools Transaction PE01 PE02 Details -Maintain Payroll Schema -Maintain Payroll Rules
Human Resources Payroll Tools Customizing Tools Function/Operation Human Resources Payroll Tools Customizing Tools Wage Type Human Resources Payroll Display Remuneration Statement
PE04
-Maintain Function-
PU30 PE51
Payroll Overview
1 2
PrepareMe TellMe
3
5
India SAP CoE, Slide 63
HelpMe
Tips and Tricks
Do not change the attributes of technical wage type as this will hinder in running of payroll for all the users. Cluster data cannot be viewed through database table views like SE11 and SE16