Quantcast
Channel: SCN : Document List - SAP ERP Human Capital Management (SAP ERP HCM)
Viewing all articles
Browse latest Browse all 672

Payroll Functions

$
0
0

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.NoName of the
  Function
DescriptionUse
1COMComment lines   in a schemaFunction COM   creates comment lines which explain the meaning of a schema

and thus the type of payroll generated with this schema.  

2COPYCopying  a Subschema Stored in the SystemThe   function COPY copies the schema specified in Par1 dynamically to the current   schema.
3BLOCKLog   structureThe   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
4PGMIdentifying   a schema by program typeFunction   PGM provides the payroll driver with information on the type of program
  represented by the schema in question.
5UPDPerforming   database updatesFunction   UPD controls whether the results of a payroll accounting run are stored in   the database or are only present during accounting.Parameters YES/NO   
6OPTOptionsYou   can use the OPT function to import infotypes to payroll
7CHECKCheck   Before/After Selecting EmployeesChecks   the period set according to the type of schema ,carries out a general check:
8RFRSHRefresh   internal tablesFunction   RFRSH allows you to delete internal tables.  
9ENAMERetrieve   NameFunction   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.
10WPBPImport   Work Center and Basic Pay DataFunction   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.
11IFConditional   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.
12ELSEConditional   Execution of FunctionsThe   ELSE function belongs to the function block formed by IF and ENDIF.
13ENDIFEnd   Function of a ConditionThe   ENDIF function belongs to the function block formed by IF and ELSE.
14GONCheck   data is complete

    Function GON checks whether all the master data has been imported.

15XGPPayroll   for Global EmployeesFunction 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.
16LPBEGBeginning   a Loop in the Personnel Calculation SchemaFunction   LPBEG marks the beginning of a loop in the personnel  calculation schema.
17LPENDEnding   a Loop in the Payroll SchemaFunction   LPEND marks the end of a loop in the payroll schema.
18IMPRTImporting   Intermediate or Final Results

You   use function IMPRT to import data from the database PCL2 and make it
  available for processing. You can import payroll results (cluster Rx), time
  data (cluster B2), and time wage types (cluster ZL) for the current personnel
  number.

  Depending on the parameters, the data is made available in a second record
  of tables. This gives you the option of processing old and new results
  together, for example, to compare, calculate differences, and so on.

19PITABProcessing   Internal TablesPITAB   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.
20PORTTransfer   of Data from the Previous PayrollThe   function PORT initiates a calculation rule which processes the wage  types of the old results table ORT   according to the specified rules.
21SETCUProcess   previous cumulationsFunction   SETCU processes existing cumulations (from previous payroll   runs) so that they can be used as the   basis for the current payroll run.
22GENPSGenerating   personal work scheduleFunction GENPS generates the personal work   schedule for the personnel  number for   which payroll is being run. 
23PARTTProvide   Bases for the Partial Period Factors

Function PARTT makes data from the   personal shift schedule (PSP) 
available for the calculation of partial period factors in a   payroll   period, and stores it in the   WPBP table.

The partial period factor shows the   relationship between the actual paid    time and the total time in a payroll period.
24PITProcess   Input TableThe 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.  
25MODDetermine   ModifiersFunction   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.  
26RABRAB 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.  
27PRINTPrint   the Table or StructureThe   PRINT function logs the contents of an internal table or data  Structure.
28DAYPRDay   Processing of Time DataFunction DAYPR initiates the daily   processing of time data.
29PABValuating   absences (international part)To   determine absence hours and days and evaluate the absences according      to the Evaluation of Absences table   (T554C).
30PALPProocess   alternative paymentsFunction   PALP loads hourly rates based on data from the time infotypes on alternative   payments.  
31P2010Processing   Request for Employee remuneration InformationFunction P2010 evaluates the employee   remuneration info entered in the
  infotype Employee Remuneration Information (2010).  
32ZLITImporting   wage types from ZL to ITFunction   ZLIT is used to import wage types from internal table ZL to  internal table IT.
33P0416Process   Quota CompensationYou   use function P0416 to process the quota compensation records from the Time   Quota Compensation infotype (0416).
34AVERACalculation   of AveragesThe AVERA function performs the complete   averages calculation. The  average
value is calculated for each average calculation rule.
35P0045Provision   of Loan DataFunction   P0045 processes the master data in the Loans infotype (0045)   that is valid for the payroll period.
36PRTProcess   Results TableThe   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.  
37P0267
38P0014Processing   Request for Recurring Payments and DeductionsFunction   P0014 evaluates the master data in the Recurring Payments and Deductions   infotype (0014).  
39P0015Processing   Request for Additional PaymentsFunction   P0015 evaluates the master data in the Additional Payments Infotype (0015).
40P0057Processing   Request for Membership FeesFunction   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.
41GEN/8Form   technical wage types /801 - /8nnFunction   GEN/8 generates up to 16 secondary wage types for the  calculation of partial period   factors.  
42ACTIORule-controlled   performance of an actionFunction 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.  
43PRARTProcessing   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 
  specified in processing class 76.

44PRDNTOriginal 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.


In the standard system, all deductions are stored in table IT after the   recurring payments/deductions, and one-off payments (infotypes 0014 and 0015)   are imported. This function is then directly called up, without parameters.
Retroactive accounting run:

The system uses exactly the deduction amounts that were deducted in the
original payroll period. The deduction wage type amounts in the current IT
are compared with the amounts from the original results for the period.
48PRPRIProcessing   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.

49PRENDProcessing   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.  


Table DDNTK should only contain the amounts which could not be taken from the current deductions (IT 00014/0015). The principle behind it is that firstly the old arrears amounts of a wage type are taken and then the current deductions.

45PLRTProcessing   the Last Results TableFunction   PLRT accesses a calculation rule that processes the contents of the last results table LRT according to specified rules. 
46PDTProcess   Difference tableFunction PDT accesses a personnel calculation rule that processes the ontents of difference table DT according to the rules specified.
47SORTSorting  Internal Tables

You can use function SORT to sort internal tables.

48DATESProviding   Date Specifications in Payroll

Function DATES provides date  specifications from the work center for   calculating specific deadlines in   Payroll.

49BTFILRead   Bank Transfers from Last Payroll RunFunction BTFIL moves the bank transfers from  the last payroll run to   table BT for processing.
50XLIDICost  Distribution of LiabilitiesThis 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.
51P0011Processing   Request for External TransfersFunction  P0011 evaluates the master data in infotype P0011 - External transfer from .
52P0009Processing   Request for Bank DetailsFunction   P0009 evaluates the master data from infotype 0009 - Bank Details. 
53XCODICost   Distribution
54ADDCUUpdate   Cumulations

1.   Update cumulataions according to the processing class

2.   Create average bases for the following payroll periods

55EXPRTExporting   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 
  International payroll tables (for example, WPBP, RT)

      o 
  Country-specific payroll tables (for example, SV, ST)

      o 
  Time data tables (for example, PSP, ZL)

The information can be imported   again using function IMPRT.  

56BREAKSetting   a break pointThe   BREAK function allows you to interrupt processing at any point in       the schema and branch into the   break mode.

 

  
57PZLcalls   a rule which processes the wage types in table ZLFunction PZL calls a rule which processes  the wage types in table ZL      according to specified rules.
58XDECIConvert 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.
59DELZLDeleting wage types from table ZLFunction   DELZL deletes wage types from the time wage type table ZL.  

Viewing all articles
Browse latest Browse all 672

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>