MuleSoft Accelerator for SAP icon

MuleSoft Accelerator for SAP

(3 reviews)

Use case 3 - Order-to-cash

Real-time visibility of critical inventory and customer information is essential for sales teams to quote and close opportunities and reduce risk of order fulfillment errors. MuleSoft Accelerator for SAP empowers IT teams to automate the opportunity to close process and synchronize order, inventory, and customer data between Salesforce and SAP S/4HANA.

Overview

See also

Description

The primary set of use cases covered in the current solution involves the creation of an opportunity in Salesforce, the selection of products, the checking of inventory, and the close won of an opportunity, which creates a sales order in SAP S/4HANA.

Glossary

TermDefinition
CIMThe Cloud Information Model (CIM) defines a set of standard data structures that can be used as canonical representations of common entities for integrating systems.
MDMA Master Data Management (MDM) solution provides an accurate, consistent and complete copy of master data for use by enterprise applications and business partners. Most solutions include data quality tools and workflow processes for managing conflicting updates.
OMSAn Order Management System is a software solution that supports the management and processing of sales orders.

Solution overview

The purpose of this solution is to document the technical aspects of integration that happen when the Sales leads convert the opportunity in Salesforce to orders in SAP S/4HANA.

Before you begin

bulb.png The Accelerators setup guide provides general information on getting started with the accelerator components. This includes instructions on setting up your local workstation for configuring and deploying the applications.

Goals

  • Support the conversion of Opportunity in Salesforce to an order in SAP S/4 HANA.
  • Support for Inventory check in Salesforce from SAP S/4 HANA.
  • Support for updating order IDs from SAP S/4 HANA to Salesforce.
  • Support for displaying the order ID graph in Salesforce.

Use case considerations

  • SAP S/4 HANA is the System of Record for Products, and Inventory.
  • The term Customer in this use case refers to Organizational Accounts (rather than individuals).
  • Accounts are synced between SAP S/4HANA and Salesforce as part of the Customer profile sync use case.
  • Orders are synced between SAP S/4HANA and Salesforce as part of the Sales order sync use case.

Technical considerations

  • Use CIM as the canonical model
  • Build using top applications, inclusive of Salesforce products, but should be built to work with other endpoints as well. For this solution, leverage the following applications:
    • Salesforce Core (Sales, Service, B2B Commerce) and SAP S/4HANA

Assumptions and constraints

The following will be used to guide or constrain the solution design at a high level:

  • The Cloud Information Model (CIM) will be used as the canonical model for all business types; see the CIM usage guidelines in this document.
  • Global identifiers will be maintained in MDM. Wherever possible, these will be assigned as external identifiers in target systems.
  • References to the global IDs for accounts and orders will be reflected in downstream systems using custom properties to avoid conflicts with the usage of other external identifiers.

High-level architecture

sap-o2c-architecture.png

Sequence diagram

The following diagram below illustrates the sequence of converting an Opportunity in Salesforce to a Sales Order in SAP S/4HANA:

sap-o2c-sequence-diagram.png

Systems involved

  • MDM
  • OMS
  • Salesforce Core (Sales Cloud and B2B Commerce)
  • SAP ECC
  • SAP S/4HANA

Successful outcome

  1. Inventory Availability from SAP S/4 HANA is displayed in Salesforce in real time.
  2. Order is created in SAP S/4 HANA.
  3. Order number from SAP S/4 HANA is displayed on Salesforce on the Order ID Graph.
  4. Order is created in Salesforce.

Workflow

  1. Create an opportunity in Salesforce.
  2. Add products to that opportunity.
  3. For each product, check for inventory in SAP S/4 HANA and update the quantity based on availability.
  4. Mark the opportunity as closed-won which will trigger the opportunity event from Salesforce.
  5. Create the sales order in SAP S/4 HANA.
  6. Create the sales order in Salesforce.
  7. View the Order ID graph in Salesforce.

Downloadable assets

System APIs

Process APIs

Experience APIs

Listeners

Custom components

  • ID Graph Lightning Web Component | Source
  • Inventory Availability Lightning Web Component | Source

back to top


Reviews

TypeCustom
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onJul 30, 2021
Contact nameMuleSoft Solutions
Contact emailsolutions-questions@mulesoft.com
Asset overview

Asset versions for 1.3.x

Asset versions
VersionActions
1.3.0