Polling Process (Sales Order Integration)

This article describes how SAP Integration Suite can enable sales order synchronization between S/4HANA and Pricefx using polling approach.

Steps:

Step 0: Pricefx Setup

  1. Configure the Sales Order Price Parameter table 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 Set up Integration Flows - Polling | Step 1: Build an Integration Flow to Poll Updates from SAP S/4HANA.

Step 2: Get Latest Updated Sales Order from SAP S/4HANA and Write to Price Parameter

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:

  1. Initialize properties and SAP AIR key.

  2. Update the next polling schedule in Pricefx.

  3. Get updated sales orders by batches: Set up Integration Flows - Polling | Step 2: Get Latest Updated Entities from SAP S/4HANA.

poll customer.jpg

Step 3: Write Sales Order Records to Price Parameter in Pricefx

This integration flow preprocesses the sales orders and writes the records to Pricefx. It is modified from Write records to Pricefx from the “Sample artifacts for SAP S/4HANA Integration with Pricefx” package to add the preprocess process.

See Set up Integration Flows - Polling | Step 4: Write Records to Pricefx.

preprocess.jpg

This preprocess process “Preprocess Sales order response from SAP S/4HANA and Write to Price Parameter in Pricefx” enriches data with sales quotation information from S/4HANA. You can call your own preprocess process by creating another preprocess integration flow in a new package and update the “process direct” property to your new flow.

 

Below parameters have to be configured:

  1. OData connection – SAP S/4HANA connection properties

 

Below parameters can be configured but default values are provided:

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

  2. Transaction handling