0% found this document useful (0 votes)
242 views8 pages

Payroll Driver

The document discusses payroll basics in SAP, including the payroll process flow, payroll driver, payroll schema, payroll relevant files, and internal tables used for payroll. The payroll run imports master data, calculates gross wages, calculates deductions for taxes and social insurance to determine net pay, and saves the results. Country-specific payroll drivers and schemas are used to account for local regulations. Data is stored and processed using internal tables during the payroll run.

Uploaded by

k82r75m2gc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
242 views8 pages

Payroll Driver

The document discusses payroll basics in SAP, including the payroll process flow, payroll driver, payroll schema, payroll relevant files, and internal tables used for payroll. The payroll run imports master data, calculates gross wages, calculates deductions for taxes and social insurance to determine net pay, and saves the results. Country-specific payroll drivers and schemas are used to account for local regulations. Data is stored and processed using internal tables during the payroll run.

Uploaded by

k82r75m2gc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

7/22/2019

Payroll Basics (PY-XX-BS)


Generated on: 2019-07-22

HR Renewal | 2.5.67

PUBLIC

Warning

This document has been generated from the SAP Help Portal and is an incomplete version of the official SAP product
documentation. The information included in custom documentation may not re ect the arrangement of topics in the SAP Help
Portal, and may be missing important aspects and/or correlations to other topics. For this reason, it is not for productive use.

For more information, please visit the SAP Help Portal.

https://help.sap.com/http.svc/dynamicpdfcontentpreview?deliverable_id=21777925&topics=686ec2531bb9b44ce10000000a17… 1/8
7/22/2019

Payroll Basics (PY-XX-BS)


Purpose
The Payroll is based on an international payroll driver. This payroll driver was modi ed for each country. The country-speci c
payroll drivers take the statutory and administrative regulations of a country into account.

Since the payroll driver has a modular structure, you can use the Customizing functions to quickly modify the payroll procedure to
meet the particular requirements of your enterprise.

Process Flow
When you access Payroll , the payroll driver calls the accompanying payroll schema, which consists of a sequence of functions. For
each activity, the individual functions import data from internal tables and payroll relevant les.

Payroll is then performed as follows:

1. The system updates the databases and imports the master data relevant to payroll.

2. If Off-Cycle Payroll is to take place, the system deletes the internal table IT.

3. The system imports the last payroll result.

4. The system calculates the gross wage and considers the shift schedule, shift change compensation, and valuation bases.
Any master data relevant to payroll is included in the calculation at this point.

5. The system calculates the partial period factors, lump sums and salary elements, and cumulates the gross results.

6. The system calculates the net remuneration and performs retroactive accounting if speci c master data has been changed
in previous payroll periods.

Result
After the payroll run, you can transfer the payroll results to Financial Accounting , or perform evaluations and create lists and
statistics.

Payroll Driver
De nition
Program that you use to perform the payroll run.

Structure
For each of the country versions of Payroll, a country-speci c payroll driver is available with the technical name RPCALCx0 or
HxxCALC0:

For the programs with the technical name RPCALCx0, the x is replaced with a country indicator such as D for Germany, F
for France, or X for "Other Countries".

For the programs with the technical name HxxCALC0, the xx is replaced with the ISO code of the respective country, such
as MX for Mexico or ID for Indonesia.

https://help.sap.com/http.svc/dynamicpdfcontentpreview?deliverable_id=21777925&topics=686ec2531bb9b44ce10000000a17… 2/8
7/22/2019
The program RPCALCX0 (Payroll driver (international)) does not contain any statutory tax or social insurance information for
calculating net remuneration. The other payroll drivers do contain this information.

Integration
An associated country-speci c personnel calculation schema, in which personnel calculation rules and functions are stored,
contains the work steps to be executed by the payroll driver during a payroll run. All associated data is stored in internal tables and
saved in payroll-relevant les.

Payroll Schema
De nition
The payroll schema contains calculation rules to be used by the payroll driver during payroll. SAP has developed country-speci c
schemas which are based on schema X000. With country-speci c reports, the rst character in the name refers to the country
indicator (for example, D for Germany, F for France).

Structure
A schema consists of the following parts:

Initialization

The system performs the following steps:

Updates the databases

Imports required infotypes

Gross calculation of pay

The system performs the following steps:

Processes basic data and time data

Queries off-cycle payroll runs

Reads payroll account of the last period accounted

Processes time data and calculates the individual gross values

Performs factoring

Net calculation of pay

The system performs the following steps:

Calculates net remuneration

Performs bank transfers

Integration
All data is stored in internal tables and saved in with a cluster structure.

https://help.sap.com/http.svc/dynamicpdfcontentpreview?deliverable_id=21777925&topics=686ec2531bb9b44ce10000000a17… 3/8
7/22/2019

Payroll Relevant Files


Payroll les contain data for payroll and payroll results.

Structure
The system requires the following les for payroll:

Pnnnn (nnnn = number of the infotype)

The Pnnnn les contain data that has been entered in the respective infotypes for an employee.

PCL1

The PCL1 le contains primary information, in other words, data from the master data and time recording systems.

PCL2

The PCL2 le contains secondary information, in other words, derived data and all generated schemas.

Integration
When you start payroll, the system imports the relevant master data from the Pnnn les (for example, basic pay and tax class) and
imports the time data from the PCL1 le to the IT table. The system imports the payroll results from the previous month from table
ORT (for example, to form averages). The system processes this data and saves the payroll results and generated schemas in the
PLC2 le.

Internal Tables for Payroll


De nition
Tables that are used for storing data during the payroll run.

Use
Within Payroll , data is processed in internal tables that the system lls and reads during the payroll run. The system also changes
the data in these tables during the payroll run. The results of processing are then available for other steps.

The read and change access to these tables is enabled using functions that are executed in a personnel calculation schema and
using operations that are executed in personnel calculation rules .

Structure
The following are some of the tables used in all country versions for Payroll :

Table Short text Description

https://help.sap.com/http.svc/dynamicpdfcontentpreview?deliverable_id=21777925&topics=686ec2531bb9b44ce10000000a17… 4/8
7/22/2019

Table Short text Description

WPBP Work Place/Basic Pay Table WPBP is lled by the infotypes


Actions (0000), Organizational
Assignment (0001), Planned Working Time
(0007), Basic Pay (0008), and Cost
Distributio n (0027). It contains important
organizational and payment-relevant data,
and different partial period parameters.

For more information on table WBPB, see


Payment-Relevant Information in the Payroll
Result .

RT Results Table Table RT contains the result wage types of


the current period for which payroll is run.
Data is transferred from table IT to table RT
using the operation ADDWTE.

CRT Cumulative Results Table Table CRT contains the cumulations of wage
types in table RT over a certain time period.

BT Payment Information Every entry in the Bank Transactions table


(BT) of an employee, corresponds to a
payment that was created in a payroll period
for this employee. However, the employee is
not necessarily the payment recipient of all
payments.

For more information on table BT, see


Payment-Relevant Information in the Payroll
Result .

C0 Cost Distribution Table C0 contains global information about


the cost distribution for wage types. Certain
costs can be distributed to other cost
centers than the master cost center. The
information is taken from the Cost
Distribution infotype (0027).

C1 Cost Assignment from Different Infotypes Table C1 contains information about the
individual cost assignment for individual
wage types. You can use the infotype
Recurring Payments/Deductions (0014)
and Additional Payments (0015) to assign
the wage types to a cost center that is
different to the employee's master cost
center.

V0 Variable Assignment Table V0 contains various additional


information about the wage types.

GRT Output Table from Gross Part Table GRT is table RT according to the gross
amount in a split payroll schema.

ARRRS Arrears Table ARRRS contains deductions that


could not be taken and so are transferred to
the following period.

DDNTK Deductions not taken Table DDNTK contains deductions that


could not be taken in the current period.

https://help.sap.com/http.svc/dynamicpdfcontentpreview?deliverable_id=21777925&topics=686ec2531bb9b44ce10000000a17… 5/8
7/22/2019

Table Short text Description

ACCR Month End Accruals Table ACCR contains special information on


a posting period assignment for month end
accruals.

BENTAB Bene ts Table BENTAB contains cumulations for


certain bene ts plans.

FUND Financing Table FUND contains information about


fund commitments. This information is
taken from HR Funds and Position
Management.

AVERAGE Frozen Averages Table AVERAGE contains information about


frozen averages.

MODIF Modi ers Table MODIF contains various modi ers that
can be used as additional keys for access to
Customizing tables. The system sets the
modi ers in payroll with the function MOD (
Determine Employee Groupings ) and
operation MODIF ( Set Employee Groupings
).

VERSION Information on Creation Table VERSION contains creation data for


the payroll result, for example the Release
and payroll program.

PCL2 Update Information PCL2 Table PCL2 contains information about the
last change access to a payroll result.

VERSC Payroll Status Information Table VERSC contains organizational


information about the payroll result.

STATUS Status Indicator Table STATUS contains eight different status


indicators.

The system exports the data in these tables at the end of payroll processing in cluster tables in table PCL2 (RP cluster 2) using
function EXPRT.The cluster tables are in a country-speci c cluster, for example RD ( Payroll result, Germany ), on the database. In
this way, the data is available for other processing steps, for example, evaluation.

Other internal tables are not exported after the payroll run but are deleted, since they are only required during the payroll run.

Table Short text Description

IT Input Table During the payroll run table IT is lled with


data that is to be processed. Data is
transferred to table RT using operation
ADDWTE. Table IT must be empty by the
end of the payroll run or the personnel
number is rejected. This is checked with the
personnel calculation rule X070 ( Cancel, if
table is not empty ).

OT Output Table Table OT only exists temporarily during


processing. If a personnel calculation rule is
called using the PIT function, a loop is
performed for wage types from table IT. The
results are written to table OT using the
operation ADDWT. At the end of the loop,
table IT is restructured from table OT.

https://help.sap.com/http.svc/dynamicpdfcontentpreview?deliverable_id=21777925&topics=686ec2531bb9b44ce10000000a17… 6/8
7/22/2019

Table Short text Description

DT Difference Table Table DT is used to transfer retroactive


accounting differences within retroactive
chains.

ORT Old Results Table Table ORT is table RT from the last payroll
result (usually from the previous payroll
period). Tables LRT and VORT are also
formed from table ORT.

LRT Last Results Table Table LRT is table RT from the last payroll
result (usually from the previous payroll
period). It is formed from table ORT but only
contains the wage types that are relevant to
the current period and required often. This
is controlled using personnel calculation
rule X006, which reads processing class 06.

VORT Summarized ORT Table VORT is a version of table ORT in


which certain splits are eliminated.

Other internal tables only apply to certain Payroll country versions.

Taking the most important internal tables into account, the payroll work ow can be represented as follows:

Internal tables during the payroll run

https://help.sap.com/http.svc/dynamicpdfcontentpreview?deliverable_id=21777925&topics=686ec2531bb9b44ce10000000a17… 7/8
7/22/2019
Since the systems needs some of the data from the internal tables in the next payroll run it imports a previous results from the
cluster tables using function IMPRT ( Import Interim and Final Results ) at the start of the payroll run.

The system uses function IMPRT L to import the payroll result from the previous period.

The system uses function IMPRT O to import the last previous result for the current period. During a retroactive accounting run
this is, for example, the original result of this period.

The system transfers the tables of this imported result to the corresponding O tables.For example, to tables ORT ( Old results
table ), OCRT ( Old cumulated results table ), or OARRRS ( Old arrears table ). These O tables are deleted after the payroll run.

You can see in the payroll log which data a certain internal table contains at a certain time during the payroll run. You can use the
editor for functions and operations to specify which tables the system displays for a certain function in the payroll log. You can
specify the relevant tables for customer-speci c functions using input and output parameters .

https://help.sap.com/http.svc/dynamicpdfcontentpreview?deliverable_id=21777925&topics=686ec2531bb9b44ce10000000a17… 8/8

You might also like