Wednesday, April 1, 2015

SAP Hybris integration

Release 5.5 of the SAP Hybris Commerce Suite has just been introduced. With each release SAP Hybris makes big steps forward in the integration with SAP. For now, most details are provided for the integration with SAP ERP, along with some interesting developments around SAP Hybris Marketing, containing tools as the SAP Customer Engagement Intelligence (CEI).

The SAP Hybris integration roadmap clearly shows that the full integration with SAP Cloud for Customer (C4C) will come in the near future. A first step has been provided in the integration of the complaint & ticket management processes in C4C. SAP ERP integration is clearly the main focus at the moment. Very little is known about any upcoming integration scenarios with SAP CRM On Premise.


The main tool for the integration of the SAP Hybris solution to other systems is the so-called 'datahub'. For the integration with SAP ERP a standard integration scenario is defined in which ERP will send and receive messages using the well-known IDOC based interface setup.

In this integration scenario SAP ERP will remain the master for all master data (except for the consumers in a B2C scenario where consumers will initially register themselves in the webshop). This scenario covers the asynchronous replication of changed or newly created materials, conditions, customers, contacts and inventory from SAP ERP to SAP Hybris. Obviously (considering that SAP Hybris originates from a non-SAP background), the corresponding data entities in SAP Hybris are named differently. A condition record is a price row in SAP Hybris, a contact person is a customer in SAP Hybris (which could be confusing when you come from a SAP background), a soldto party is a b2b unit, etc.

By nature, SAP Hybris does not have the distinction between the soldto party and the shipto party. The only available data entity in SAP Hybris is the b2b unit. The SAP Hybris integration scenario starts to provide solutions to translate the SAP ERP customer data model to a corresponding setup in SAP Hybris using the b2b units. Multiple partner functions, for example, are transated to multiple addresses on a b2b unit. Multiple sales areas on a b2b customer in ERP are translated by creating a parent b2b unit with a relation to a child b2b unit for each sales area in which each child holds the relevant sales area dependent data.

Order Management

The order management integration scenario comes in three flavors:

  • Asynchronous, available for the B2B and B2C setup (also referred to as the loosely-coupled integration)
  • Synchronous, only available for the B2B setup (also referred to as the tightly-coupled integration)
  • Hybrid, again only available for the B2B setup (basically the asynchronous order management scenario, but with the addition of synchronous pricing calls to the SAP ERP backend)

The asynchronous scenario basically uses the same interface scenario as described in the datahub paragraph. The asynchronous order management is based on the order management functionality in SAP Hybris. An order is initially saved in SAP Hybris and subsequently replicated to ERP using the datahub. SAP ERP will process the incoming IDOC and save the order. The logistical and financial handling of the order will, as always, take place in ERP.

The synchronous scenario utilizes the JCO/RFC interfaces (which we know from previous SAP eCommerce solutions).

Synchronous order management will directly use the order management functionality in SAP ERP for all cart to order steps in the webshop. Both cart and order will not have a representation in the SAP Hybris persistence. Pricing and availability are directly retrieved from SAP ERP in the cart. Upside of the synchronous scenario is realtime pricing and stock information (allowing more complex pricing scenario's). Possible downside is the dependency on backend performance and availability.


A synchronous pricing scenario is now available as well. This scenario provides the B2B setup with real-time customer specific prices that can be based on a complex pricing schema in SAP ERP. From SAP ERP 6.0 EHP7 SP04 on a specific pricing API is available that supports this option. The customer specific prices can be retrieved in SAP ERP by a direct API call from SAP Hybris. The API has been provided to solve the traditional performance issues around customer specific prices where in most cases we had to execute a full order simulation in the SAP ERP backend.

SAP Hybris Marketing

SAP Hybris Marketing is available as an integration scenario as well. This is basically a suite of solutions including the formerly known Customer Engagement Intelligence, Audience Discovery and Targeting, but also new solutions like a Product Recommendation engine. The corresponding integration scenario basically delivers the triangle integration between the SAP ERP backend, SAP Hybris itself and this SAP Hybris Marketing suite.