Introduction
SAP Logistics Business Network, freight collaboration option improves supply chain efficiency by connecting business partners on a collaborative network that supports jointly managing transactions, exchanging documents, and sharing insights across the value chain.
To enable document exchange, you have to setup connectivity to your On-Premise system. Your on-premise(SAP S/4HANA or SAP TM standalone) system can be connected to SAP Logistics Business Network based on below options
- Connection via middleware: either SAP Process Integration(PI) or SAP Cloud Integration
- Direct connection (via SOAMANAGER) between SAP Logistics Business Networkand your SAP TM or SAP S/4HANA system
This blog will elaborate option 1 with connection via SAP Cloud Integration by providing step-by-step guidance for you establish connection.
Important Update (21/08/2024)
We've migrated our existing integration platform (based on SAP BTP Neo environment) and the URL/host mentioned in this blog has changed. Sub-account details to be added in your SAP Cloud Connector configuration have also changed as a new integration platform is used. We urge you to migrate to our new integration platform (based on SAP BTP Multi-Cloud environment) as the support for existing platform will be stopped on May 16, 2025. You can read more about the same here. There's a detailed migration guide available there which also holds the new URL endpoints and host information. The destination URL/host/sub-account information for cloud connector configurations mentioned in this blog are not yet updated to the new integration platform. Please refer to our Migration Guide for Premium Users for the new endpoint details.
Standard Integration Content Now Available
SAP Business Networks for Logistics team published a standard integration content for customers with a Cloud Integration subscription to connect to SAP BN4L from backend SAP S/4HANA systems. You can import the package and simply configure inbound and outbound scenarios rather than developing your own integration content. The iflows are marked as SAP-to-SAP integration. There's a detailed configuration guide also available to help you setup the iflows.
1. Generate the key pairs certificates(Key Pairs) with Identity Authentication Service
Communication between SAP Logistics Business Network and SAP TM or SAP S/4HANA is based on B2B messages using SOAP protocol. Messages are authenticated using client certificates. These certificates must be requested.
- While subscribing to an SAP Logistics Business Network productive license, you have been provisioned with an Identity Authentication service tenant and details tenant, and a URL is sent to the S-User used for the license
- If you have subscribed for a test SAP Logistics Business Network license and you have not purchased an Identity Authentication service tenant, you may request a key pair from SAP by raising an incident to the component SBN-LBN-INT. (In this case, you can skip the steps in this )
4. Maintain SAP Cloud Integration Outbound SOAP Adapter
- In the iflow for sending out payloads to SAP Logistics Business Network, Create a SOAP adapter. Maintain
- Authentication type: Client Certificate.
- Private key alias: Alias name you have provided while uploading the *.p12 file


Top5. Maintain SAP Cloud Integration Inbound SOAP Adapter
Within your inbound iflow in SAP Cloud Integration to receive LBN payload, create a SOAP adapter. Maintain below fields
- Address: URL endpoint address
- Service Definition: Manual
- Message Exchange Pattern: One-way
- Authorization: Client Certificate
- Client Authorization:
- Export the leaf certification from *.P7B file ( this file you would have downloaded from System connection app ) via key store explorer.

- In the SOAP Adapter connection setting , within Client Certificate Authorization, Add the exported certificate
Additionally, if you are your using Cloud Integration BTP ( CF) , there are additional steps required (Further details refer blog:
https://blogs.sap.com/2019/08/14/cloud-integration-on-cf-how-to-setup-secure-http-inbound-connection... )
Configure Client Certificate Based Authentication in the Service Instance in SAP Cloud Platform Cockpit
Configure Client Certificate in the Service Key in SAP Cloud Platform Cockpit
Configure Client Certificate Based Authentication in the Service Instance in SAP Cloud Platform Cockpit
If you like to use client certificate-based inbound authentication, you have to activate this option in the service instance in SAP Cloud Platform Cockpit. When creating the service instance to be used for client certificated-based authentication in the SAP Cloud Platform Cockpit, you need to specify client_x509 as grant type:
{
"grant-types": ["client_x509"]
}
More details on creating service instances in Cloud Foundry can be found in the SAP online documentation at Creating a Service Instance in the Cloud Foundry Environment.
Configure Client Certificate in the Service Key in SAP Cloud Platform Cockpit
Configure the client certificate that will be used to send messages to the integration flow in the service key in the SAP Cloud Platform Cockpit.
After the service instance is available, a service key for the instance needs to be created. In the Create Service Key dialog provide a Name and in the Configuration Parameters add the encoded client certificate in the following JSON format:
{
"X.509": "-----BEGIN CERTIFICATE-----MIIHyDCCBrCgAwIB[...]CAq8Tn7kSFDmVnrXe6v8hcQ==-----END CERTIFICATE-----"
}
Note that the client certificate is a PEM-encoded X.509 certificate. Remove all line breaks, otherwise the user interface will not accept the entry.
Note that you can create multiple service keys for one service instance with different client certificates. But a client certificate can be assigned to one service instance only once.
More details on defining service keys in the Cloud Foundry environment can be found in the SAP online documentation at Defining a Service Key for the Instance in the Cloud Foundry Environment.
Top6. Maintain iflow endpoint of SAP Cloud Integration in System Connection
For communication from SAP Logistics Business Network to your Cloud Integration layer, you have to maintain the your SAP Cloud Integration iflow endpoint in System connection app.
- Open System connection app and Navigate to connection you have created earlier steps
- In the Outbound from Network tab, click on “Add Destination” and maintain the endpoint for each “Service Interface Name” . Authentical details will be blank. ( You could have different endpoint for each service interface or the same endpoint. It depends on your implantation is SAP Cloud Integration )

- Click on Activate button
Top