Integration Extensions Between SuccessFactors Employee Central and On-Premise Payroll and Time Management
Short answer: Extensions that complete the standard replication between Employee Central and on-premise SAP payroll and time management: local personnel number mapping, work schedules and time accounts, payroll lock status, project and company asset data, and publishing payslips to the employee portal. Every flow runs with a traceable interface log.
- Estimated effort
- L · 30–45 working days
- System
- ECC and S/4HANA
- Tables
- 9
- Scope
- Global
- Built by
- NeKuDos Teknoloji
- Last updated
Why is the standard not enough?
The standard replication from Employee Central to the on-premise system (HRSFEC_PTP_EE_REPL) writes core employee data to infotypes; however, the company's local personnel number rules, custom fields and cost object determination must be adjusted to company rules. In the other direction, the lock status that blocks changes while payroll runs, leave and overtime balances, project and asset data and the payslip do not go to Employee Central or the portal out of the box.
Who uses it? HR information systems teams, payroll specialists, time management owners and integration developers.
Closest standard alternatives
- PA30 Maintain HR Master Data. Manual infotype maintenance; no mapping or feedback to Employee Central.
- PU12 Connection to Third-Party Payroll (Interface Toolbox). The interface toolbox produces file-based exports; it has no ready flows for time accounts, payroll lock or payslip publishing.
- PE51 HR Form Editor. Payslip form design; does not publish the payslip to the portal.
Tables used
The tables the program reads and updates. ECC and S/4HANA differences are marked separately.
| Table | Role | Access | System |
|---|---|---|---|
| PA0000HR Master Record: Infotype 0000 (Actions) | Actions and employment status | Read / write | ECC + S/4 |
| PA0001HR Master Record: Infotype 0001 (Organizational Assignment) | Organizational assignment: company code, org unit, cost center | Read / write | ECC + S/4 |
| PA0003HR Master Record: Infotype 0003 (Payroll Status) | Payroll status: payroll lock, earliest retro date | Read | ECC + S/4 |
| PA0007HR Master Record: Infotype 0007 (Planned Working Time) | Planned working time: work schedule rule | Read / write | ECC + S/4 |
| PA2006HR Time Record: Infotype 2006 (Absence Quotas) | Absence quotas: entitlement and usage | Read | ECC + S/4 |
| PA0315HR Master Record: Infotype 0315 (Time Sheet Defaults) | Time sheet defaults: sender cost center, WBS element | Read | ECC + S/4 |
| PA0040HR Master Record: Infotype 0040 (Objects on Loan) | Objects on loan | Read | ECC + S/4 |
| PA0105HR Master Record: Infotype 0105 (Communications) | Communication: user ID and email | Read / write | ECC + S/4 |
| HRPY_RGDIRDirectory for Payroll Results | Payroll result directory: period, payment date, sequence number | Read | ECC + S/4 |
BAPIs and functions used
- HR_INFOTYPE_OPERATIONMaintain HR Infotype Record. Writes incoming data to infotypes
- BAPI_EMPLOYEE_ENQUEUELock Employee. Locks the employee before writing
- BAPI_EMPLOYEE_DEQUEUEUnlock Employee. Releases the employee lock
- HR_READ_INFOTYPERead HR Infotype Records. Reads infotype data for outbound flows
- HR_TIME_RESULTS_GETRead Time Evaluation Results. Reads time evaluation results for overtime balances
- HR_PAYROLL_PERIODS_GETGet Payroll Periods. Finds the open payroll period
- PYXX_READ_PAYROLL_RESULTRead Payroll Result. Reads the finished payroll result
- CONVERT_ABAPSPOOLJOB_2_PDFConvert ABAP Spool Request to PDF. Converts the payslip to PDF
Selection screen parameters
| Parameter | Description | Type | Reference field | Required | Example |
|---|---|---|---|---|---|
| P_FLOW | Flow: employee mapping / time accounts / payroll lock / project-assets / payslip | Radio button | — | Yes | Bordro pusulası |
| S_PERNR | Personnel number | Range / multiple | PA0000-PERNR | No | 00012045 |
| S_BUKRS | Company code | Range / multiple | PA0001-BUKRS | No | 1000 |
| P_FPPER | Payroll period | Single value | HRPY_RGDIR-FPPER | No | 202611 |
| P_DELTA | Only changes since the last transfer | Checkbox | — | No | X |
| P_TEST | Test run (do not send) | Checkbox | — | No | — |
Result list columns
| # | Column | Source |
|---|---|---|
| 1 | Time | Calculated Message time |
| 2 | Flow | Calculated Mapping, time account, payroll lock, project-assets or payslip |
| 3 | Direction | Calculated Inbound or outbound |
| 4 | Personnel no. | PA0001-PERNR |
| 5 | Name | PA0001-ENAME |
| 6 | Detail | Calculated Infotype, balance or period transferred |
| 7 | Status | Calculated Success, error or reprocessed |
| 8 | Message | Calculated Error or information text |
Sample result list
| Time | Flow | Direction | Personnel no. | Name | Detail | Status | Message |
|---|---|---|---|---|---|---|---|
| 06:02 | Employee mapping | Inbound | 00012045 | Ayşe Örnek | IT0000, IT0001, IT0007 | Success | |
| 06:05 | Employee mapping | Inbound | 00012051 | Can Demo | IT0007 | Error | Work schedule VARD3 not in the mapping table |
| 22:30 | Time account | Outbound | 00012045 | Ayşe Örnek | Annual leave remaining 11.5 days | Success | |
| 09:00 | Payroll lock | Outbound | 202611 | Success | Payroll running status sent | ||
| 18:40 | Payslip | Outbound | 00012051 | Can Demo | 202611 | Success | PDF published to the portal |
How does the program work?
- Employee mapping: BAdI HRSFEC_B_EXT_PERNR_MAP maps the Employee Central user ID to the company’s local personnel number rule; on rehire the old number is kept. HRSFEC_B_CHANGE_INFOTYPE_DATA moves custom fields (e.g. local ID, union, shift group) to the relevant infotypes, and HRSFEC_B_DETERM_COST_OBJECT determines the cost center by company rule.
- Work schedule: the work schedule in Employee Central is mapped to a work schedule rule in PA0007 (planned working time); a rule missing from the mapping table is logged as an error in the interface log.
- Time accounts: PA2006 leave entitlements and usage (ANZHL, KVERB) and the overtime balances from time evaluation results (HR_TIME_RESULTS_GET) are sent daily to Employee Central time account balances.
- Payroll lock: when the payroll period opens (HR_PAYROLL_PERIODS_GET) and the payroll status in PA0003 changes, a ‘payroll running’ status is sent to Employee Central, so retroactive changes trigger a warning until exit. When the period closes, the lock is removed.
- Project and assets: PA0315 (time sheet defaults: sender cost center, WBS element) and PA0040 (objects on loan) are sent to the employee’s Employee Central profile or the portal.
- Payslip: finished payroll results are found in HRPY_RGDIR (PYXX_READ_PAYROLL_RESULT), the payslip form (PE51) is converted to PDF (CONVERT_ABAPSPOOLJOB_2_PDF) and published to the employee portal through a service; the same payslip is never sent twice.
- Incoming data is written with HR_INFOTYPE_OPERATION while the employee is locked (BAPI_EMPLOYEE_ENQUEUE). Transfers run through SAP Integration Suite (Cloud Integration) over SOAP/OData; an interface log is kept for every message and failed messages can be reprocessed. The solution works with the same tables in on-premise HCM on S/4HANA (H4S4) and in ECC HCM.
Performance notes
Run the balance and payslip flows only for changed employees (change date, new payroll sequence); do not send all employees every day. Read payroll results once per employee and publish payslips in packages; do not schedule heavy flows during the payroll run.
Features
- Line-by-line result and error log Every message is written to the interface log with direction, employee and result.
- Download failed lines as a separate file Failed messages are reprocessed from the log after correction.
- Runs as a background job Time account and payslip flows run as scheduled jobs.
- Test mode (check without posting) Outbound flows can be previewed without sending.
Authorization objects
- P_ORGINInfotype read and write authorization (for the interface user)
- P_PCLXAuthorization to read payroll and time result clusters
- S_SERVICEAuthorization to call the inbound services
- S_RFCRemote function call authorization
Frequently asked questions
Does it replace the standard Employee Central replication?
No. Standard replication still moves the core data; these extensions add the mapping rules through SAP-provided BAdIs and complete the feedback flows the standard does not offer.
How does the payslip reach the employee?
The payslip is published as a PDF to the employee portal, where only that employee can see it. If email delivery is needed, it can be installed together with the payslip email solution.
Does the payroll lock fully block changes in Employee Central?
The lock status is passed to Employee Central and a warning or block is applied there according to the rule set up; the behavior is agreed with HR during installation.
Related reports
Active Employee, Department and Manager Data Feed to External Systems (LMS, Portal, Help Desk)
An interface that regularly sends active employees with org unit, position, manager, cost center and email to external systems such as the learning …
Employee Master Data Consistency Check Before Payroll Report
A custom ALV report that shows, before the payroll run, missing mandatory infotypes, gaps in the organizational assignment, overlapping actions on the …
Email Payslips as PDF to Employees Program
A custom program that, after the payroll period is closed, turns each employee's standard remuneration statement (payslip) into a personal PDF and …
Let us build this program for your system
Briefly describe your system and expectations. We will clarify the scope and come back with an effort and price quote.