Monitoring and Verifying the Order Replication

Objectives

After completing this lesson, you will be able to:
  • Monitor order replication in SAP Commerce Cloud
  • Monitor order replication in Cloud Integration
  • Monitor order replication in SAP S/4HANA Cloud

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.
  3. In the Integration UI Tool cockpit, expand the Monitoring menu, and choose Outbound.

    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.

    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.

    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.

Note

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.

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.

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.

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.

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.

Log in to track your progress & complete quizzes