Professional Documents
Culture Documents
Get Started
Solutions Support Training Community Developer
Partner About
Community / Blogs
Understanding functions in
Payroll Schemas (specific eg,
WPBP)
August 22, 2013 | 1,053 Views |
Neha Chopra
more by this author
HCM (Human Capital Management)
share
0 share
0 tweet share
0
Follow
Introduction
In SAP HR, functions provide the highlevel logic for calculations. The
functions can be associated with either a payroll class or time management
class. In payroll, they provide the overall functionality for payroll processing
including rules for calculations. Functions perform general processing such
as reading wage types from specific infotypes, calculating payroll taxes on a
given set of wages, benefits premiums etc and storing the results of the
payroll calculation.
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 1/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
To understand how to read the functions, below is the example for one of the
payroll functions, WPBP (Import work center and basic pay data).
WPBP (Import work center and basic pay data)
This function is used to transfer master data on the work center and basic
pay for the payroll period to internal table WPBP. The basic pay wage types
are stored in the internal table IT. If all the fields of the table WPBP are
same during the entire payroll period, this table will contain one record.
However, in certain cases different data may exist for different partial
periods. In such cases, there will be multiple entries, which are identified by
split indicators. Such cases have been explained in the below sections
along with the screenshots.
Viewing the function
SAP Payroll comprises of many functions which can be accessed via
transaction PE04. Some of these are countryspecific while others are not.
Each function is defined and documented and can be viewed via transaction
PDSY in releases 4.5 and greater, or with report RPDSYS00 in earlier
versions.
T Code: PE04
Characteristics of the function
code is. A payroll function is executed in the payroll driver using schemas.
Thus, when the payroll driver executes the schema, it automatically puts ‘fu’
in the beginning of the function name and then execute it further.
Usage of function in a Schema#
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
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 3/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
Sub schema XBD0
#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.
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 4/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
Below is the detailed explanation of the parameters.
Par2 – different payscale type (No check)
Par3 – rel. time unit (X – WPBP for each time unit)
Par4 – Subtype of infotype 0008 (No check)
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.
Executing function in Schema
A function cannot be directly executed in isolation. It can be executed only
via schemas which are further executed using payroll driver. Key in the data
in the payroll driver (T Code: PC00_M**_CALC_SIMU – payroll driver in
simulation mode; ** indicates the country grouping or MOLGA)
Example
T Code:PC00_M01_CALC_SIMU (01 – MOLGA for Germany)
Code
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 5/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
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.
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 6/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
Inputs for the WPBP Function
WPBP function will pick up the inputs from P0000/ P0001 / P0007 / P0008
and P0027 tables.
Detailed view of the inputs
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 7/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
Processing during the WPBP function
Indirect valuation of wage types from basic pay is performed in the
processing step and subsequently that output is transferred into WPBP
Table.
Output – Creation of WPBP Table
In case there are no changes to the IT 0000 / 0001 / 0007 / 0008 / 0027
during the given payroll period, there will be only one entry. However, if
certain changes have been made to above infotypes during the payroll
period, a split will be created for the partial periods and accordingly, multiple
entries will be created in WPBP table. This is being shown in the
subsequent section.
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 8/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
WPBP splits created by WPBP function
As mentioned above if there are any changes to IT 0000 / 0001 / 0007 /
0008 / 0027 for an employee during the given payroll period, a split will be
created for the partial periods in WPBP table.
For example there had been a change in the basic pay for an employee in
the middle of a given payroll period (01.04.2006– 30.04.2006), which
resulted in multiple splits in WPBP Table.
Inputs for the WPBP Function
Processing of WPBP Table with splits
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 9/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
Output of WPBP Table with splits
Detailed output of WPBP Table with two entries
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 10/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
Alert Moderator
40 Comments
You must be Logged on to comment or reply to a post.
Rajasekhar Reddy
August 23, 2013 at 5:19 am
Hi,
Nice documentation on WPBP
Will 1018 (cost distribution) infotype from OM will create any split ???
Regards,
Raja sekhar
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 11/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
Neha Chopra Post author
August 23, 2013 at 1:00 pm
Hi Raja,
Thanks for appreciating the efforts.
Regarding your query about 1018 creating the split, the answer
is no. As per standard SAP, the WPBP split is created only due
to changes in the infotypes IT 0000, 0001, 0007, 0008 and
0027. However, the change in 1018 does have an impact on the
payroll, though I am not much aware of how it is dealt with. I
guess paryoll experts will be able to advise.
I will try to find the answer at my end as well and will share it
with you. Until then, sorry for an incomplete response
Regards
Neha
Rajasekhar Reddy
August 24, 2013 at 5:00 am
Hi,
I have got the answer that where can i find the cost distribution
in the payroll log if is there is a change in the cost center at the
position level. In the Final processing of the schema in function
EXPRT and Table C0.
However the same split can be seen in posting from
PC00_M99_CIPE.
Regards,
Raja Sekhar
Neha Chopra Post author
August 24, 2013 at 5:22 pm
Hi Raja,
Thanks a ton for getting answer to this so quickly Am sure it
will help all…
Regards
Neha
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 12/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
Madhava Rao Basava
August 24, 2013 at 6:38 am
Hi Neha,
Its a very good document to start with and well explained. Good work.
Thanks,
Madhav.
Neha Chopra Post author
August 24, 2013 at 5:25 pm
Thanks a lot Madhav.. Much appreciate your comments
Regards
Neha
santosh mohanty
August 24, 2013 at 6:58 am
Dear Raja,
Thanks for the document….
Santosh
Neha Chopra Post author
March 25, 2014 at 12:31 pm
thanks Santosh
John Cheriyan
August 26, 2013 at 9:45 am
Hi Neha,
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 13/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
Good one………………
John
Neha Chopra Post author
August 26, 2013 at 9:50 am
Hi John,
Thanks a lot..
Regards
Neha
Theo Peeters
March 5, 2014 at 3:06 pm
Hi Neha
Great document
Sometimes there are splits created in WBPB by some country specific
infotypes also, like 0442 Company Car or 0808 Wagereturn for the
Netherlands.
There is a possibility to create splits also from infotype 0014 by using
WPBPC operation.This can be used to factore recurring payments and
deductions also.
regards
Theo
Neha Chopra Post author
March 6, 2014 at 4:11 pm
Hi Theo,
Thanks for your words and inputs. Provided an insight on new
information. Thank you
Regards
Neha
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 14/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
Babu K
March 23, 2014 at 9:14 pm
Hi Neha.. Very good document to provide the basis understanding of WPBP
function especially with screenshot and explanation.. Its will be nice to
include Schema screenshot in Section “Syntax of function’ to quickly
understand how it’s defined in schema to call function with par value.. It’s my
guess
Kamal
Bhagyashree Naik
March 24, 2014 at 7:41 am
Hi Neha,
Very well explained documentation. I guess new comers will be
in a better position to understand WPBP Splits.
Best Regards,
Bhagyashree
Neha Chopra Post author
March 25, 2014 at 12:32 pm
Thanks Bhagyashree Happy that it helped !
Neha Chopra Post author
March 25, 2014 at 12:32 pm
thanks Kamya. Point taken. Will keep this into my radar and try
to incorporate new points as and when time permits
Rajesh Kumar Burra
March 25, 2014 at 12:45 pm
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 15/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
Nice document Factoring plays an important role
For example: An employee joined in the middle of the month His earnings
should calculate based on number of working days so in that case there will
be WPBP split.
Same in case with cost distribution if an employee working in two different
departments For each department he will share 50% that is 100% for two
different departments so he will share two different cost centers so in this
case there will be WPBP split.
WPBP table will consider the following infotypes:
Actions (0000)
Organizational Assignment (0001)
Planned Working Time (0007)
Basic Pay (0008)
Cost Distribution (0027)
If you need split for your custom infotype It is required to create custom
function.
Neha Chopra Post author
March 25, 2014 at 2:22 pm
Thanks Rajesh for the information shared
Laieq Hashmi
April 5, 2014 at 4:27 pm
Hi Neha ,
Excellent document extremely helpful for newcomers to understand WPBP
split again great work .
kind regards
Laieq Hashmi
Neha Chopra Post author
April 8, 2014 at 5:31 am
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 16/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
Thanks Laieq your words
Tasneem Hussain
September 13, 2014 at 4:34 am
Great work neha do you have anything releated to whole schema and pcr
configration?
Neha Chopra Post author
September 13, 2014 at 7:44 am
Thanks Tasneem Schema and PCR is huge.. Is there any
specific information that you are looking for ?
Euna Lee
September 29, 2014 at 10:46 pm
Hello Neha,
What is the possible cause that WPBP split is not regiestered?
There’s a split in each IT0000/0001/0007, WPBP split output is
not generated. (I tried to create a split in IT0008, only then the
output is generated.)
Regards,
Euna
Neha Chopra Post author
October 3, 2014 at 5:44 pm
Hi Euna
Sorry for late reply. Had been busy with work.
Reg your issue, ideally changes in the given ITs, should create
split. However, can you please check if there is any custom rule
written which is eliminating the splits ? In case your issue is still
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 17/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
not resolved, I would suggest you to post a query on SCN to get
it resolved quickly
Regards
Neha
Bhagyashree Naik
October 4, 2014 at 8:00 am
Check the processing class 20 for the wage types not displaying
the splits.
Regards,
Bhagyashree
Euna Lee
October 6, 2014 at 1:19 pm
Hi,
It’s just one employee who has a problem. Tested with other
EEs, not a problem with them. Thankfully it’s only happening in
Test environment, but I wanted to make sure I know the answer
whenever it happens.
Thank you.
Euna
Rajesh Dadi
September 25, 2014 at 7:34 am
Hi Neha.. Good Article…
I need a help in understanding elimination of split indicators…
for example specification 6 for processing class 05 is
6 Transfer in summarized form with out eliminating splits
What exactly is this eliminating splits…and how it will be used further in
payroll processing?
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 18/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
Sai Krishna
November 16, 2014 at 5:44 pm
Hi Neha,
Nice Explanation, I have a doubt you said there had been a change in the
planned working time for an employee in the middle of a given payroll period
(01.04.2006– 30.04.2006), which resulted in multiple splits in WPBP Table but in out
put log its showing IT8 split, there is no basic pay change right, could you please
explain if i am wrong.
Thanks
Neha Chopra Post author
November 17, 2014 at 9:26 am
My bad. Sorry it was a typo. Updated the document. thanks for
highlighting it.
Regards
Neha
Sai Krishna
November 17, 2014 at 11:48 am
Hi Neha,
Thank you so much, Do you have complete document of US
payroll schema.
Regards,
Sai Krishna
Sriram Tamil
June 29, 2015 at 2:02 pm
Hi Neha,
Really good document on this.. i have been searching this. it is a nice
learning for me.. i will bookmark the page as i dont want to miss the page.
Thanks
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 19/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
Sriram
Neha Chopra Post author
July 9, 2015 at 9:01 am
Thanks Sriram. Glad it helped.
Subrajit S
July 17, 2015 at 6:24 pm
Thanks for sharing this nice document
Neha Chopra Post author
July 29, 2015 at 5:01 am
Thanks Subrajit
Subrajit S
August 6, 2015 at 2:24 pm
Dear Neha,
I am new to Schema & PCR, could you please guide me with step by step. If
you have any valuable document please send it to my email id so that I can
improve my skill on this.
Regards,
Subrajit.
Neha Chopra Post author
August 26, 2015 at 10:50 am
hi Subrajit
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 20/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
Schema and PCR is too vast a topic. I will suggest to refer to
some of the SCN wiki or google it out to check out the topics.
Regards
Neha
Tumelo Modise
October 29, 2015 at 9:31 am
Good day Neha,
Thanks for this awesome document.
Regards,
Tumelo Modise
Neha Chopra Post author
November 18, 2015 at 3:51 am
Thanks Tumelo
Regards
Neha
Akhilesh Kumar Jain
March 6, 2016 at 10:12 am
Hi Neha,
This is always helpful discussion, documents are easy to understand,
Neha Chopra Post author
March 14, 2016 at 11:29 am
Hi Akhilesh,
Glad it helped
Regards
Neha
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 21/22
1/10/2017 Understanding functions in Payroll Schemas (specific eg, WPBP) | SAP Blogs
https://blogs.sap.com/2013/08/22/understandingfunctionsinpayrollschemasspecificegwpbp/ 22/22