SAP BLOG Controlling Payroll Budget using Statistical WBS Element

SAP Blog

Kayıtlı Üye
22 Ara 2017
Tepki puanı

Project WBS Element can collect costs from various MM/PM objects like Purchase Order, Maintenance Order, Service orders etc. and budget can be tracked using Availability Control. I want to explain about, how we can track budget of Employee Payroll expenses using Statistical WBS element. This blog is to purely demonstrate the budget availability control using FI Substitution Rule.

In a project based organization, company wants to track the budget of employee payroll expenses. This can be also achieved using other methods like using Internal Order or implementing Funds Management. But I am demonstrating a typical scenario, where there is no FM module is implemented but they want to implement using Project System module.

I have taken an example of “Canada Payroll” process, since, my sandbox is having suitable configurations with PS/CO/FI with IDES company code 4500. I would like to thank the SAP developers/consultants who had created this data set. Otherwise, whatever names mentioned in this screenshots are purely fictional and used to illustrate this example and nothing is real.

Cost Center Assignment in HR

HR folks might be aware that, employee can be assigned with a Cost Center in PA Infotype 0001 (Organizational Assignment). This can be also assigned via OM module’s Org.unit / Position. This also can be assigned using Infotype 27 (Cost Distribution). The following screenshot shows the cost center assignment through Org.unit/Position:

We can also assign employee with WBS element in infotype 27. But if I assign here, then, that will lead to split the cost and SAP will try to allocate the cost to that WBS instead of assigned cost center. SAP HR is having robust facility to assign employee’s cost center/controlling elements as mentioned earlier.



Brief about SAP Integration of Payroll with FI/CO:

HR folks may be aware that, employees payroll wage types are linked with symbolic accounts and these symbolic accounts are linked to GL accounts for financial posting. There are tons of sap help documents available on these concepts. Payroll results will be available in cluster tables with these wage types. There is a sequence of IMG configuration steps for setting up this posting attributes. You can refer those blogs/helps to understand Payroll / FICO integration.

Payroll Posting with FI Substitution:

I am going to use “FI” Substitution during “Payroll Posting to Accounting” Process. Here, whenever an employee with cost center ‘7150’ is identified, I will try to insert a Statistical WBS element which is having budget availability control active. When a GL accounting document is created, this will check the particular GL account and cost center, and expense line item will get ‘WBS’ element assigned.

Employee Salary in this scenario will be having financial posting to expense accounts with following GL accounts with cost center 7150:

430000 – Salaries / Basge Wages

434000 – Holiday / Vacation Payment

444010 – Employment Insurance

445010 – CPP (Canada Pension Plan)

447000 – EE Benefits

465031 – ON (Ontario) Health Tax

465032 – ON (Ontario) Workers Compensation

Above GL list is only examples and not exhaustive. There are hundreds of GL accounts present in linking Payroll Symbolic accounts and wage types. I have mentioned only a portion of it for demonstration purpose.

We are going to attach a statistical WBS element I/4008-1 for all these expense posting GL line items using FI substitution as mentioned below:

Screenshot of Substitution using tcode ‘GGB1’:


Above substitution will attach this WBS element for each line item in GL account document along with cost center 7150. On analyzing controlling document:

  1. Each line item will post with value type ’04’ (real cost) with cost center 7150.
  2. Each line item will post with value type ’11’ (statistical cost) with WBS element I/4008-1

If your scenario is more complex, like, you want to track many cost centers, then you may need to have multiple steps in substitution or use “user exit” based substitution. Or, if you are looking for enterprise wide budget control, then you may have to use “Fund Management” module. Here I am trying to demonstrate as per a specific requirement of tracking cost of a particular cost center.

Now let us see the details of this WBS element along with it’s properties:

Screenshot of Project Definition I/4008 (Tcode: CJ03):


Here ‘Statistical’ Checkbox is important, so that, the cost will not be “real”.

Screenshot of WBS Element:


Budget Profile (Tcode: OPS9):


Here, I am not ticking “Overall” & “Releases” and hence, the availability control will be checked against annual budget amount (not the overall value).

Screenshot of Budget Availability Control:


In above example, if 90% of the budget is consumed then we need to get the error message. You can define your own strategy as per business requirement.

Screenshot of Budget Allocation (Tcode:CJ30):


Payroll Posting Run (PC00_M99_CIPE):

I have taken only one employee’s payroll result for demonstration purpose. In real scenario, we usually post for several employees along with payroll areas to reduce the number of FI documents. I am also showing this as “Simulation Posting”, since, I want to demonstrate only the concept.


Output of Posting Run:

Below screen shows, Status of this posting run as “Incorrect”, because, there is some error in the posting run. In this scenario, we have some error related to budget availability on the assigned WBS element.


Posting Document Detail:


Posting Error:


if we see the details of each error message, we can find exactly how much budget amount is shortage to allow the posting of this document.

In this scenario, Substitution is mandatory, since, payroll posting will be done automatically using “Payroll Posting to Accounting” using settings like OBYC in MM module (In HR we use OBYE for assigning expense accounts & OBYG for assigning balance sheet accounts). So, we cannot assign WBS element manually during automatic posting of this GL document.


We can manage budget of employee salary using FM module or Internal Order. But for project based organizations, we can also use WBS Element to control Payroll Budget. The method used will be purely depend on the components enabled in the system and the business requirements.

Okumaya devam et...