Can Connex Ecommerce sync with SAP Business One?
Connex Ecommerce can sync with SAP Business One
How do I prepare SAP Business One to pair with Connex Ecommerce?
Before you start
You need:
- SAP Business One 10.0 or later, in the version for SAP HANA or for Microsoft SQL Server, with the Service Layer installed. The connector uses Service Layer v2 (
/b1s/v2), which is available from SAP Business One 10.0. On Microsoft SQL Server, the Service Layer is supported from 10.0 PL01. - Someone who can change your network setup: publish the Service Layer on a public HTTPS address and open your firewall to Apideck (see step 1). This is usually your IT team or your SAP partner.
- An SAP Business One administrator who can create a user and assign authorizations (see step 2).
For SAP's own reference on installing and configuring the Service Layer, see Working with SAP Business One Service Layer
1. Make the Service Layer reachable from Apideck
Connex Ecommerce calls your Service Layer from the internet, so it must be published like any other public HTTPS service:
- Use a public hostname. Give the Service Layer an address that resolves on the public internet, for example
https://sap.example.comorhttps://sap.example.com:50000(50000 is the Service Layer's default port). - Use a CA-signed HTTPS certificate. Connex Ecommerce rejects self-signed certificates. Install a certificate issued by a public certificate authority for the hostname you use in Vault.
- Put a reverse proxy in front of an on-premise Service Layer. SAP's recommended pattern is a reverse proxy (for example NGINX) in a DMZ that forwards requests to the Service Layer. The proxy is also a convenient place to terminate HTTPS with your CA-signed certificate. Configure it so that it passes the
Set-Cookieheaders on the/Loginresponse through unchanged: Connex Ecommerce keeps the session with theB1SESSIONcookie (and theROUTEIDcookie on load-balanced setups), and the connection cannot log in if the proxy strips them. - Allow Connex Ecommerce egress IPs through your firewall on the port the Service Layer (or your proxy) listens on:
18.197.244.24718.156.9.33.65.139.215
eu-central-1) egress IPs; support for other regions is upcoming. If you need to confirm the latest list for your region, contact us.
2. Create a dedicated integration user
Create an SAP Business One user just for the integration rather than using a person's login. The connection runs as this one user, so a dedicated user keeps it independent of staff changes and password policies for named users.
- In SAP Business One, create the user and set its password.
- Give the user authorizations for the modules you plan to sync, for example business partners, sales, purchasing and financials. A superuser is not required. Set authorizations under Administration > System Initialization > Authorizations > General Authorizations.The user also needs read access to the company setup data that Connex Ecommerce looks up during a call: currencies, company details, the chart of accounts, tax codes and, if you sync bank accounts, banks. Module authorizations do not always include this setup data. Currencies are important: SAP Business One uses currency codes that your company defines (for example
$for the US dollar). Connex Ecommerce uses your currency table to change these codes to ISO codes (USD) and back. If the user cannot read currencies and a code differs from its ISO code (for example$), SAP Business One rejects documents in that currency, and documents, customers and accounts in that currency come back without a currency. Codes that already are ISO codes (for exampleEUR) keep working. - Make sure the user can at least read business partners. Connex Ecommerce reads your customers when you save the connection to check that it works.
- License the user according to your SAP Business One agreement. Your SAP partner can confirm which licence type applies to an external integration.
How do I pair SAP Business One and Connex Ecommerce?
Here are the steps:
- Login to Connex Ecommerce.
- Click add channel.
- Pair ShipStation.
- On the pairing accounting page, choose other.
- Choose SAP Business One.
- Enter your instance URL, database name, user name and password.
- Complete the pairing and advance through the set-up wizard.