Skip to Content
Product Information

SAP Retail Omnichannel integration with SAP Commerce Cloud and SAP Commerce on-premise editions

Dear Retail omnichannel community,

SAP Commerce Cloud on Microsoft Azure (aka CCV2) is now on the market since Oct 2018. While the analysts celebrate and award it, there are still many customers on the (Hybris) Commerce on-prem edition and a few on cloud edition operated by Hybris/SAP (aka CCV1).

Integration middleware has evolved as well, and while the SAP Commerce Datahub integrates SAP Commerce on-prem editions with the SAP Retail backend and SAP CAR, the cloud editions of SAP are integrated via the SAP Cloud Platform Integration.

Good news is: For both SAP Commerce on-prem and for SAP Commerce Cloud on Azure there is a SAP Retail integration available.

This blogs helps you to understand the various options, release compatibilities and dependencies for an overall SAP Retail Omnichannel Commerce solution landscape.

Content with quicklinks

 

Let’s start with the reference architecture and then look for former releases and release combinations.

Reference Architecture (as of August 2020)

The current reference architecture of SAP Retail Omnichannel Commerce is shown in Fig.1:

Fig.1: SAP Retail Omnichannel integration with SAP Commerce Cloud 2005 

SAP Commerce Cloud is a leading Digital Commerce solution for B2C, B2B and combined B2B2C/B2B2B solutions, and was awarded 6 years in a row as “Leader” by Gartner in its Magic Quadrant for Digital Commerce 2020.

SAP Commerce Cloud is a standalone digital commerce platform. It provides standard integration content for a majority of SAP solutions via the add-on SAP Commerce Cloud, integration extension package. This huge extension package comprises the integration with S/4, ERP, Master Data, synchronous pricing in SD, ATP check, SAP Qualtrics, SAP Subscription Billing, SAP Sales Cloud, SAP Service Cloud, SAP Marketing Cloud, …, and also the SAP Retail integration with the SAP back end (S/4 and ERP) and SAP Customer Activity Repository.

Unlike the SAP Commerce Data Hub, which is used for the on-premise editions of SAP Commerce, the SAP Commerce Cloud editions use the middleware SAP Cloud Platform Integration (aka CPI). A set of CPI integration content for the SAP retail integration with SAP Commerce Cloud is available since August 2019.

Please find details here:

  • SAP Retail article master data and classification data are replicated as idocs to SAP Commerce Cloud via CPI. See CPI integration content here.
  • The CAR based Omnichannel Article Availability and Sourcing (OAA) replicates aggregated stock data and rough stock indicators via OAA idocs to SAP Commerce Cloud, using CPI as middleware (details in this blog and in the Customer WIKI).
  • Promotion prices for products and the shopping basket are provided by the SAP Omnichannel Promotion Pricing web service (details on OPP in this blog and in the Customer WIKI).

 

Back to Top

Customer Journey

The customer journey of a straight-forward click & ship scenario is as follows (Fig.2):

Fig.2: Customer journey for SAP Retail Omnichannel Commerce based on SAP Commerce Cloud

Let me describe the customer journey, always with a look behind the scenes to understand what happens technically:

The customer enters the web shop. The products in the web shop originate from the SAP back end, but have been replicated to SAP Commerce Cloud, where they have been refined and enriched with text, media, classification etc. The anonymous customer will see targeted but not personalized content.

The customer logs in/registers. User/password data can be stored in SAP Commerce, or outside SAP Commerce performed by the SAP Customer Data Cloud (shown above). In case the SAP Customer Data Cloud is used, the user management (address, registration, password) as well as sophisticated subscription management and terms & conditions agreement is managed outside of SAP Commerce. SAP Customer Data Platform is well integrated with SAP Commerce Cloud/on prem as well as SAP marketing Cloud, considering the customer subscriptions and allowances in realtime. The web shop pushes personalized marketing content.

The customer performs a search. The search engine of SAP Commerce Cloud provides the search results enriched with OPP promotion prices and base sale prices (cached in the search engine), as well as OAA aggregated stock and rough stock indicators (cached). For details of the OAA process flow see here – the “Sales Channel Mode” is always to be used and mandatory for an S/4 back end.

The customer navigates to a product. OPP price is shown (realtime from OPPS web service). OAA stock is shown (aggregated OAA stock hold in Commerce Cloud). A marketing message is shown (buy 2 get one free). The customer adds 3 items to the basket.

The customer navigates to the basket. A (realtime) OAA availability check in SAP CAR is performed for all the items in the basket. The promotion prices for each product + discounts, as well as the net basket total amount  are determined by the OPPS web service in realtime. While OPPS provides the net prices/amount, the VAT tax (plus maybe other taxes) is determined and applied by the SAP Commerce pricing engine.

The customer goes to checkout. Commerce Cloud calls OAA’s ATP calculation REST API in CAR to perform an realtime omnichannel availability check. Promotion prices are and total basket (net) amount are determined as described in step “basket”. Taxes are applied as in “basket”.
The customer enters/confirms the delivery address and selects the shipping method.

Commerce checkout calls SAP CAR OAA REST API’s for 1) omnichannel availability check for the selected shipping method 2) order sourcing optimization. OAA provides determined source(s) per line item. In addition OAA 3) writes sourcing results in CAR table for temporary reservation, with the Commerce order number and attribute “checkout”.

Customer selects payment method and performs online payment. Commerce Cloud calls the connected payment provider to authorize the payment. The authorization token is added to the Commerce order, which waits to be confirmed by the customer.

The customer confirms the terms and conditions.

The customer completes the check out. Commerce Cloud stores the order in the Commerce database with the order number. Commerce also calls SAP CAR OAA Temporary Reservation API via REST service to change the reservation attribute from “checkout”  into “order”.

Only if the customer has registered: The customer record held in Commerce (or in SAP Customer Data Cloud) is replicated to the SAP back end via DEBMAS idoc and created in the SAP backend as business partner with role “consumer”.

The online order is saved in Commerce, but is not yet replicated to the SAP back end. A delay in the replication is desired, to allow customers to easily change the order within Commerce.

After a configurable amount of time (e.g. 60min for standard delivery orders, 15min for express orders), the Commerce order isreplicated via CPI to the SAP back end as ORDERS idoc. Included in the order document is the list of products (of course), the promotion prices and basket value determined by OPPS, the source per line item determined by OAA, the payment token provided by the payment provider.

The SAP back end receives the order idoc and creates an SD sales order with the same order number that Commerce has created. Since the SD order already contains prices, sources and payment token, no pricing determinationis triggered on the SAP side, no ATP check, and also no payment/credit limit check.

SD Delivery processing starts (picking, packing), and the order status changes accordingly. The order changes are always replicated via order status idoc via CPI into SAP Commerce, to allow the consumer to follow the processing status of the online order.

The packing is completed, and the order is shipped from the source(s) to the customer’s delivery address. The customer receives the deliveryof the online order. In case the oAA sourcing optimization has provided multiple sources, the customer receives multiple deliveries.
Please note: The warehouse management software (e.g. SAP Extended Warehouse Management) may re-determine sourcing and overwrite the OAA sourcing results based on the WM configuration. This is no contradiction to the OAA sourcing determination, which is meant for an e-commerce focused realtime availability check and order sourcing . The Warehouse Management system might have more recent data, as the online order has been created a few minutes/hours ago, or might have re-located or re-assigned stock in the meantime.

Invoicing, billing, settlement: In the SAP back end the order is invoiced, and payment is collected using the authorization token of the order e.g. with the SAP Digital Payment add-on. The payment is settled.

Order History: The customer enters the web shop again and enters “My Account”. He can see his online order history provided by Commerce.

 

Back to Top

System requirements and releases for the Reference Architecture

 

Supported Omnichannel scenarios

The native SAP Retail Omnichannel integration in SAP Commerce Cloud allows the seamless standard integration of omnichannel scenarios such as

and in summary a personalized and even individualized customer experience.

 

Further information about the reference architecture components

In the SAP Retail Omnichannel Customer WiKi you find a comprehensive set of blog and links for most aspects of the Retail Omnichannel integration with SAP Commerce. I highly recommend to bookmark this page. Here an excerpt for the most important topics:

 

From Omnichannel “Commerce” to an Omnichannel “Experience”

Customer Experience isn’t complete with an online order. Customers expect consistent experience across all touch points, and to be treated as a person.

Check the customer journey (Fig.2) above again. It doesn’t end when the customer receives his/her online order.

In fact SAP Omnichannel Commerce is just the door opener for a even bigger customer experience: personal customer experience “clienteling” in the store, personalization in in social media and forums, loyalty experience across the retailer’s universe, mobile apps pushing promo coupons when the customers approaches a store (geo fencing), of course GDPR compliance and safety of their personal data, but also to receive personalized newsletter and information they have subscribed for (and no SPAM).

SAP Commerce Cloud is not only a market leading digital commerce platform, but also an Omnichannel “hub” that orchestrates all these customer-centric processes.

Here a few examples:

  • SAP Commerce Cloud
    • webshops and mobile shop, but also marketplace management via Mirakl 
    • powerful digital content management via Commerce Context Driven Services
    • integration with powerful order business cloud services
    • order integration and fulfillment processing with SAP S/4HANA and SAP ERP back ends
  • SAP Marketing Cloud 
    • Stae-of-the-art customer segmentation, personalization and even individualized digital marketing in an automated fashion
    • Lead and opportunity management
  • SAP Customer Data Cloud
    • via central registration, identity and access management, incl. social registration.
    • Try it out and play with the SAP CDC (ex Gigya) test webshop But don’t buy a TV there – they are really expensive .-)
    • to meet data protection privacy regulations like GDPR, DGVSO, etc.
  • Sales quotation integration
    • via SAP Sales Cloud, to offer quotes for complex orders the customer cannot order without help. , e.g. made-to-measure furniture like kitchens, solar rooftop installations etc.
  • Service management
    • with intelligent ticket handling, (crowd) field service integration, self service, service desk etc.
  • Experience and Feedback Management
    • by SAP Experience Management (aka SAP XM, ex Qualtrics)
  • Loyalty Marketing
    • via AnnexCloud, a certified SAP Partner Solution which is perfectly integrated with SAP Commerce Cloud, SAP Marketing Cloud and SAP Customer Data Cloud.
  • Endless Aisle / Customer Clienteling with Keytree’s KIT partner solution which is well integrated with SAP Commerce, SAP Retail back end and SAP CAR.

 

SAP Commerce Cloud vs. SAP Commerce on-prem
A Guidepost

What about if your landscape components are not the very latest ones, as described in the reference Architecture? What if you still run SAP (Hybris) Commerce on premise, your SAP CAR is not release 4.0, your SAP back end is not the latest S/4 version?

No worries – you don’t need to be 100% compliant to the reference architecture. SAP released Retail Omnichannel capabilities since 2015, and covers a wide range of Commerce/CAR/SAP back end integration combinations. SAP (Hybris) Commerce wasn’t on “Cloud” (Microsoft Azure) until late 2018, but still supports a comprehensice Retail Omnichannel Integration-

The next chapters shall give you orientation about release and feature dependencies.

 

Case 1: Your SAP (Hybris) COMMERCE solution is an ON-PREMISE version

Your IT landscape (typical set up):

  • SAP (Hybris) Commerce on-prem edition 1905, 1811, 1808, or 6.x
  • SAP Retail back end
  • SAP CAR

The on-premise editions of SAP (Hybris) Commerce have no native SAP retail integration. Therefore the SAP Retail integration is provided with an add-on package called “SAP Commerce, integration package for SAP for Retail” or simply “IPR”.

SAP Commerce on-prem editions do not support SAP CPI integration (except version 2005), but require the SAP Commerce Datahub as middleware.

Please note: Each SAP Commerce on-prem version requires it’s own IPR release for compatibility reasons.

The IPR integration package is free of charge for SAP Commerce on-prem customers (with a Commerce license – a PCM license is not enough).

The IPR package contains a variety of content to enable an integration of SAP Commerce on-prem with SAP Retail.

  • Commerce extensions to manage/digest/store/process
    • SAP Retail master data
      • SAP Retail article data, incl. single articles, generic artices and variants, and structured articles
      • Retail classification data
    • Commerce extensions
      • store OAA aggregated stock
      • import and store OPP prices and promotional rules
    • Integration with local OPP Pricing engine
      • OPP pricing engine deployed locally on Tomcat
    • Integration with SAP CAR
      • Omnichannel Article Availability and Sourcing
      • SAP OmnichannelPromotion Pricing
      • List of stores (for click & collect and stores as fulfillment sources, pick up centers)
    • Commerce order extensions
      • sources from OAA, communication with OAA sourcing etc
  • B2C Accelerator extensions
    • to support OPP prices, OAA stock, OAA rough stock indicator, OAA REST API calls for ATP check and sourcing etc.
  • Extensions for SAP (Hybris) Datahub middleware
    • SAP idoc conversion into Hybris IMPEX format

 

Supported Commerce/CAR/SAP back end versions with notes for restrictions

  • SAP Commerce versions
    • SAP Commerce on prem versions 5.7 – 1905
      • require the IPR package incl. SAP Commerce Datahub.
      • No CPI support for Commerce 1905 on-prem editions and earlier
    • SAP Commerce on prem 2005
      • 2 integration options:
        • a) Native Retail integration via SAP Cloud Platform Integration
          • Native SAP Retail integration
          • SAP CPI as middleware for asynchronous integration (idocs)
          • SAP CAR OAA REST services are called directly from Commerce
          • No Commerce Datahub needed
        • b) Retail integration via IPR and SAP Commerce Datahub
          • IPR package for 2005 is planned in October 2020 (disclaimer applies)
    • SAP Commerce Cloud editions from 1905.08 (=extension pack 8 for 1905), 2005 and later
      • Native SAP Retail integration, no IPR needed, asynchronous integraton only via SAP CPI, no Commerce Datahub supported anymore for the Retail integration with these cloud editions
  • SAP backend
    • ERP Retail from ERP 6.0 EhP 7 SP14 / EhP 8 SP 7
    • S/4 Retail from 1709 – retail master data, OPP, but no OAA support! (missing ATP pieces)
    • S/4 Retail from 1810 – retail master data, OPP, OAA
  • SAP CAR
    • in general the very latest version CAR 4.0 FP3 is recommended because of the massive enhancements of OAA in the CAR 4.0 editions
    • OPP from CAR 2.0 FP2 minimum release
    • OAA from CAR 2.0 FP2 – only in combination with Retail ERP backend
    • OAA from CAR 3.0 FP2 in combination with S/4 Retail (as ATP parts of S/4 1810 are mandatory)
  • IPR / SAP Commerce, integration package for SAP for Retail
    • applicable and supported for SAP Commerce on prem versions 5.7 until 1905
      • Commerce datahub is mandatory for the asynchronous integration (idocs) of SAP Retail (ERP and S/4 editions) and on-prem SAP Commerce
    • support for Commerce on prem 2005 planned in October 2020 (disclaimer applies)
    • no Retail integration support for any Commerce Cloud edition
  • SAP Commerce Datahub
    • middleware tool to integrate SAP solutions with Commerce, independent from Retail
    • mostly used to integrated SAP solution with on-prem Commerce editions
    • Still supported for the SAP Retail integration with Commerce 2005 on prem – IPR planned in October 2020 (disclaimer applies) – however a switch from Commerce datahub to SAP CPI is recommended for future compatibility.
  • SAP Cloud Platform Integration
    • Supported with
      • SAP Commerce Cloud 1905.08 and higher
      • SAP Commerce on-premise 2005
    • Native SAP Retail integration content
      • SAP Retail article master – single article and generic article with variants
      • no support for structured articles though
      • SAP Retail classification data
      • SAP CAR based OAA integration. Aggregeated stock and rough stock indicators that are replicated from SAP CAR are stored within SAP Commerce
      • Integration with SAP CAR based OAA REST API’s
      • Integration with SAP Omnichannel Promotion Prcing cloud service (aka OPPS)
    • SAP CPI as middleware for asynchronous integration (idocs) between SAP Retail back end, SAP CAR and SAP Commerce

 

Case 2: Upgrade of existing SAP (Hybris) Commerce on-prem to latest release 2005

A switch from an on-premise Commerce solution to a cloud-based solution is a major step forward. SAP Commerce Cloud offers a much faster pace to innovation but the new technology has to fit to the overall company’s strategy, roadmap and last but not least resources and project plans.

So there can be reasons to stick with an on-premise Commerce solution for now (2020).

 

*** Aug 12, 2020: to be continued ***

 

Best regards,

Ingo

 

 

Dr. Ingo Woesner
Product Management
SAP Customer Experience
SAP SE

www.sap.com

Follow me on SAP Community Network.

 

 

********************************** text blocks – ignore **************************

 

  • SAP Commerce, integration package for SAP for Retail (aka IPR)
  • SAP Commerce Datahub vs. SAP Cloud Platform Integration (CPI)
  • SAP Commerce on prem vs. SAP Commerce Cloud – release dependencies
  • Supported SAP back and and SAP CAR releases

This list might help you to understand which release/middleware/edition is compatible:

 

Be the first to leave a comment
You must be Logged on to comment or reply to a post.