# Integration Extensions Between SuccessFactors Employee Central and On-Premise Payroll and Time Management

> 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.

- Type: Program, Custom development, Interface
- Module: HCM
- Estimated effort: L (30–45 working days)
- Last updated: 2026-11-18
- URL: https://nekuhub.com/en/programs/successfactors-employee-central-payroll-and-time-management-integration/


## 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.

### Closest standard alternatives

- PA30: Manual infotype maintenance; no mapping or feedback to Employee Central.
- PU12: The interface toolbox produces file-based exports; it has no ready flows for time accounts, payroll lock or payslip publishing.
- PE51: Payslip form design; does not publish the payslip to the portal.

## Tables used

| Table | Role | Access | Join | System |
|---|---|---|---|---|
| PA0000 | Actions and employment status | Read / write | - | ECC + S/4 |
| PA0001 | Organizational assignment: company code, org unit, cost center | Read / write | PA0001-PERNR = PA0000-PERNR | ECC + S/4 |
| PA0003 | Payroll status: payroll lock, earliest retro date | Read | PA0003-PERNR = PA0000-PERNR | ECC + S/4 |
| PA0007 | Planned working time: work schedule rule | Read / write | PA0007-PERNR = PA0000-PERNR | ECC + S/4 |
| PA2006 | Absence quotas: entitlement and usage | Read | PA2006-PERNR = PA0000-PERNR | ECC + S/4 |
| PA0315 | Time sheet defaults: sender cost center, WBS element | Read | PA0315-PERNR = PA0000-PERNR | ECC + S/4 |
| PA0040 | Objects on loan | Read | PA0040-PERNR = PA0000-PERNR | ECC + S/4 |
| PA0105 | Communication: user ID and email | Read / write | PA0105-PERNR = PA0000-PERNR | ECC + S/4 |
| HRPY_RGDIR | Payroll result directory: period, payment date, sequence number | Read | HRPY_RGDIR-PERNR = PA0000-PERNR | ECC + S/4 |

## BAPIs and functions used

- HR_INFOTYPE_OPERATION: Writes incoming data to infotypes
- BAPI_EMPLOYEE_ENQUEUE: Locks the employee before writing
- BAPI_EMPLOYEE_DEQUEUE: Releases the employee lock
- HR_READ_INFOTYPE: Reads infotype data for outbound flows
- HR_TIME_RESULTS_GET: Reads time evaluation results for overtime balances
- HR_PAYROLL_PERIODS_GET: Finds the open payroll period
- PYXX_READ_PAYROLL_RESULT: Reads the finished payroll result
- CONVERT_ABAPSPOOLJOB_2_PDF: Converts the payslip to PDF

## Selection screen parameters

| Parameter | Description | Type | Reference field | Required |
|---|---|---|---|---|
| P_FLOW | Flow: employee mapping / time accounts / payroll lock / project-assets / payslip | Radio button | - | Yes |
| S_PERNR | Personnel number | Range / multiple | PA0000-PERNR | No |
| S_BUKRS | Company code | Range / multiple | PA0001-BUKRS | No |
| P_FPPER | Payroll period | Single value | HRPY_RGDIR-FPPER | No |
| P_DELTA | Only changes since the last transfer | Checkbox | - | No |
| P_TEST | Test run (do not send) | Checkbox | - | No |

## Result list columns

| Column | Source |
|---|---|
| Time | Calculated: Message time |
| Flow | Calculated: Mapping, time account, payroll lock, project-assets or payslip |
| Direction | Calculated: Inbound or outbound |
| Personnel no. | PA0001-PERNR |
| Name | PA0001-ENAME |
| Detail | Calculated: Infotype, balance or period transferred |
| Status | Calculated: Success, error or reprocessed |
| Message | Calculated: Error or information text |

## How does the program work?

1. 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.
2. 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.
3. 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.
4. 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.
5. 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.
6. 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.
7. 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.

## Authorization objects

- P_ORGIN: Infotype read and write authorization (for the interface user)
- P_PCLX: Authorization to read payroll and time result clusters
- S_SERVICE: Authorization to call the inbound services
- S_RFC: Remote 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.

---
Let us build this program for your system: https://nekuhub.com/en/request-a-quote/?report=hcm-successfactors-payroll-time-integration
