Professional Documents
Culture Documents
Sap HR Payroll
Sap HR Payroll
PCR
by
Gayathri Nannapaneni
3 ShowMe
4 LetMe
5 HelpMe
India SAP CoE, Slide 2
Payroll Schema Overview Cont’d…
1
PrepareMe
2 TellMe
3 ShowMe
4 LetMe
5 HelpMe
India SAP CoE, Slide 3
Objective
3 ShowMe
4 LetMe
5 HelpMe
India SAP CoE, Slide 8
Concept of payroll driver
• Each country payroll version supported by SAP has a program
called the "payroll driver" that calculates payrolls. For example,
in the U.S., the payroll driver is RPCALCU0, in Mexico it is
HMXCALC0, and in Canada RPCALCK0. Each one is different,
but they share a common core of functionality.
3 ShowMe
4 LetMe
5 HelpMe
India SAP CoE, Slide 11
Relationship of Payroll Driver, Schema (Functions), Rules
Rules Functions
(PE02) (PE04)
Operations
(PE04)
Payroll Results
(pc_payresult)
Table 1
2100 0 0 100.00
2100 0 0 100.00
4200 0 0 20.00
Editor Documentation:
Documentation for the function, operation, schema, and rule editors is
available online at http://help.sap.com. Click on SAP R/3 and R/3
Enterprise and then select your release level and language. Then
navigate to the Human Resources>HR Tools section.
F1 Help:
In the schema and rule editors, place your cursor on a function or
operation and press F1 to Get help text. A schema or a rule’s
documentation is available in the editor via the Goto>Documentation
menu. In the schema editor, the F4 key shows possible values for
each of the four parameters for whatever function is entered on
that line. The same documentation and more is available
via transaction PDSY.
IT Input Table During the payroll run table IT is filled with data that is
to be processed. Data is transferred to table RT using
operation ADDWTE.
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.
Parameter 1 will have PCR for a particular function which can access
a PCR
• Pcr: ZA01 will be processed for all ESG groupings of wage type
/181
• Pcr: X043 & X047 will process wage type only for a specific wage
type not all wage types in input table.
• Pcr: X042 & X047 will process all wage types in input table.
2 TellMe
3 ShowMe
4 LetMe
5 HelpMe
India SAP CoE, Slide 49
Example-1:
• Example 1 – Calculating a COLA Wage Type
• The first example multiplies wage type 0BAS by 0.15 and puts the
result into wage type 0COL. Figure 8 shows the IT before rule ZUA1.
• Processing classes are one of the key methods of processing wage types
in SAP Payroll. Processing classes are attributes of a wage type. When
payroll runs, various procedures select and process wage types based on
their processing class values. In addition to standard processing classes
delivered by SAP, customers can create their own for custom payroll
processing — for example, a class for fringe benefits.
• A wage type has 99 processing classes, though Payroll does not use
every one of them for every country’s payroll. Table T52D8 shows which
processing classes apply to each country. Customers can use processing
classes 90 through 99 for their own purposes and the others are delivered
by SAP.
• Figure 16 Click on the blue "i" icon to document the processing class
May Use
Rules(PE02) Functions(PE04)
May Manipulate
• For the PIT function and rule ZUA8, you can see the Input,
Processing, and Output sections. These sections vary by
function and operation, but are vital to testing and
troubleshooting. If you double-click the PIT function, the
payroll driver displays the contents of the input, processing,
and output sections together in one list. Or you can double-
click any one section to see its contents alone. Likewise, you
can further expand each section to see individual components
– in this case, wage types.
• A rule can also filter wage types, or it can process all wage types.
It can filter by employee-subgroup grouping and by wage type.
This is an attribute of the rule, and different logic can be executed
for each set of filtered wage types. In Figure 28, you tell the editor
you want to edit the section of the rule that will process wage type
0BAS for all employee subgroup groupings. To see all the various
wage types a rule is set up for, click the overview button once you
are editing the rule. The various sections can be managed by the
Edit>ES Grouping wage or time type menu path inside the rule. If
the employee subgroup grouping or wage type are set to
asterisks, then they are valid for all values.
3 ShowMe
4 LetMe
5 HelpMe
India SAP CoE, Slide 95
HelpMe
Tips and Tricks
1.While writing custom operations or functions it is
recommended to copy the source code to ‘Z’ Program
and then use. and also before releasing these changes
it is strictly recommended to do the version
comparison of an object.
2. Be careful while releasing transports related to
schema changes as they are date dependant.
Dependency must be checked with respect to dates of
a particular schema before release.
3. It is always recommended to do a thorough impact
analysis before touching any payroll schema or PCR.
4. Be careful with the usage of PRT and Pxxxx functions.
wrong syntax of these functions will leads to double
output in payroll.