Skip to Content
avatar image
Former Member

Steps to create a custom function in pe04 and to create the code include

I am new to HR time management.i require to create a custom quota

function in pe04 .

I believe it requires me to first include the source code under

the include RPTMOZ00..Its not editable and throws mesage that

its lckd by some other 'client'..Do i need some access key

there? moreover without this i do not know how to proceed in

pe04.I dont evn have any idea what all should be put in the

paramaters in the pe04 attributes.Just have been told about the

countries to specify there. please suggest what all inputs

should i ask my functional people to provide on this and what

all can i handle technically and how..any help would be

appreciated.Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 26, 2007 at 03:27 AM

    Hi,

    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.

    Reward points if helpful.

    Regards,

    Manoj.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      You definetly require Functional help because some time they need to include the functions in rules or schema.

      All the Best!!

      Regards,

      Manoj.