Eliminate the Need to Filter by Adding Fields to the Payroll Posting Screen

  • by Qazi Wasif Ali, SAP ABAP Consultant, Descon Engineering Limited
  • October 5, 2012
See how to use ABAP code to add fields to the posting screen in SAP ERP HCM so that the system always provides the latest information about employees. You’ll be able to do postings to fields that are not available by default, such as personnel area, personnel sub area, cost center, employee group, employee subgroup, or any combination of these. In SAP ERP HCM posting transaction code PC00_M99_CIPE, there is no such option available. Using this code means you do not need to filter for location, for example, when you do HR payroll reporting.
Key Concept
Posting payroll results to accounting is one of the subsequent activities performed after a successful payroll run in an SAP system. It usually takes place once each payroll period, as well as after each off-cycle payroll run. After you have exited the payroll run, you need to post the payroll results to the appropriate GL accounts (including cost centers).

In an SAP system, you sometimes need to post payroll results to accounting by personnel area, personnel sub area, cost center, employee group, or employee subgroup. Let’s take an example: Say a few employees are working at two different projects in one month. You want to do the posting at the latest location or project of the employee. This is not possible in a standard posting program.

The standard posting program creates a breakup of posting with two different dates. Suppose the employees are at project 1 from the first of the month to 18th, and are on a second project from the 19th to the 30th. In this case, the system creates two posting records for these dates.

I will explain what to do if you want to post a single record with the latest location without using any third-party tools. Although I use the example of a single employee, in real time there would be more than one employee. The benefit that you get from this type of posting is that the finance department can better manage and check costs.

I’ll start by briefly showing you the SAP standard posting process. Then I’ll show you the code involved in my process and also the details about how to achieve your requirements. You can use this process in any other industry, but the focus will be the posting screen because it is only related to posting in HR. If you are not familiar with the GL posting, see the sidebar, “GL Posting Process” for more detail.

Qazi Wasif Ali

Qazi Wasif Ali is an SAP ABAP certified consultant at Descon Engineering Limited in Pakistan. He has more than six years of SAP ABAP experience. He has a degree in computer science and has worked in industries such as packaging, beverages, and chemicals. Previously, he worked at Siemens Pakistan and Abacus Consulting. Qazi has also participated in support projects.

See more by this author


No comments have been submitted on this article. 

Please log in to post a comment.

To learn more about subscription access to premium content, click here.