Polling Process (Customer Integration)
This article describes how SAP Integration Suite can enable customer master synchronization between S/4HANA and Pricefx using polling approach.
Steps:
Step 0: Pricefx Setup
Set up a polling schedule for customer: https://pricefx.atlassian.net/wiki/spaces/ACCDEV/pages/4410834945/Set+up+Integration+Flows+-+Polling#Step-0%3A-Set-up-polling-schedule-in-Pricefx-Price-Parameter.
Configure customer master table in Pricefx to store the necessary fields from SAP S/4HANA.
Optionally, configure any Customer Extension tables in Pricefx to store the necessary fields from SAP S/4HANA.
Optionally, configure any Price Parameter tables in Pricefx to store the necessary fields from SAP S/4HANA.
Step 1: Build Integration Flow to Poll Updates from SAP S/4HANA
You can either add a branch to the existing timer process or create another timer process for synchronizing billing documents. See https://pricefx.atlassian.net/wiki/spaces/ACCDEV/pages/4410834945/Set+up+Integration+Flows+-+Polling#Step-1%3A-Build-an-Integration-Flow-to-Poll-Updates-from-SAP-S%2F4HANA.
Step 2: Get Latest Updated Customers from SAP S/4HANA and Write to Customer Master
This integration is duplicated and modified from “Get Latest Updated Entities from SAP S/4HANA and write to Pricefx” from “Sample Artifacts for SAP S/4HANA Integration with Pricefx“ package.
Major steps carried out by this integration flow include:
Initialize properties and SAP AIR key.
Update the next polling schedule in Pricefx.
Get updated customers by batches: Set up Integration Flows - Polling | Step 2: Get Latest Updated Entities from SAP S/4HANA.
Multicast the list of updated SAP S/4HANA customers to integration flows to write to different Pricefx tables. Branch 1 goes to the customer master, while branch 2 goes to another integration flow which consists of all other branches. A sample “Multicast Customer response from SAP S/4HANA to processing flows” is provided in the package.
Step 3: 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.