Wednesday, 8 December 2010

Write A PCR ...

Introduction
Let’s say your company does not want to calculate Professional Tax (PTax) for employees who belong to country India and stay in XYZ state. For all other states of the country, your company wants to calculate PTax.
This requirement can be fulfilled using the following steps:
1. Create custom operation K-E1.
2. Write code for custom operation in include PCBURZIN0
3. Create custom personnel calculation rule ZKP1
4. Create custom schema ZN00 by copying ‘India Payroll’ schema
5. Create custom schema ZNN1 by copying ‘Gross to Net calculation – India’ schema
6. Edit schema ZN00 are replace sub schema INN1 by the custom sub schema ZNN1.
7. Place the rule ZKP1 in custom sub schema ZNN1.


The following section describes the above steps in detail.

Step1: Create custom operation K-E1
Use transaction PE04 to create customer specific operation K-E1

Step2: Create custom rule ZKP1
Use transaction PE02 to create custom rule ZKP1

Step3: Write code for custom operation in include PCBURZIN0

Step4: Create custom schema ZN00 by copying ‘India Payroll’ schema
Copy schema IN00 (HR-IN: India Payroll schema) to custom schema ZN00 using transaction PE01.

Step5: Create custom schema ZNN1 by copying ‘Gross to Net calculation – India’ schema
Copy standard sub schema INN1 (Gross to Net calculation – India) to custom schema ZNN1 using transaction PE01.

Step6: Modify schema ZN00 to replace sub schema INN1 by the custom sub schema ZNN1

Step7: Place rule ZKP1 in custom schema ZNN1

Use transaction PE01 to place rule ZKP1 in custom schema ZNN1

Your schema ZNN0 is now ready for handling Professional Tax (PTax) scenario as mentioned in the introduction section.

Thursday, 2 December 2010

Transaction Codes for Payroll

In Payroll, you can use the following transaction codes:
Basic Transaction
Activity
PC00_M99_CLSTR
Display Payroll Results
PC00_M99_CALC
Payroll Driver (International)
PC00_M99_ABKRS
Specify a payroll area
PC00_M99_CLSTPC
Display PC Cluster: Personal Calendar
PC00_M99_TLEA
Leave Overview
PC00_M99_TLEA30
Batch-Input: Annual Leave
PC00_M99_CPRC
Access Payroll Calendar
PC00_M99_MOLGA
Specify a personnel country grouping
PC00_M99_CLJN
Payroll Journal - International
PC00_M99_DLGA20
Use of Wage Types in Payroll
PC00_M99_UDIR
Restore the Payroll Results Directory
PU00
Delete Personnel Data
PU01
Delete Current Payroll Result
PU03
Change Payroll Status
PU22
Archive Data
PU30
Wage Type Copier
PU95
Edit Wage Type Groups and Logical Views
PU96
Edit Wage Type Groups
PU97
Edit Logical Views
PU98
Assign Wage Types to Wage Type Groups
PUOC_xx (xx = Country Code)
Off-Cycle Workbench
PEST
Maintenance of Process Model
PUST
HR Process Workbench
Pay scales:
PC00_M99_U510
Simple Std Pay Increase for Indirectly Valuated WTs
PC00_M99_IRTF
Enhanced Std Pay Increase (Indirect and Direct WTs) with Batch Input
PC00_M99_ITUM
Pay Scale Reclassification acc.to Age or Pay Scale Membership Period
PC00_M99_ITUM
Pay Scale Reclassification acc.to Age or Pay Scale Membership Period
Third party
PC00_M99_URMA
Acknowledgement Report for Third Party Remittance
PC00_M99_URMU
Update of Remittance Tables from TemSe-Object
Forms
PC00_M99_CEDT
Remuneration Statements
PDF7
Delete Form in Customer Client
PDF8
Copy Form from SAP Client to Customer Client
PDF9
Copy Form within Customer Client
PC00_M99_CLGA00
Wage Type Statement
PC00_M99_CLGV00
Wage Type Distribution
PC00_M99_CKTO
Payroll Accounts
PDF0
Conversion Report for Remuneration Statement Forms
PDFA
Conversion of Payroll Journal Forms

Wednesday, 1 December 2010

Payroll in the SAP System

Purpose
You can use this component to calculate the remuneration for work done for each employee.
However, Payroll does not just involve the calculation of remuneration, but consists of a variety of processes that are becoming increasingly important due to the employer’s increased obligation to supply benefits and medical welfare. These benefits are products of:
• Labor law
• Tax law
• Contribution law
• Benefits law
• Civil law
• Reporting law
• Information law
• Statistics law

Integration
Payroll can be integrated in Personnel Administration, Time Management, Incentive Wages and Accounting:
• Standardized data retention enables you to use master data and other payroll relevant data from Personnel Administration
• Time data, entered via Time Management, is automatically included in the Payroll and is valuated during the payroll run
• Data from the Incentive Wages component is used to calculate piecework wages and premium wages directly in Payroll
• Information on expenses and payables from Payroll is posted for accounting directly in Financial Accounting, and you assign the costs to the appropriate cost center। You can also control the financial system of third-party providers

Features
The System calculates the gross and net pay, which comprises the individual payments and deductions that are calculated during a payroll period, and are received by an employee. These payments and deductions are included in the calculation of the remuneration using different wage types .
After the remuneration payroll you can carry out various subsequent activities, for example, you can see to remuneration payment or the creation of various lists, and make evaluations।

Payroll Schema

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


Payroll Basics (PY-XX-BS)

Purpose
The Payroll is based on an international payroll driver. This payroll driver was modified for each country. The country-specific 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 files.
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 [On later pages] 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 specific 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.

US Payroll Basics

Purpose
This component allows you to process payroll for employees in the United States, using data from SAP Personnel Administration and Benefits under a wide variety of configurations. You can also run payroll using a combination of SAP and third party products. The SAP Payroll system also offers a number of standard payroll reports. The Tax Reporter component allows you to generate all required state and federal tax forms, such as SUI reports and W-2s. Further reports can be generated using Ad Hoc Query in conjunction with an SAP Payroll Infotype.


Implementation Considerations
United States Payroll should be implemented in cooperation with the project team implementing other areas of SAP HR, particularly Personnel Administration. Since US Payroll uses an interface to a separate BSI TaxFactory database to calculate taxes, you need to consult with networking, database and Basis personnel during some parts of the implementation.



Integration
The Payroll component is integrated with other SAP HR components, such as Personnel Administration and Benefits. There are also interfaces to other SAP modules such as Financial Accounting and Controlling.


Features
SAP Payroll allows American businesses to run payroll for employees in all states. Requisite statutory reports, such as Federal forms 940, W-2, W-3, and all state SUI forms are also supported by the SAP system.