Direction: Pricefx → SAP S/4HANA.
Upload flow (verified)
|
Artifact |
Description |
|---|---|
|
|
Entry point (in the Sample artifacts for SAP S4HANA Integration with Pricefx package). Listens to Pricefx RabbitMQ and posts the event into the Aggregate flow. |
|
|
Debounces/batches incoming condition-record events, then forwards to the Process flow. |
|
|
Reads the condition record set, then hands off to the Multicast flow. |
|
|
Fetches the full condition record set from Pricefx by its ID. |
|
|
Fans out the record table; publishes table fetch requests to JMS. |
|
|
Places fetch requests on the JMS queue (decoupling point). |
|
|
Consumes the fetch queue and triggers the Get sales / purchasing record flows. |
|
|
Sales branch: sets status, fetches records, publishes create requests to JMS. |
|
|
Purchasing branch: same as the sales branch for purchasing conditions. |
|
|
Marks the records as processing in Pricefx before they are sent to SAP. |
|
|
Retrieves the actual condition record data from Pricefx (via the Pricefx-SAP adapter). |
|
|
Queues the SAP sales-create requests (decoupling point). |
|
|
Purchasing equivalent of the above. |
|
|
Consumes the sales create queue and triggers the sales SAP create flow. |
|
|
Purchasing equivalent of the above. |
|
|
Builds the batch request (Mapping pkg), calls the SAP Condition API, extracts the result, publishes result update to JMS. |
|
|
Same as the sales create flow for purchasing conditions. |
|
|
Places the SAP create result on the JMS queue (decoupling point). |
|
|
Consumes the result queue and triggers the result write-back flow. |
|
|
Writes the SAP outcome and final status back to Pricefx (calls the status-update flows). |
Update integration status
|
Artifact |
Description |
|---|---|
|
|
Marks the condition records as processing in Pricefx before they are sent to SAP, so they are not picked up again while a batch is in flight. |
|
|
Receives the SAP create/update result and writes the outcome plus the final integration status back onto the Pricefx condition records. |
|
|
Performs the actual update call against Pricefx; invoked by the two status-update flows above to persist the status/result. |
Request payloads use the Mapping pkg: Message Mapping Build Pricefx Condition Record Status Update Request / Message Mapping Build Pricefx Condition Record Status Reset Request, and Extract SAP S4HANA Price Condition Batch Create Result.
Error handling
|
Artifact |
Description |
|---|---|
|
|
Catches failures of the status-update calls, logs them and routes to the fallback handler; called by both status-update flows. |
|
|
Parks failed price-condition create messages onto a dedicated JMS error queue for later reprocessing. |
|
|
Re-reads parked messages from the error queue and re-submits them through the create flow. |
|
|
(Deprecated in tenant) Reprocesses failed Pricefx price-record events. |
|
|
(Deprecated in tenant) Reprocesses failed Pricefx price-list events. |
|
|
Mapping (Mapping pkg) that extracts the human-readable error text from the SAP condition-record response. |
|
|
Reusable artifacts pkg — generic default error handler invoked by the flows on an unhandled exception. |
|
|
Price Management pkg — sends a log/notification email; the common fallback used across the flows. |
Notes
-
Direction is Pricefx → SAP. The reverse (S/4HANA condition events → Pricefx) uses
Listen SAP S4HANA Sales condition events from SAP Event Mesh/Listen SAP S4HANA Purchasing condition events from SAP Event MeshandProcess sales condition updates from SAP S4HANA/Process purchasing condition updates from SAP S4HANA. -
Auth/connection resolved via
Get AIR key from Pricefx and SAP Connection Properties(Price Management pkg) andGet Pricefx connection properties by environment(Reusable artifacts pkg).
Source: pricefx-sap-integration-flows repo, package SAP S/4HANA Price Condition Integration with Pricefx. Names match the published SAP Business Accelerator Hub display names.