Monitoring and Verifying the Order Replication

Objective

After completing this lesson, you will be able to monitor end-to-end order replication across SAP Commerce Cloud, SAP Cloud Integration, and SAP S/4HANA Cloud—using each system’s monitoring tools to verify replication status, trace message flows, and identify and resolve replication errors.

Monitor Order Replication in SAP Commerce Cloud

In the SAP Commerce Cloud Backoffice Integration UI Tool cockpit, you can monitor the inbound and outbound integration API calls. Order replication from SAP Commerce Cloud to SAP S/4HANA Cloud via Cloud Integration is an outbound call in SAP Commerce Cloud.

To monitor the order replication outbound calls in the Backoffice, follow these steps.

  1. Access SAP Commerce Cloud Backoffice and log on as an administrator.
  2. Switch to the integration cockpit by choosing Integration UI Tool from the cockpit dropdown on the top-left corner.SAP Commerce Cloud Backoffice Administration Cockpit, left navigation menu, and an open menu highlighting Administration Cockpit and Integration UI Tool.
  3. In the Integration UI Tool cockpit, expand the Monitoring menu, and choose Outbound.SAP Backoffice Integration UI Tool screen with the Outbound tab selected, showing a table of two sync entries and their status (one Success, one Error), with left navigation expanded and search/toolbar at the top.

    On the right side, you'll see all the outbound integration API calls, including the order replication outbound calls, both succeeded and failed.

  4. Choose a Success entry, the first entry in this case, to see the outbound call details.SAP Integration UI Tool Outbound screen listing two requests (Success and Error); success row selected with details panel and a payload link.

    You'll see a few fields about the outbound request. The Integration Key is the order ID or number generated by SAP Commerce Cloud. The Destination is the endpoint of the Cloud Integration system. The Type is the type or definition of the integration object or API. The HTTP Method is the HTTP post request, in this case to send the order information as a payload. And the Request Payload is the actual payload in JSON format generated by SAP Commerce Cloud and sent to the iFlow deployed on the Cloud Integration platform.

    You can double-click on the payload field to open the payload media file popup. Choose Download in the General section to download the JSON file containing the outbound request payload to your local drive. The file name looks like Payload_some_hash_value.bin. It’s a pure text file, and you can open it in any text editor to read the payload.

    Edit Item “Payload…” dialog in SAP with the General tab open, showing identifier and catalog version fields, item details (PK and timestamps), and Upload and Download buttons.

    If the outbound call fails, you'll see the error message returned from Cloud Integration in the Error field.

Monitor Order Replication in Cloud Integration

After confirming that the order has been replicated from SAP Commerce Cloud, it is routed through Cloud Integration.

To monitor the Integration Artifacts in Cloud integration, go to MonitorIntegrations and APIs and select the All Artifacts tile. This takes you to the Monitor Message Processing page (1), where you can set the filter to display the Integration Artifacts.

To check if the order has been successfully replicated from SAP Commerce Cloud to SAP S/4HANA Cloud, select the appropriate Integration Artifact from the Artifact dropdown (2). 

The Integration Artifact is called Replicate-Orders-From-SAP-Commerce-Cloud-To-SAP-S4HANACE. With the filter set, we can see that the overall status of this integration flow is completed (3). The green color indicates that it didn't raise any errors, so it can be assumed that it has been successfully transferred to SAP S/4HANA Cloud.

When the integration flow for this Integration Artifact is set to Log Level:Info (4), it logs these incoming payloads: Raw Payload; Response Message; and Sales Order Message.

SAP Integration Suite message-processing screen with a left pane listing messages and a right details pane showing an artifact name and status; numbered callouts highlight the filter/artifact area (1–2), a green success banner reading “Message processing completed successfully” (3), and the Logs section showing Log Level: Info with attachments listed below (4).

Hint

To get more logging information, you can also set the Log Level of the integration flow to Trace before you trigger the sales order replication. This is useful in case of issues within the integration flow. The log level resets after 10 minutes.

Monitor Order Replication in SAP S/4HANA Cloud

The status Completed in Cloud Integration signifies that the sales order has been successfully transmitted to SAP S/4HANA Cloud.

For you to access Message Monitoring in SAP S/4HANA Cloud, you first need Assign Recipients given to your user. This is done by either an administrator, or a user with the BR_CONF_EXPERT_BUS_NET_INT business role, using the Assign Recipients to Users application (1). Your user is initially included by selecting the + for "Add" icon (2) at the bottom of the screen, followed by the Assign button on the right (3). Below are the details to be input (A), after which Assign (B) is clicked:

  • Namespace:/SDSLS (Sales & Distribution Sales Integration)
  • Recipient Name:SDSLS_SO_BULK_IN_RECIPIENT
  • Message Type:Application Error or Technical Error

Your user can then access Message Monitoring to review the incoming Sales Order Bulk Requests.

SAP S/4HANA Cloud Assign Recipients screen showing a left users list and a centered Assign Recipients modal with dropdowns for Namespace, Recipient Name, and Message Type and an Assign button; green numbered callouts point to the header, user list, and recipients area.

You use the below illustrated Message Monitoring Overview application to view the incoming sales order messages. This application provides filters for an overview of all incoming sales order messages.

SAP Message Monitoring Overview screen with time-range filters and a left summary card for /SDSLS - SO_BULK_1 - 1 showing 1 message and status counts (0 Error, 0 Success, 1 Warning, 0 In Process, 0 Canceled).

Use the below illustrated Message Monitoring application to select a sales order to check its details and confirm its successful creation. This application also identifies any issues with your SAP S/4HANA Cloud customizing, for example, missing pricing conditions. You can then restart messages after correcting the customizing.

SAP Message Monitoring page with filters (Past 2 Weeks, Status = Warning) and a table showing one message marked Warning with log message Document is incomplete.

Use the below illustrated Display Sales Documents application to verify a sales order. Enter the sales order's ID, which you can copy from the Message Monitoring Details application.

SAP Display Sales Documents screen with the Order field set to 5990011 and a search-results dropdown showing document 5990011 (customer ref. 345678); form fields and a Search button below.

Hint

You've reached the end of the final lesson of this learning journey, Integrating SAP Commerce Cloud and SAP S/4HANA Cloud. Once you've completed ALL of the end of unit assessments of this learning journey, you earn an SAP Record of Achievement (RoA) digital badge. Thanks for sticking with us! Stay tuned for more content in the integrating SAP Customer Experience Solutions learning portfolio.