SAP HCM to Okta integration: SAP HR as the source for Okta users, on the start date of the action
With an integration between SAP HCM and Okta, SAP HR becomes the source for who works there: a hiring action in SAP produces an Okta user with personnel number, department, company and cost centre, and a leaving action deactivates that user on the effective date. KoppelHet receives the HR master data inside your network and delivers it to Okta as a custom HR source.
Step 1IntakeQuestions a consultant has prepared for your systems.
Step 2Detailed designField by field what happens, with exceptions and test scenarios.
Step 3Approval and quoteYou approve the design; the quote follows from it.
Step 4Build and testOn our platform, then your acceptance test.
Step 5Go-live and supportAt a moment you choose. After that we monitor it.
What the integration does
Organisations that run SAP HCM on premises for HR and payroll and use Okta as identity provider often create Okta users from an email or form from HR. A transfer entered in advance in SAP then does not reach Okta, and groups and apps stay tied to the old department.
The SAP administrator sets up the sending of HR master data once, to a small KoppelHet program in the own network.
SAP sends the changed infotypes on every action or change; KoppelHet completes them into a full profile.
On the start date of the action KoppelHet includes the employee in the next import to Okta, with their organisational unit as group.
Okta creates or updates the user, and the group rules in Okta assign the apps.
On a leaving action Okta deactivates the user on the effective date; every week KoppelHet compares SAP with Okta as a check.
Out: Okta user with personnel number as fixed key · Department, job, company and cost centre · Okta group per organisational unit · Manager · Deactivation on the leaving action
What to watch for with SAP HCM and Okta
Okta takes in a custom HR source per session, and only one session runs at a time per source; a new session within five minutes of starting the previous one returns an error. SAP, by contrast, sends separate messages per change. KoppelHet collects those messages and delivers them to Okta as one session every quarter of an hour.
A user's external ID in Okta is immutable and decides whether Okta creates or updates. KoppelHet uses the SAP personnel number for it. If a returner gets a new personnel number in SAP, KoppelHet reports it to IT, so no second Okta user is created for the same person.
On a change SAP only sends the infotypes that changed, while Okta receives a profile of text values per user. KoppelHet keeps the latest state per personnel number and always sends Okta the full profile, so a new surname does not lead to a user without department or cost centre.
Okta does not delete users from a custom HR source, it deactivates them. A bulk delete with an unknown external ID is silently ignored by Okta, and the session then gets stuck. KoppelHet therefore first checks whether the personnel number of a leaving action exists in Okta before it goes into the session.
Groups and memberships go into Okta as separate parts of the same session. KoppelHet creates an Okta group per SAP organisational unit with the unit as external ID and moves the membership on the start date of a transfer, so the group rules in Okta assign the apps of the new department.
In SAP, actions are often entered weeks in advance, with a start date. In a custom HR source Okta only knows text values and no effective date. KoppelHet holds a transfer or leaving action entered in advance and only sends it to Okta on the start date.
SAP HCM runs in your own network and Okta in the cloud. The KoppelHet program receives the SAP messages inside the network and only makes outgoing connections to Okta, with an OAuth token. No port from outside to SAP has to be opened.
The integration runs on the KoppelHet platform, hosted in a data centre in the EU.
Every sync and every error is visible in the functional log; on an error your administrator is notified.
A change that cannot go through is not half-applied but queued for another attempt.
KoppelHet is ISO 27001 certified. Data travels encrypted and stays on the platform no longer than needed.
After go-live we manage the integration and adjust it when your process changes.
The integration fits next to your existing integration layer. Only the fields in the design are transferred; the platform keeps no register of its own.
This is not an app you switch on. We build the integration for your organisation on our platform, with building blocks we reuse on every project. So it is custom work that does not start from scratch.
A consultant prepares the intake and analyses both systems. We then record the mapping and exceptions field by field, test in the test or acceptance environment and go live at a moment you choose. Costs are a one-off amount for the setup and a monthly amount for platform, monitoring and support.
Price indication · Complex
€ 0.000 – € 00.000
€ 000 per month
Frequently asked questions
What does our SAP administrator need to do?
Set up the distribution model, partner profile and change pointers for HR master data once. We supply the specification with the infotypes Okta needs.
Does KoppelHet also assign apps in Okta?
No. KoppelHet delivers users and groups; group rules and app assignments stay in Okta. That way Okta remains the place where IT manages access.
Technical details for IT
For those who want to know how it works under the hood: APIs, fields and sources used.
SAP HCM sends HR master data through ALE with message type HRMD_A (IDocs), created by change pointers, with a distribution model and partner profile. A KoppelHet agent receives the IDocs inside the network. Infotypes 0000 (actions, STAT2), 0001 (organisational assignment, company code, cost centre) and 0002 (personal data); key PERNR.
Okta through the Identity Sources API (Custom Identity Source) with an OAuth 2.0 token: one session per run (CREATED, TRIGGERED, COMPLETED), bulk upsert of users with externalId and text attributes only (at most 200 per request, 50 requests per session), groups and memberships separately, bulk delete for deactivation, then start import. A session without activity expires after 24 hours.
Which fields are transferred
The key fields. The full mapping is agreed per customer.
Tell us which systems you use and what should happen automatically. Together we define the smallest working solution, with a clear design and a quote before building.