
SAP Business Network Logistics - Freight Collaboration solution connects shippers and their logistics partners on a safe network for optimized collaboration and insights, integrated tightly with core business processes for efficiency resilience.
SAP Business Network Logistics, Freight Collaboration solution supports outsourcing the planning process, where the ordering party on Transportation Management (TM) on SAP S/4HANA can create freight units and outsource the planning of freight units to a forwarder.
This is done through REST APIs and the flow is depicted below. More details on each step is also explained in the product help page.
Outsourced Planning process and API exchange
Configuration in System Connections application - Carrier
Configure Partner Connections config - Shipper
Carrier integration is explained in detail here which will help in establishing the B2B integration configuration in Shipper and Carrier tenants.
In this blog we will explore a few use cases and the payload examples both from the consumer and the provider’s side.
Things to note:
SO-header-partners: Forwarding Agent
Purchasing Org on FU to trigger FU replication
Github consumer example json - POST request
Business partners info
Stage info
Document references
Item and Delivery Info
In the Manage Integration logs, you will see the following that indicates the request originating from S/4HANA and delegated to the carrier's configured webhook(External system) through the Network.
MIL indicating consumer call
Github consumer example - DELETE request
Consumer payload - DELETE
MIL example for cancellation
Github provider example for single FU, single FO creation.
Business Partners info
Locations
Document Flow in TM
MIL logs for provider call
Consumer request is the same as described in consumer API section. Multiple FUs will have multiple requests going out. The baseTransactionDocumentReference will be the same indicating the FUs are originating form the same base, Sales Order document. In the example typeCode – 114 for Sales Order.
Github provider example for multiple FU and single FO.
Stage & Items assignment
Item details
Consumer request is the same as described in consumer API section. Multiple FUs will have multiple requests going out. The baseTransactionDocumentReference will be the same indicating the FUs are originating form the same base, Sales Order document. In the example typeCode – 114 for Sales Order.
Github provider example for multiple FU, single FO with multi-stops
Location & Item assignment - Stage 1
Location and item assignment - stage 2
Freight Order and item assignments in TM
The consumer call whenever FU is updated in TM, is the same as initial creation. The same POST call conveys the updates to the FU. (Refer to consumer use case)
The key here is to send the same ID in externalDocumentId field as the one used for creation of FO. Freight Booking updates also follow the same paradigm.
Github provider example for FO update
The consumer call is the same as the booking is based on Freight Units. Refer the consumer use case described above.
Github provider example for Freight Booking creation
Creation of Booking key fields
Booking creation item details
Subscribe for updates and if you have requests for some use cases, feel free to request it in the comment section.
Acronym | Description |
BNL | Business Network for Logistics |
TM | Transportation Management |
FO | Freight Order |
FU | Freight Unit |
FB | Freight Booking |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
6 | |
3 | |
3 | |
2 | |
2 | |
2 | |
2 | |
1 | |
1 |