Replicating Products

Objective

After completing this lesson, you will be able to execute the replication of products from SAP S/4HANA to SAP Sales Cloud and SAP Service Cloud Version 2

Product Replication from SAP S/4HANA

After completing all preparatory steps and configurations, products can be replicated from SAP S/4HANA to SAP Sales and Service Cloud Version 2. During regular operations, products are automatically sent to integrated systems when they are created or updated. For testing, initial loads, or tracing error situations, products can also be manually replicated using transaction DRFOUT.

Video: Product Replication using DRFOUT

The following video shows how to manually send a product and track its route through the integrated systems using various message monitoring tools. Finally, after the message has been received and processed successfully, the product is reviewed in SAP Sales and Service Cloud Version 2.

For the manual replication using transaction DRFOUT, the following parameters are important:

  • Replication Model: Choose your replication model. In the demo SSCv2 was used.
  • Outbound Implementation: 194_3 for Product Replication via Services
  • Replication Mode: Manual Replication in combination with Manual Filter Criteria
  • Manual Replication Filter Criteria: Depending on the products you would like to send. In the demo, the ID of a sample product was used.

Caution

Be sure to define some manual replication filter criteria after selecting Manual as the Replication Mode. Otherwise, all available records will be sent!

Manual Replication Filter Criteria

The filters that you can define in transaction DRFOUT have different purposes as the following screenshot shows.

Screenshot of DRFOUT’s manual filter criteria screen

Filters:

  1. Main Filter to filter whole instances of objects.
  2. Segment Filter to filter nodes of the object

While the Main Filters determine whether to include or exclude products entirely, the Segment Filters can be used to filter individual segments or object nodes. You can activate and deactivate filters from the tree on the left. Double-click entries to activate or deactivate them. The green entries are active and can be used on the right

Examples:

  1. You only want to replicate products from a specific Material Group or Type.
  2. You want to replicate a product that’s assigned to multiple sales organizations, but in your SAP Sales and Service Cloud Version 2, you only have a subset of these because you’re going live country by country. You can then use the segment filters to send the product, while excluding specific sales organizations that do not exist in the cloud CRM and would otherwise cause missing ID Mapping errors. In addition to that, you should also apply the same filter criteria to the main filter to avoid sending products that do not have any of the relevant sales organizations.

It is also possible to define such filters for delta replication, which occurs automatically whenever a material in SAP S/4HANA is created or changed. These filters can be configured using transaction DRFF and will be explained in the next unit with the example of business partners.

Note

Please note that the filters defined in transaction DRFF for the automatic replication are not considered in transaction DRFOUT. Therefore, you may have to redefine those filters for the manual replication!

Comparison of the Replicated Product

The following screenshots show the product in SAP S/4HANA using transaction MM03.

Screenshot shows overview screen of to-be replicated product in SAP S/4HANA

The following screenshot displays the product in SAP Sales and Service Cloud Version 2 after a successful replication. You can locate it using the Products app.

Screenshot shows overview screen of successfully replicated product in SSCv2

Track Product Replication Messages

After starting the product replication, you will probably want to know if it succeeded, meaning the message reached the target system and was processed successfully. This section briefly covers basic monitoring capabilities for each system, assuming everything functions as expected. For more detailed monitoring and troubleshooting information, refer to the last unit of this course.

  • SAP S/4HANA

    Right after replicating the product from SAP S/4HANA using transaction DRFOUT, the replication log appears, showing, among other information, which products were selected based on the filter criteria. The log can also be accessed later using transaction DRFLOG. However, this log only relates to the Data Replication Framework and does not indicate whether the selected products were actually sent out of the system.

    To verify that the transmission of the replication message to Cloud Integration was successful, you can use the Message Monitor for Web Service messages with transaction SRT_MONI.

    Hint

    Remember that when switching directly from one transaction to another, you must enter /n at the start of the transaction.

  • Cloud Integration

    In Cloud Integration, you can view the replicated product message in MonitorIntegration and APIsMonitor Message ProcessingAll Artifacts.

  • SAP Sales and Service Cloud Version 2

    In SAP Sales and Service Cloud Version 2, you can monitor message processing through SettingsIntegrationMessage Monitoring. Here, we see that the message is displayed with a status of Success.

    The final step is to view the successfully replicated product in the Products business service.