Payroll to finance

SAP S/4HANA and Loket integration: cost centres from SAP in the journal profile, Loket journal as a posting in S/4HANA

With an integration between SAP S/4HANA and Loket, the cost centres of the Dutch company code reach the Loket journal profile automatically, and every journal run from Loket then lands in S/4HANA as a journal entry. Loket itself only sends journals to a few accounting packages and not to SAP; KoppelHet fills that gap and marks the run in Loket as exported once SAP has processed the posting.

Intake and design are free. The quote follows once the design is right.

  • ISO 27001 certified
  • Data in Amsterdam
  • Support after go-live included
SAP S/4HANA logoSourceSAP S/4HANAFinance opens or ends a cost centre in S/4HANA; for the journal a completed journal run in Loket
KoppelHetYour rules, set per field
Loket logoTargetLoket
  • Cost centres of the Dutch company code
  • Cost centres and the cost centre and cost unit matrix in Loket
  • Journal run results (back)
  • Recalculations as correcting entries

How it works

Design, platform and support in one place

For SAP S/4HANA and Loket: 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 S/4HANA logoLoket logo
Detailed designWhat is transferred
  • CostCenter (S/4HANA)→ code (kostenplaats in Loket)
  • Omschrijving kostenplaats→ description
  • CompanyCode→ Loket-werkgever en administratie
  • generalLedgerAccount (Loket)→ Grootboekrekening in SAP

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 S/4HANA → Loket
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.

Organisations that rely on their integrations

What the integration does

Organisations with SAP S/4HANA as ERP and Dutch payroll in Loket, often at an accounting firm, download the journal from Loket after every payroll run and convert it into an SAP upload. A new cost centre in SAP reaches payroll by email, and the upload fails on a cost centre that still exists in Loket but has already ended in SAP.

  1. Finance opens a cost centre in S/4HANA for the Dutch company code.
  2. KoppelHet adds it to the journal profile of the Loket payroll administration, with the agreed cost units in the matrix.
  3. After the approved payroll run Loket journalises; KoppelHet fetches the results as soon as the run is ready.
  4. The Loket accounts are translated to the SAP ledger and go to S/4HANA as one journal entry.
  5. After successful processing in SAP KoppelHet marks the run in Loket as exported, otherwise as failed.
SAP S/4HANA → KoppelHet → LoketSOURCESAP S/4HANATARGETLoketKoppelHetmapping · logging · monitoringSAP S/4HANA → KoppelHet → LoketSOURCESAP S/4HANATARGETLoketKoppelHetmapping · logging · monitoring
Out: Cost centres of the Dutch company code · Cost centres and the cost centre and cost unit matrix in Loket · Recalculations as correcting entries · Status exported or failed in Loket
Back: Journal entry per journal run · Correcting entry per recalculation

What to watch for with SAP S/4HANA and Loket

  • Loket can send journals itself through its own connections with Exact Online, Twinfield and AccountView. SAP is not among them, so for S/4HANA KoppelHet fetches the journal run results and then marks the run as exported or failed itself.
  • An SAP cost centre belongs to a controlling area that often spans several countries. KoppelHet only adds the cost centres of the Dutch company code to Loket, so payroll cannot choose cost centres of foreign entities.
  • Loket only allocates payroll costs to combinations of cost centre and cost unit allowed in the matrix, otherwise the journal run reports that no allocation was found. A new SAP cost centre therefore goes into that matrix straight away with the agreed cost units.
  • Loket also lets the API delete a cost centre. When a cost centre's validity ends in SAP, KoppelHet first checks the journal allocations of the employments; if anyone is still on it, it stays and payroll gets a notification.
  • After a changed cost allocation Loket can recalculate the journal of a payroll run; the recalculation only contains the difference from earlier runs. KoppelHet posts it as a separate journal entry in SAP, with a reference to the original run.
  • Deleting a journal run in Loket does not remove data in other applications, according to Loket. If that happens after a posting in SAP, KoppelHet reports it to finance, so the journal entry in S/4HANA is reversed and payroll costs are not booked twice.
  • If document splitting is active in SAP, one Loket journal can produce many more lines, and the synchronous posting then runs into a timeout. KoppelHet posts asynchronously and only marks the run in Loket as exported once processing in SAP has succeeded.

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

Our accounting firm works in Loket. What does it notice?

It sees new cost centres in the journal profile and the exported status per journal run. It does not get access to SAP.

Does this also work with S/4HANA on premise or Private Cloud?

The process is the same; which SAP APIs are available differs per edition. We agree that with your SAP administrator.

Can the journal go to SAP per employee?

Finance usually chooses account, cost centre and cost unit; the detail per employment stays in Loket.

Technical details for IT

For those who want to know how it works under the hood: APIs, fields and sources used.

  • S/4HANA Cloud through Cost Center - Read (A2X), API_COSTCENTER_SRV, and Journal Entry - Post (Asynchronous), JournalEntryBulkCreationRequest_In, with checks in the AIF message monitor.
  • Loket through the REST API with OAuth - cost centres per journal profile (POST, PATCH, DELETE; code 1 to 20, description 1 to 50 characters), the CostCenterCostUnitMatrix, GetActualJournalAllocationsByEmployerId, journal runs per administration with GetJournalRunResultsByJournalRunId (no results for journalRunStatus 0 to 3), PostRecalculateJournalRunByPayrollrunId for recalculations and PatchJournalRunByJournalRunId with markAsSuccessfullyExported or MarkAsProcessingFailed.

Which fields are transferred

The key fields. The full mapping is agreed per customer.

Field in SAP S/4HANAField in LoketNotes
CostCenter (S/4HANA)code (kostenplaats in Loket)At most 20 characters in Loket
Omschrijving kostenplaatsdescriptionAt most 50 characters
CompanyCodeLoket-werkgever en administratieFixed mapping per company code
generalLedgerAccount (Loket)Grootboekrekening in SAPThrough a chart of accounts mapping
costCenter (Loket)Kostenplaats op de journaalregel
costUnit (Loket)Tweede toewijzing, bijvoorbeeld WBS-elementAgreed per customer
Debet en creditBedrag met debet- of creditkenmerk
Journaalrun-IDReferentie in de kop van de journaalpost

Related

Want to talk your integration through?

Tell us which systems you use. In a 30-minute call you hear what is possible, what you arrange yourself and how we start. We begin with the smallest integration that works.

Integrations built for Hogan Lovells, Tentoo and Evondos Group, among others.

You talk to Marcel, Mike, Dylan or Melvin, not a call centre.