Integration Diaries: Part 1, Employee Central – Employee Central Payroll
This series of blogs is to share our experience, tips/tweaks on various integrations provided by SAP between HCM systems; on-premise and cloud.
First things first, Employee Central (E.C) -> Employee Central Payroll (E.C.P) data replication via PTP – it is fast. Actually, it is super-fast compared to Core Hybrid (E.C -> SAP HCM) and Side-by-Side (SAP HCM -> E.C) replication.
Of course, the corpus of data that is being replicated is less, no O.M, no middlewares, no pack size issues/timeouts and no daisy chained P.I pass thru systems!
The initial replication of 2500+ employees took less than 3 minutes. Pretty Impressive! The configuration/customization is also super easy.
Setting connection for Employee Central System – For DC 12 customers only:
Table RFCDISPLAY shows api12.successfactors.eu. Simply set the connection to api012.successfactors.eu to resolve the ping errors.
Code Value Mapping (T77SFEC_CVMAPC):
Code Value Mapping is 1:1. For example, you map event “Termination” in E.C to action Termination in E.C.P. Same goes for event reason and action reason.
As you see in the screenshot below, retirement “event reason is configured under Termination Action. When you map these events in code value mapping, the desired employment status of „retirees“ is lost via replication. This happens because Termination event usually has “inactive” status in E.C.P.
Enhancement implementation of HRSFEC_B_CE_CHANGE_IT0000 could be used to resolve this issue.
Permanent Establishment Key Mapping (T77SFEC_KMAPPEST):
Location in E.C is mapped to Personnel Area and Subarea in E.C.P. However, a location can be shared between multiple company codes in E.C (see below). Replicating such an employee will return an error as P.S.A to CoCd has 1:1 mapping in E.C.P.
Creating additional locations in E.C was not feasible for us, but we had to do that in E.C.P. This had to be handled via Enhancement implementation of HRSFEC_B_CE_CHANGE_IT0001.
Be aware that you will have to register and fill BTRTL, SACHP, VDSK1, SBMOD along with WERKS!
Global Information/Challenge Infotype:
Global Info or mapping to Challenge infotype is not available out of the box. This information is critical for running payroll.
Enhancement Implementation of HRSFEC_B_CE_PROCESS_EMPLOYEE can be used here. Value mappings (challenge type, Agency etc. could be stored in T77SFEC_CVMAPC for ease of maintenance.
Address Information – Distance in km (ENKTM):
For employees with company car information, it is required to capture distance in km from primary residence to payroll purposes in Germany.
The distance information makes the most sense to be configured under the Address information object in E.C (similar to SAP address infotype).
Basic extensibility (V_HRSFEC_EXTMAP) allows you to map to Job Information, Personal Information, and Compensation Information to the Employee Central Payroll infotypes 0001, 0002, 0007, and 0008 only.
In order to realize this configuration, Enhancement implementation of HRSFEC_B_CE_CHANGE_IT0006 can be used.
Standard delivery of E.C.P generates PERNR using an internal number range. This means that USERID from E.C and PERNR from E.C.P is different.
Having different employee numbers appears to be a non-issue at first. You maintain all data of the employee from E.C. The mashup screens internally map the numbers and Payroll Control Center is used to run the payroll.
As we all know, payroll does not end with Finance posting and bank transfer. There are a lot of post payroll transactions/government communications in every country. Having different employee numbers was an inconvenience to our customer who had to execute different reports.
SAP provides HRSFEC_B_CE_EXT_PERNR_MAP to resolve this issue. This allows you to keep the employee numbers the same. However, please go thru the METHOD comments before implementation. Consider the impact of global employment or intercompany transfers.
The standard code creates new PERNR during Intercompany transfers. Enhance HRSFEC_B_CE_DECIDE_HIRE_REHIRE to control this. However, please go thru the METHOD comments before implementation.
Full Transmission Start Date (FTSD) and Impact on Replication:
E.C.P allows you to set an FTSD. This is very important as the entire history of the employees is not relevant for payroll, data for the current calendar year or financial year would do.
For example, if you have set an FTSD of 01.01.2018, all valid employees on or after this date are replicated. You also have employees retired on 31.12.2017 and who are eligible for retiree pay effective 01.01.2018.
Replication of such cases usually errors out due to:
- Lack of “job information” data slice in E.C
- Employment status issue as mentioned at the beginning of the document
- E.C.P refusing to create new PERNR because of retirement action.
A combination of enhancement, „F.C“ changes in T529A and separate „actions“ can resolve this issue.
Payroll Control Center (P.C.C)- Detailed Results in Simulation Posting:
SAP’s RDS delivery covers basic payroll activities (simulation, live run, simulation and live payroll posting, Bank document creation) using a neat and clean looking UI.
(Since P.C.C is all ABAP, I am sure you can cover more process via customer enhancements, but is it worth the investment?)
However, the details of the simulation posting are not displayed. You get to know the document has errors but cannot see any details. The fix is easy:
- Create a new run time class for the step simulation posting (Copy of CL_PYC_STT_CRT_SIM_POSTING_RUN)
- Enhance Methods FP3_BPC_DET_RT_GET_LIST, GET_RPT_CHAIN_MODE
For the detailed KBA, please contact SAP support.
Post Payroll – Custom Tiles in E.C:
There are a lot of post payroll transactions for Germany, really a lot J. I am sure this is the same case for all countries. P.C.C does not cover these transactions, this means the payroll admin will have to logon to E.C.P via GUI (username/password).
A simple workaround here is to create E.C Tiles. Each folder that you have under Payroll Germany for post payroll was created as a tile. An example below “Sozialversicherung“ which is only available to Payroll Admins.
The individual tiles calls the different SAP transactions. All your transactions in Tiles instead of folders!
This opens the respective report from SAP directly, SSO respected. No GUI required, only WebGUI 🙂
Compared to the good-looking Fiorized SF screens, the humble „PC00_M01_RPCBNVD0_O“ displayed via WebGUI looks uninteresting (see screenshot above). This difference in U.I between systems was not well received.
So what can be done? Screen Personas could help to do some leveling. A nice Landing page, for example definitely enhances the UX.
The same „PC00_M01_RPCBNVD0_O“, now looks relatively better 🙂
Wagetype Default from Payscale Structure in E.C.
A simple business rule that factors F.T.E with wage type amount from the payscale structure, rounds and assigns to the recurring object is really helpful for your payroll team, especially if you have lots of TARIFF employees.
Depending on if you are using E.C Time Off or a third party time provider, the integration design of IT0007/0008 varies. This is sensitive to payroll calculation, few thoughts:
- F.T.E in E.C is relevant for payroll depending on integration design.
- Standard Hours vs Individual hours of an employee effects Cap Utilization Level/Employment Percentage in E.C.P depending on your integration design.
- Using a custom field in Job Info for W.S.R, you can replicate 0007 and 0008 together. Standard integration neatly handles BSGRD/DIVGV linkage.
Different customers are in different stages of the digital transformation journey. SAP provides multiple options/product lines to support this transition.
Do talk with SAP or your S.I to understand what is best suited for your enterprise. Our customer transitioned from an on-prem legacy HR/payroll system to the Full Cloud model (E.C, E.C.P, PM/GM and Recruiting).
Boilerplate 🙂 It is possible that items mentioned in this blog are resolved via fixes or design changes. Refer the standard integration handbook or quarterly release notes from SAP for the latest product details and for design decisions.