Friday, August 16, 2019
Payroll Basics in Sap
Payroll Basics (PY-XX-BS)à PurposeThe 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 FlowWhen 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:ResultAfter the payroll run, you can transfer the payroll results to Financial Accounting, or perform evaluations and create lists and statistics. **************************************************************************************************************Payroll Driverà De finitionProgram you use to run payroll.StructureFor each Payroll country version there is a country-specific payroll driver with the technical name RPCALCx0 or HxxCALC0: * For programs with the technical name RPCALCx0, the x is replaced with a country indicator, for example, D for Germany, F for France, or X for ââ¬Å"Other countriesâ⬠. * For programs with the technical name HxxCALC0, the xx is replaced with the ISO code of the respective country, for example MX for Mexico, or ID for Indonesia.The program RPCALCX0 (Payroll driver international) contains no data about tax and social insurance regulations for net remuneration calculation. The other payroll drivers contain this data. IntegrationA relevant country-specific personnel calculation schema, in which personnel caclulation rules and functions are stored, contain the steps that a payroll driver should perform during payroll. All data is stored in internal tables and saved in payroll-relevant files. *********************** *******************************************************Payroll Schemaà DefinitionThe payroll schema contains calculation rules to be used by the payroll driver during payroll. SAP has developed country-specific schemas which are based on schema X000. With country-specific reports, the first character in the name refers to the country indicator (for example, D for Germany, F for France). StructureA schema consists of the following parts: * Initialization The system performs the following steps: * Updates the databases * Imports equired 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 transfersIntegrationAll data is stored in internal tabl es and saved in files with a cluster structure. ***************************************************************************************************************Payroll Relevant Filesà DefinitionPayroll files contain data for payroll and payroll results. StructureThe system requires the following files for payroll: * Pnnnn (nnnn = number of the infotype) The Pnnnn files contain data that has been entered in the respective infotypes for an employee. * PCL1 The PCL1 file contains primary information, in other words, data from the master data and time recording systems. PCL2 The PCL2 file contains secondary information, in other words, derived data and all generated schemas. IntegrationWhen you start payroll, the system imports the relevant master data from the Pnnn files (for example, basic pay and tax class) and imports the time data from the PCL1 file to the IT table. The system imports the payroll results from the previous month from table ORT (for example, to form averages). The s ystem processes this data and saves the payroll results and generated schemas in the PLC2 file. *****************************************************************************************************Internal Tables for Payrollà DefinitionTables that are used for storing data during the payroll run. UseWithin Payroll, data is processed in internal tables that the system fills 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.StructureThe following are some of the tables used in all country versions for Payroll:Internal Tables for Payroll Table| Short text| Description| WPBP| Work Place/Basic Pay| Table WPBP is filled by the infotypes Actions (0000), Organizational Assignment (00 01), Planned Working Time (0007), Basic Pay (0008), and Cost Distribution (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 co st 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. | ACCR| Month End Accruals| Table A CCR contains special information on a posting period assignment for month end accruals. BENTAB| Benefits| Table BENTAB contains cumulations for certain benefits 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| Modifiers| Table MODIF contains various modifiers that can be used as additional keys for access to Customizing tables. The system sets the modifiers 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 inform ation 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-specific 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. Internal tables for Payroll that are not exported Table| Short text| Description| 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.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 no t 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. | 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 t able ORT in which certain splits are eliminated. |
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment