/
Event-driven Process (Product Integration)

Event-driven Process (Product Integration)

This article describes how SAP Integration Suite can enable product master synchronization between S/4HANA and Pricefx using event-driven approach.

Steps:

Step 0: Pricefx Setup and SAP S/4HANA Events Setup

Pricefx Setup

  1. Configure the product master table in Pricefx to store the necessary fields from SAP S/4HANA.

  2. Optionally, configure any Product Extension tables in Pricefx to store the necessary fields from SAP S/4HANA.

  3. Optionally, configure any Price Parameter tables in Pricefx to store the necessary fields from SAP S/4HANA.

SAP S/4HANA Events Setup

  1. Configure SAP S/4HANA to publish product updates events to SAP Event Mesh.

  2. Configure a queue in SAP Event Mesh to subscribe to these events.

For more details, see SAP Event Mesh Configuration.

You might have a different S/4HANA or Event Mesh environment. Please refer to SAP official documentation for more information and troubleshooting. Pricefx does not provide any support to your SAP environment.

Step 1: Listen to SAP S/4HANA Product Events from SAP Event Mesh

This integration flows listen to events from SAP Event Mesh. You should configure S/4HANA to publish business partner updates events to SAP Event Mesh. If you do not use SAP Event Mesh, you should build your own event listening integration flow.

See https://pricefx.atlassian.net/wiki/spaces/ACCDEV/pages/4571430915/Set+up+Integration+Flows+-+Event+Driven#SAP-S%2F4HANA-Event-Listener.

Step 2: Aggregate SAP S/4HANA Business Partner Events from SAP Event Mesh

This integration flow aggregates the business partner events from SAP S/4HANA. It is duplicated and modified from “Aggregate SAP S/4HANA Events from SAP Event Mesh” from “Sample Artifacts for SAP S/4HANA Integration with Pricefx“ package.

See https://pricefx.atlassian.net/wiki/spaces/ACCDEV/pages/4571430915/Set+up+Integration+Flows+-+Event+Driven#Step-1%3A-Aggregate-messages-from-SAP-S%2F4HANA-and-write-to-Pricefx.

Step 3: Get Updated Products from SAP S/4HANA from Product IDs List

This integration flow builds a list of SAP S/4HANA products by calling SAP S/4HANA OData batch GET service.

See https://pricefx.atlassian.net/wiki/spaces/ACCDEV/pages/4571430915/Set+up+Integration+Flows+-+Event+Driven#Step-2%3A-Get-Updated-Entities-from-SAP-S%2F4HANA-from-Entity-IDs-List.

Major steps carried out by this integration flow include:

  1. Remove duplicates.

  2. Initialize properties and SAP AIR key.

  3. Call to another mapping to build a batch GET request message by the distinct IDs.

  4. Call SAP S/4HANA OData batch GET service to get the list of updated SAP S/4HANA products.

  5. Multicast the list of updated SAP S/4HANA products to integration flows to write to different Pricefx tables. Branch 1 goes to the product master, while branch 2 goes to another integration flow which consists of all other branches. A sample “Multicast Product Response to all Product Entities in Pricefx” is provided in the package.

    See https://pricefx.atlassian.net/wiki/spaces/ACCDEV/pages/4571430915/Set+up+Integration+Flows+-+Event+Driven#Step-3%3A-Multicast-Response-to-All-Entities-in-Pricefx.

Configuration: https://pricefx.atlassian.net/wiki/spaces/ACCDEV/pages/4567007773/Product+Management#Get-Updated-Products-from-SAP-S4HANA-from-Product-IDs-List

Step 4: Write Records to Pricefx

These integration flows are where the multicast branches go to. One duplicate of “Write Records to Pricefx” is required for each table.

See https://pricefx.atlassian.net/wiki/spaces/ACCDEV/pages/4571430915/Set+up+Integration+Flows+-+Event+Driven#Step-4%3A-Write-Records-to-Pricefx.

Related content

Set up Integration Flows - Event-driven
Set up Integration Flows - Event-driven
More like this
Event-driven Process (Customer Integration)
Event-driven Process (Customer Integration)
More like this
Polling Process (Product Integration)
Polling Process (Product Integration)
More like this