SAP Business One¶
Bring your business partners and their contact persons from SAP Business One into the Daktela CRM, so agents know who is calling or writing before they answer β without switching to SAP.
What it does and when to use it¶
The SAP Business One integration regularly imports data from SAP Business One into a Daktela CRM database:
- Contact persons of your business partners become Daktela CRM contacts.
- Business partners become Daktela CRM accounts, and each contact is linked to its business partner.
Data flows one way, from SAP Business One to Daktela. SAP stays your master system; Daktela keeps an up-to-date copy that agents work with. Orders and other SAP documents are not imported.
Typical use cases
- Recognise customers. An incoming call, e-mail or chat is matched to the synced contact person, so the agent sees the customer's name and company right away.
- Give agents context. Agents see the SAP data you choose β for example the business partner code or address β in Daktela's CRM while they handle the interaction, without opening SAP.
- Keep one source of truth. Your back office keeps editing business partners in SAP; changes reach the contact centre automatically within half an hour.
Tip
Daktela offers similar integrations for other ERP systems, such as K2 and ABRA. See CRM Synchronisation Integrations for the full list.
Prerequisites and setup¶
Prerequisites¶
- In SAP Business One: the SAP Business One Service Layer running and reachable over the internet, and an SAP Business One user with access to the company database you want to import. Your SAP administrator or SAP partner can set this up.
- In Daktela: an administrator account with access to Settings β Integrations, and a CRM database to import the data into.
Step 1: Get the Service Layer details¶
Ask your SAP administrator for:
- the Service Layer URL, for example
https://sap.yourcompany.com:50000/b1s/v2; - the name of the company database, as you choose it when you sign in to SAP Business One;
- the user name and password of the SAP Business One user that Daktela will sign in as.
Make sure the Service Layer can be reached from the internet, not only from your internal network β Daktela connects to it from the cloud.
Step 2: Connect SAP Business One in Daktela¶
- In Daktela, go to Settings β Integrations and click Configure under SAP Business One.
-
Fill in the connection form:
Field What to enter CRM Database The Daktela CRM database the SAP data is imported into. CRM Record type Leave empty. SAP Business One doesn't import orders, so this field isn't used. Instance URI The Service Layer URL from Step 1. It must end with /b1s/v2or/b1s/v1. If you enter only the server address, for examplehttps://sap.yourcompany.com:50000, Daktela adds/b1s/v2itself.Company database The name of the SAP Business One company database. Username The SAP Business One user name. Password The password of that user. -
Click Authorize. Daktela signs in to the Service Layer to check the credentials.
Step 3: Pair the fields¶
- A list of your Daktela CRM fields opens. Under Contact pairing, choose the SAP field that fills each Daktela contact field (from the contact persons) and each account field (from the business partners).
- Click Activate.
The first synchronisation runs within 30 minutes.
Set up before version 33.21.3?
Before version 33.21.3, the integration connected to a different SAP web service, with a different URL and no Company database field. A configuration created then has to be updated: open it, enter the Service Layer URL in Instance URI, fill in Company database, and click Authorize again. Daktela refuses the old web service URL.
Technical details¶
| Topic | Behaviour |
|---|---|
| Direction | One-way, SAP Business One β Daktela. Nothing is written back to SAP. |
| Connection | Daktela passes the credentials to the Daktela integration service, which calls the SAP Business One Service Layer (OData) on its behalf. The Service Layer must therefore be reachable from the internet. If you allow access only from certain IP addresses, ask Daktela support which addresses to allow. |
| Authentication | Service Layer session. The integration signs in through POST /Login with the company database, user name and password, then sends the session cookie (B1SESSION, plus ROUTEID behind a load balancer) with each request. When the session expires, it signs in again automatically. From version 33.21.3. |
| SAP objects | BusinessPartners with their ContactEmployees: each business partner becomes an account, each of its contact employees a contact. |
| Schedule | Every 30 minutes. |
| Full sync | Every run reads all business partners and their contact persons again. There is no incremental sync. |
| Batch size | Business partners are read in pages of 100, ordered by CardCode, with all their contact persons. |
| Timeouts | 10 seconds to connect and 60 seconds per request. |
| Not supported | Orders and other SAP documents. Business partners without any contact person are not imported. Records deleted in SAP are not deleted in Daktela. |
| Multiple configurations | You can connect more than one SAP company database, or import into more than one CRM database. Each configuration has its own tile, titled with its Instance URI. |
How records are matched¶
- A contact's unique name is
<configuration ID>_<contact person's InternalCode>; an account's unique name is<configuration ID>_<CardCode>. These keys are fixed and can't be changed in the pairing. Daktela remembers the pairing, so later changes in SAP update the same Daktela record instead of creating a duplicate. - By default, the contact person's Name fills the contact title and the business partner's CardName the account title. FirstName and LastName are paired by default too. All other fields follow your pairing from Step 3.
- Available fields: the field lists in Step 3 come from the Service Layer metadata β every simple (single-value) field of the business partner and contact employee objects. If a field you paired disappears from SAP, the run fails with a message asking you to pair it again.
- Contact β business partner: every contact person is linked to the account of the business partner it belongs to.
- If you delete an imported record in Daktela, the next run does not recreate it; it reports it as an error instead.
Sync errors¶
If a run fails β the integration service can't reach the Service Layer, SAP rejects the credentials, or some records can't be saved β the SAP Business One tile in Settings β Integrations shows a warning. Open it to download an error file listing each failed record with its title, unique name, entity type and the reason. When a whole run fails, administrators also receive an e-mail notification β only once, and not again until a run has succeeded.

To protect your data, Daktela doesn't show the error text from SAP, only the HTTP status code (for example SAP Service Layer request failed (HTTP 401)). If the whole run fails, check first that Instance URI ends with /b1s/v2 or /b1s/v1, that the Service Layer is reachable from the internet, and that the company database, user name and password are still valid.