Understanding Functions in Payroll Schemas (Specific Eg, WPBP)
Understanding Functions in Payroll Schemas (Specific Eg, WPBP)
T Code: PE04
A function may be used as a part of schema or a sub schema, depending on the requirements.
For example, in the below screenshots, the function COM is used in the main schema X000
(International Personnel Calc. Schema for RPCALCX0 (International)), while the function WPBP is
used as a function in the custom subschema XBD0 (Edit basic data).
Main Schema: X000
A schema can be accessed via transaction PE01 and the details of the functions can be viewed by pressing
F1 on the function name.
Syntax of a function
The syntax of a function in a schema is defined basis the parameter list defined in the characteristics of the
function.
Thus for WPBP, if you specify a pay scale type which has not been maintained correctly in the indirect
valuation tables, the personnel number is rejected during indirect valuation.
Setting the third parameter will result in split of WPBP in a greater detail if the time unit for the pay scale does
not correspond to the time unit for the payroll area.
For the fourth parameter, the function WPBP is started for the subtype 0 of IT 08.
The driver will execute various functions step by step as per the schema. In case the display
log option has been checked in the payroll driver, a payroll log will be generated basis the inputs
given.
The below screenshots depict the output of WPBP function and how the processing is done basis the inputs
provided to the function. Here, WPBP function will pick up the inputs from P0000/ P0001 / P0007 / P0008
and P0027 tables and perform indirect valuation of wage types from basic pay in the processing step and
subsequently transfer the data into WPBP Table.