Understanding following Payroll Functions which are generic in nature and most frequently used. Will be helpful in understanding payroll process and writing personnel calculation rules (PCR).
S.No | Name of the Function | Description | Use |
1 | COM | Comment lines in a schema | Function COM creates comment lines which explain the meaning of a schema and thus the type of payroll generated with this schema. |
2 | COPY | Copying a Subschema Stored in the System | The function COPY copies the schema specified in Par1 dynamically to the current schema. |
3 | BLOCK | Log structure | The BLOCK function allows you to structure the payroll accounting process log. By marking the beginning and end the sequence of payroll functions are grouped together semantically and they appear in the process log under a common node.Parameters BEG/END |
4 | PGM | Identifying a schema by program type | Function PGM provides the payroll driver with information on the type of program represented by the schema in question. |
5 | UPD | Performing database updates | Function UPD controls whether the results of a payroll accounting run are stored in the database or are only present during accounting.Parameters YES/NO |
6 | OPT | Options | You can use the OPT function to import infotypes to payroll |
7 | CHECK | Check Before/After Selecting Employees | Checks the period set according to the type of schema ,carries out a general check: |
8 | RFRSH | Refresh internal tables | Function RFRSH allows you to delete internal tables. |
9 | ENAME | Retrieve Name | Function ENAME reads the last valid name of the employee in the payroll period. The formatting used for the country in question is used when displaying this name. |
10 | WPBP | Import Work Center and Basic Pay Data | Function WPBP transfers master data on the work center and basic pay for the payroll period to internal table WPBP. The basic pay wage types are stored in the internal table IT. |
11 | IF | Conditional Execution of Functions | The functions in the personnel calculation schema that are between the IF function and the ELSE (or ENDIF) function are only executed if a condition is fulfilled. This condition can be specified using a symbolic name or a personnel calculation schema. The functions IF, ELSE, and ENDIF form a function block. |
12 | ELSE | Conditional Execution of Functions | The ELSE function belongs to the function block formed by IF and ENDIF. |
13 | ENDIF | End Function of a Condition | The ENDIF function belongs to the function block formed by IF and ELSE. |
14 | GON | Check data is complete | Function GON checks whether all the master data has been imported. |
15 | XGP | Payroll for Global Employees | Function XGP performs all processes that are necessary for data exchange between the sending and receiving payroll. In the sending payroll, the function ensures that table RT_GP (Results Table: Payroll for Global Employees) is filled. In the receiving payroll, the function processes the payroll results that were imported with table RT_GP from the sending Payroll. |
16 | LPBEG | Beginning a Loop in the Personnel Calculation Schema | Function LPBEG marks the beginning of a loop in the personnel calculation schema. |
17 | LPEND | Ending a Loop in the Payroll Schema | Function LPEND marks the end of a loop in the payroll schema. |
18 | IMPRT | Importing Intermediate or Final Results | You use function IMPRT to import data from the database PCL2 and make it Depending on the parameters, the data is made available in a second record |
19 | PITAB | Processing Internal Tables | PITAB makes it possible to reload, delete, and merge internal tables. The purpose of this function is to save the contents of one table to a different table in order to process the original table with a different set of data. Afterwards, you reload the original data back the table. |
20 | PORT | Transfer of Data from the Previous Payroll | The function PORT initiates a calculation rule which processes the wage types of the old results table ORT according to the specified rules. |
21 | SETCU | Process previous cumulations | Function SETCU processes existing cumulations (from previous payroll runs) so that they can be used as the basis for the current payroll run. |
22 | GENPS | Generating personal work schedule | Function GENPS generates the personal work schedule for the personnel number for which payroll is being run. |
23 | PARTT | Provide Bases for the Partial Period Factors | Function PARTT makes data from the personal shift schedule (PSP) |
24 | PIT | Process Input Table | The payroll function PIT calls a personnel calculation rule for each wage type from the internal table IT. The header row of the internal table OT is used as the work area. |
25 | MOD | Determine Modifiers | Function MOD accesses a personnel calculation rule which can be used to set groupings for table access. The dependency of the employee groupings on particular factors is not determined by the system. |
26 | RAB | RAB imports the absence records from the Absences infotype (2001) | Function RAB imports the absence records from the Absences infotype (2001) to the internal table AB for use in payroll. |
27 | Print the Table or Structure | The PRINT function logs the contents of an internal table or data Structure. | |
28 | DAYPR | Day Processing of Time Data | Function DAYPR initiates the daily processing of time data. |
29 | PAB | Valuating absences (international part) | To determine absence hours and days and evaluate the absences according to the Evaluation of Absences table (T554C). |
30 | PALP | Proocess alternative payments | Function PALP loads hourly rates based on data from the time infotypes on alternative payments. |
31 | P2010 | Processing Request for Employee remuneration Information | Function P2010 evaluates the employee remuneration info entered in the infotype Employee Remuneration Information (2010). |
32 | ZLIT | Importing wage types from ZL to IT | Function ZLIT is used to import wage types from internal table ZL to internal table IT. |
33 | P0416 | Process Quota Compensation | You use function P0416 to process the quota compensation records from the Time Quota Compensation infotype (0416). |
34 | AVERA | Calculation of Averages | The AVERA function performs the complete averages calculation. The average value is calculated for each average calculation rule. |
35 | P0045 | Provision of Loan Data | Function P0045 processes the master data in the Loans infotype (0045) that is valid for the payroll period. |
36 | PRT | Process Results Table | The payroll function PR calls a personnel calculation rule for each wage type from the results table RT. The header row of the table OT is used as the work area. |
37 | P0267 | ||
38 | P0014 | Processing Request for Recurring Payments and Deductions | Function P0014 evaluates the master data in the Recurring Payments and Deductions infotype (0014). |
39 | P0015 | Processing Request for Additional Payments | Function P0015 evaluates the master data in the Additional Payments Infotype (0015). |
40 | P0057 | Processing Request for Membership Fees | Function P0057 is used to evaluate infotype 0057 (Membership Fees). Since processing takes place directly after each record has been read, the rules in PE02 can refer to record layout fields. |
41 | GEN/8 | Form technical wage types /801 - /8nn | Function GEN/8 generates up to 16 secondary wage types for the calculation of partial period factors. |
42 | ACTIO | Rule-controlled performance of an action | Function ACTIO, like Function PIT, is accessed to call a personnel calculation rule. The rules are processed irrespective of whether certain wage types exist. Processing always takes place. |
43 | PRART | Processing Table OARRRS | The function transfers entries from the old arrears table of the previous period (OARRRS or its copy AOA) to the internal table IT. So deductions that could not be taken in the previous payroll period can be processed like regular deductions created in this payroll run. Some wage types should only be processed in regular payroll runs, others only in special runs, and some in both kinds of payroll runs. This is |
44 | PRDNT | Original payroll period: This function processes all deductions in table DDNTK. During the previous loop run, this table was filled with the deduction amount that cannot be deducted from the emaining net amount. Entries in the IT table have to be reduced by this amount.
original payroll period. The deduction wage type amounts in the current IT are compared with the amounts from the original results for the period. | |
48 | PRPRI | Processing the Priorities Table | This function processes all deductions according to their priority and their arrears characteristics. If the retained net amount is insufficient for the deduction, the deduction amount is reduced accordingly. he amount which is not deducted is either stored in table DDNTK (Deductions not taken), or in both table DDNTK and table ARRRS (Arrears) and is then processed in the next payroll period with function PRART. |
49 | PREND | Processing Table DDNTK (Deductions Not Taken) | After the last loop run of priority processing, table DDNTK Deductions not taken) must be modified. At the beginning of the loop the wage types in the arrears table from the previous period have been placed into table IT for regular processing (Function PRART). Table DDNTK at the loop end contains the amounts that could not be taken from current deductions and amounts that come from the arrears table of the previous period.
|
45 | PLRT | Processing the Last Results Table | Function PLRT accesses a calculation rule that processes the contents of the last results table LRT according to specified rules. |
46 | PDT | Process Difference table | Function PDT accesses a personnel calculation rule that processes the ontents of difference table DT according to the rules specified. |
47 | SORT | Sorting Internal Tables | You can use function SORT to sort internal tables. |
48 | DATES | Providing Date Specifications in Payroll | Function DATES provides date specifications from the work center for calculating specific deadlines in Payroll. |
49 | BTFIL | Read Bank Transfers from Last Payroll Run | Function BTFIL moves the bank transfers from the last payroll run to table BT for processing. |
50 | XLIDI | Cost Distribution of Liabilities | This function executes preparatory measures for the posting transfer of the payroll results to Accounting that are necessary within the new general ledger. The function distributes the liabilities according to expenses and for this purpose fills the tables LIDI and LIFL. These two tables are only for the purpose of distributing according to expenses. The function does not influence any other tables of the payroll results. |
51 | P0011 | Processing Request for External Transfers | Function P0011 evaluates the master data in infotype P0011 - External transfer from . |
52 | P0009 | Processing Request for Bank Details | Function P0009 evaluates the master data from infotype 0009 - Bank Details. |
53 | XCODI | Cost Distribution | |
54 | ADDCU | Update Cumulations | 1. Update cumulataions according to the processing class 2. Create average bases for the following payroll periods |
55 | EXPRT | Exporting interim or final results to databases | Function EXPRT writes various internal tables in cluster tables, such as PCL1 (RP cluster 1) and PCL2 (RP cluster 2) to the database. For example, the following tables are exported and stored under a country-specific indicator (for example, RD for Germany): o o o The information can be imported again using function IMPRT. |
56 | BREAK | Setting a break point | The BREAK function allows you to interrupt processing at any point in the schema and branch into the break mode.
|
57 | PZL | calls a rule which processes the wage types in table ZL | Function PZL calls a rule which processes the wage types in table ZL according to specified rules. |
58 | XDECI | Convert Amounts to Standard Decimals
| Depending on the value of the first parameter, this function can perform one of three tasks. It either checks all currencies in the amount field, enters a standard currency in a blank currency field or converts amounts in a currency with more than two decimal places to the standard Currency. |
59 | DELZL | Deleting wage types from table ZL | Function DELZL deletes wage types from the time wage type table ZL. |