|| 您当前的位置:首页 > SAP HR资源网

Creating Customer Specific Functions for HR Payroll

来源:SAP HR资源网  作者:www.512test.com  (查看评论)

During the execution of payroll, 'Personnel Calculation Schema' (created using Transaction: PE01) is used to calculate the employee's salary. The schema comprises of funtions (created using Transaction: PE04), inorder to incorporate cutomer specific calculation routines during execution of payroll, SAP allows you to create payroll functions in customer namspace (Starting from Y or Z).

Step by Step creation of SAP Payroll Funcitons:

1) Follow the menu path
   Human Resources>>Time Management>>Administration>>Tools>>Funtions/Operations
   or transaction PE04. Enter a four digit name for e.g ZIABC, and press the create
   button, enter the description. On creation the system proposes the name of
   the routine use it, or enter a name of your choice by selecting the option 'Self-defined'.

2) During the execution of payroll some tables are filled with wage types and there amounts
   to make these tables available to your routine enter the name of the table for e.g (RT or
   CRT) in the input parameters, and to make the changes done to the data in the tables
   avaiable to the payroll enter the name of the table in the Output parameters as well.

   Input Parameters
   ----------------
   Ctry                                         Num     Object Name
   ----------------------------------------------------------------
   99                                           1       RT
   99                                           2       CRT

  and same shall be done in the Output Paramters if required.

3) Create an include in the program PCBURZ990 (using Transaction:
SE38), in which create a subroutine with the name supplied by SAP or the
name selected by you during Funtion creation,
in our case, it is FUZIABC.
Note: The program PCBURZ990 is in SAP Namespace, so an Access Key
will be required before you can proceed. But it will not be overwritten during any upgrade.

*Example of the subroutine
*-------------------------


   FORM FUZIABC.
*enter the code 
   ENDFORM.
4) After this activate the program the Funtion and add it in the schema used for payroll processing.

Khusro Habib
SAP 4.7 ABAP Certified Consultant
SIEMENS Pakistan

考试辅导
最近更新内容
Google广告