SAP HR PY – Payroll
Quick internal links:
Payroll area and control record | Retroactive accounting limit date | Payroll stages
RPCALCX0 - Payroll program (driver) | Payroll transactions
Payroll tables | Payroll reports/programs
Payroll stages
Following are the stages of payroll process in SAP HR:
- Release for Payroll – the past and present employees’ data which are related for payroll, are locked. Payroll program could be executed.
- Release for Correction – if the payroll run finished with errors you have to check results and then you can release employees’ data for corrections,
after that you can return to release for payroll stage and execute payroll program again to see results.
You can find personnel numbers in the selected payroll area that have been rejected by the payroll run using Matchcode W as search condition. Also you can use Matchcode W for executing payroll program to run payroll again for those employees. - Exit Payroll – if payroll run finished successfully, employees’ data are unlocked, payroll period is increased for next one
PA03 transation or SPRO path:
Personnel Management -> Personnel Administration -> Organizational Data -> Create Control Record
RPCALCX0 - Payroll program (driver)
Payroll program is the program written in ABAP which calculates gross-to-net. After you execute payroll program all the results are written into database, so payroll history is achieved.
In case you would like to test your payroll you
can also run simulation of payroll run (test run). With this option, payroll results are not written into database.
Simulation runs do not lock master data. You are not using the Release Payroll and Exit Payroll functions
when executing payroll program in the test mode (simulation run).
To execute payroll program use transaction: PC00_M99_CALC or execute transaction SA38 (or SE38) and enter program name RPCALCX0.
To execute payroll simulation run use transaction PC00_M99_CALC_SIMU, or mark Test Run flag in payroll program.
RPCACLX0 is a template payroll program for international use. SAP also provides country-specific payroll programs.
For Polish Payroll program name is HPLCALC0 (transactions: PC00_M46_CALC and PC00_M46_CALC_SIMU)
Useful payroll info:
Transactions:
| CODE | DESCRIPTION |
|---|---|
| PE01 | Personnel Calculation Schemas |
| PE02 | Personnel Calculation Rules |
| PE04 | Maintain Functions and Operations |
| OT11 | Copy Wage Types |
| PU30 | Wage Types Maintenance (coping, deleting WT) |
| PU03 | Change Payroll Status (extended access to IT0003) |
| PC00_M99_CALC | Payroll driver RPCALCX0 (international) |
| PC00_M99_CALC_SIMU | Payroll driver RPCALCX0 (international) - test mode |
| PC00_M46_CALC | Payroll driver HPLCALC0 (version PL) |
| PC00_M46_CALC_SIMU | Payroll driver HPLCALC0 (version PL) - test mode |
| PC00_M99_CLSTR | Display payroll results |
| PC00_M46_CLSTR | Display payroll results (version PL) |
| PC00_M99_CWTR | Wage type recorder (H99CWTR0) |
| PC00_M99_CEDT | Renumeration Statements (RPCEDTX0) |
| PC00_M99_CIPE | Posting to Accounting (RPCIPE00) |
| PE51 | HR Form Editor (e.g. for editing renumeration statements: form class=CEDT) |
| PU01 | Delete current payroll result (RPCDPU01) |
See all transaction codes on SAP transaction page.
Tables/views: (transaction SM30)
| NAME | DESCRIPTION |
|---|---|
| V_T511K | Payroll Parameters |
| V_511_B | Permissibbility of Wage Types (for EE Subgroup grouping and PSA grouping) |
| V_512W_B | Valuation Bases |
| V_T511 | Wage Type Characteristics |
| V_T512Z | Permitted Wage Types for Infotypes |
| V_512W_T | Wage type texts |
| V_512W_D | Processing Classes, Cululations and Evaluation Classes |
| V_512W_O | Complete view for table T512W - configutation of main Wate Type's parameters on one screen |
| V_T52D1 | Processing Classes - definition |
| V_T52D2 | Processing Classes Values - definition |
| V_554S_G | Assignment of Absence types with Absence valuation rule |
| V_T554C | Assignment of Absence valuation rule with Wage Types |
| V_T52DZ | Assign Customizing Wage Type to Model Wage Type |
See all tables on SAP tables page.
Reports/programs: (transaction SE38)
| NAME | DESCRIPTION |
|---|---|
| RPDLGA20 | Use of wage types in payroll |
| RPDASC00 | Formatting schemas and personnel calculation rules |
Polish specific reports/programs:
| KEY | DESCRIPTION |
|---|---|
| HPLCALC0 | Payroll driver HPLCALC0 (version PL) |
| HPLCEDT0 | Renumeration Statements (version PL) |
| HPLCLJN0 | Payroll Journal |