Creating custom payroll function

...Previous

Now we come to important features of payroll functions. Let have a small idea about Input parameters and output parameters. Again theory and boring part :- ( . But we need to be sure what input parameters and what output parameter we require to calculate the amount.  

Payroll function use some internal tables to calculate the amount.

Below are some of the tables and concept for internal tables in payroll function.  

Process Input Table (PIT) :  This table contains the wage type details with the amount and other information. Its having the structure of internal table IT, which you can access at runtime to calculate the values.  

Process Result Table (PRT) :  This table is use to give the results in RT table.PRT work much the same as PIT, looping through the RT and applying logic from a rule  

Now let resume again from Input parameters screen.  

Below is the screen after clicking on Input parameters. Now click on change.

Now click on New Entries.  

Now pass the values.  

Now maintained the output parameters.  

Now come back and save the data. System will ask to assign the function to a SAP Standard package. After assigning, it will ask for a transport request and later system will activate the function.  

Now you need to create a Form routine with name FUZTEST in include PCBURZ990. For that you need to require access key. After adding the Form, you can write the business logic.

Now lets see the below steps to use your Custom Payroll function in Schema.  

Execute the PE01 transaction and pass the required Schema in which you want to call your custom function

Click on change.  

Here you can insert new lines and use to Custom function.  

 Please send us your feedback/suggestions at webmaster@SAPFunctional.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPFunctional.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image