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
Fast Links:
Get help for your SAP HR problems
Do you have a SAP HR Question?
SAP Books
SAP Certification, Functional,
Basis Administration and ABAP Programming Reference Books
SAP HR Tips
SAP HR Tips and Human Resource
Management Discussion Forum
Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.sap-img.com
All the site contents are Copyright © www.sap-img.com
and the content authors. All rights reserved.
All product names are trademarks of their respective
companies. The site www.sap-img.com is in no way affiliated with
SAP AG.
Every effort is made to ensure the content integrity.
Information used on this site is at your own risk.
The content on this site may not be reproduced
or redistributed without the express written permission of
www.sap-img.com or the content authors.