Identity and access management

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.

SAP HCM logoSourceSAP HCMIn SAP HCM an action (hire, transfer, leaving) or a change in organisational assignment or personal data is recorded
KoppelHetYour rules, set per field
Okta logoTargetOkta
  • Okta user with personnel number as fixed key
  • Department, job, company and cost centre
  • Okta group per organisational unit
  • Manager

How it works

Design, platform and support in one place

For SAP HCM and Okta: a tailored integration, on our own platform, that we keep managing after go-live.

Design

Set per field before we build

Which data goes where, when, and what happens with exceptions. You approve the design; the quote follows from it.

More on how we work
SAP HCM logoOkta logo
Detailed designWhat is transferred
  • PERNR (personeelsnummer)→ externalId
  • Infotype 0002: roepnaam of voornaam, achternaam→ firstName en lastName
  • Naamgevingsregel→ login en email
  • Infotype 0001: organisatie-eenheid→ department en groepslidmaatschap

Platform

Every run visible, every error reported

Per integration and per employee you see what was processed. If something goes wrong, you get an alert with the reason.

More about the platform
HistorySAP HCM → Okta
Example
  • 09:003 changesOK
  • 08:00No changesOK
  • 05:00Alert with explanationResolved

Support

We keep it running

We handle vendor API changes. The people who built the integration also answer your questions.

Trust Center
ISO 27001
Support after go-liveOne team to turn to
  • 24/7 monitoring
  • API changes handled
  • Hosting in Amsterdam

The project

From first conversation to ongoing support

An integration starts from your HR process, not the API. We only build after you approve the design, and you choose the go-live moment.

The project in ten steps

  1. Step 1IntakeQuestions a consultant has prepared for your systems.
  2. Step 2Detailed designField by field what happens, with exceptions and test scenarios.
  3. Step 3Approval and quoteYou approve the design; the quote follows from it.
  4. Step 4Build and testOn our platform, then your acceptance test.
  5. 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.

  1. The SAP administrator sets up the sending of HR master data once, to a small KoppelHet program in the own network.
  2. SAP sends the changed infotypes on every action or change; KoppelHet completes them into a full profile.
  3. On the start date of the action KoppelHet includes the employee in the next import to Okta, with their organisational unit as group.
  4. Okta creates or updates the user, and the group rules in Okta assign the apps.
  5. On a leaving action Okta deactivates the user on the effective date; every week KoppelHet compares SAP with Okta as a check.
SAP HCM → KoppelHet → OktaSOURCESAP HCMTARGETOktaKoppelHetmapping · logging · monitoringSAP HCM → KoppelHet → OktaSOURCESAP HCMTARGETOktaKoppelHetmapping · logging · monitoring
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.

This integration is also part of joiner, mover, leaver.

How we build and run it

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

Implementation, architecture and compliance

Implementation and price

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

Leave your work email and we will email you the price indication for this integration.

We only use your address to follow up on your question about this integration.

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.

Field in SAP HCMField in OktaNotes
PERNR (personeelsnummer)externalIdImmutable in Okta
Infotype 0002: roepnaam of voornaam, achternaamfirstName en lastName
Naamgevingsregellogin en email
Infotype 0001: organisatie-eenheiddepartment en groepslidmaatschap
Infotype 0001: functie of positietitle
Infotype 0001: bedrijfsnummerorganization
Infotype 0001: kostenplaatscostCenter
Leidinggevende uit de organisatiestructuurmanagerId
Infotype 0000: maatregel en statusUpsert of deactiveren (bulk-delete)

Related

Which systems do you want to connect?

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.