Product Master Management

This article describes how to configure the integration flows which are relevant to Product Master Management in this package. For more information about the process, refer to Event-driven Process (Product Integration).

In this section:

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

The integration flow listens to product change events from SAP S/4HANA via SAP Event Mesh. The product ID is extracted and a timestamp is appended for aggregating all product events within a minute to enable small batch processing. Any valid events which cannot be processed successfully will be written to the retry datastore. See Error Handling.

 

Below parameters have to be configured:

  1. AMQP adapter – The connection properties of SAP Event Mesh and the name of the event queue.

 

Below parameters can be configured but default values are provided:

  1. Main receiver – The integration flow which aggregates the product events.

  2. Error receiver – The error handling integration flow.

  3. Transaction handling

  4. Error data store

  5. XPaths for extracting product ID and building event information.

Aggregate SAP S/4HANA Product Events from SAP Event Mesh

The integration flow aggregates product change events from SAP Event Mesh. The aggregated events are forwarded to next integration flow to get the product details from SAP S/4HANA. Any events which cannot be processed successfully will be written to the log by email.

Below parameters can be configured but default values are provided:

  1. Sender – The process direct incoming path of this integration flow.

  2. Main receiver – The integration flow which processes the aggregated events.

  3. Error receiver – The error handling integration flow.

  4. Transaction handling

  5. Aggregator properties – Defines how the product events should be aggregated.

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

The integration flow gets the product details by the list of distinct product IDs in the aggregated message. Before calling OData service of SAP S/4HANA, the flow has to retrieve Application Interface Register (AIR) from Pricefx. See Get AIR key from Pricefx.

Any valid messages which cannot be processed successfully will be written to the retry datastore. See Error Handling.

Below parameters have to be configured:

  1. OData connection properties

 

Below parameters can be configured but default values are provided:

  1. Sender – The process direct incoming path of this integration flow.

  2. Main receiver – The integration flow which writes Product response to Pricefx Product Master.

  3. Multicast receiver – The integration flow which writes Product response to other Pricefx tables.

  4. Log receiver – The logging integration flow.

  5. AIR receiver – The integration flow which retrieves AIR from Pricefx.

  6. Transaction handling

  7. Error data store

  8. Split and Gather properties

  9. XPath for extracting product ID

  10. Message Mapping to build a batch request to get a list of products

Multicast Product Response to all Product Entities in Pricefx

The integration flow multicasts the product message to every integration flow which writes records to Pricefx tables other than product master. One flow is needed for each Pricefx table. In this package, the product message is written to two Product Extensions:

  • Write Records to Product Sales Data Product Extension in Pricefx

  • Write Records to UOM Product Extension in Pricefx

You should have your own set of integration flows and multicast flow according to the tables set up in Pricefx. You can duplicate and modify “Write Records to Pricefx” integration flow from “Sample Artifacts for SAP S/4HANA Integration with Pricefx” package.

For explanation and configuration of this integration flow, see Write Records to Pricefx.