/
Polling Process (Accruals Integration)

Polling Process (Accruals Integration)

This article describes how SAP Integration Suite can enable accruals synchronization between S/4HANA and Pricefx. The accrual update process is not time-sensitive and typically relies on the update of billing documents in Pricefx, which also occurs in batches. Therefore, a polling approach has been chosen.

Steps:

Build Integration Flow to Poll Updates from Pricefx

You can either add a branch to an existing timer process or create another timer process for synchronizing Payout Records. This flow executes the integration flow to get the accruals from Pricefx.

accrual polling.jpg

Get Payout Records from Pricefx and Create Accruals in SAP S/4HANA

This integration flow gets Payout Records from Pricefx and creates accruals in SAP S/4HANA. The results are written back to Payout Records.

Major steps carried out by this integration flow include:

  1. Initialize properties and SAP AIR key.

  2. Get latest accrual records from Payout Records from Pricefx by batches.

  3. Transform accrual records from Pricefx to accruals batch create request.

  4. Write the results back to Payout Records in Pricefx.

  5. Write the results to accrual history table in Pricefx.

Below parameters have to be configured:

  1. Pricefx connection properties

  2. S/4HANA HTTP connection properties

Below parameters can be configured but default values are provided:

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

  2. Accrual history receiver – The integration flow which writes to the accrual history in Pricefx.

  3. Payout update receiver – The integration flow which writes the updates to the Payout Records in Pricefx.

  4. SOAP receiver – The integration flow which creates accruals in SAP S/4HANA.

  5. Accrual Mapping – The message mapping which transforms accrual records in Pricefx to accrual create request of SAP S/4HANA.

  6. The request message to fetch Payout Records from Pricefx.

  7. Batch size of getting accrual records from Pricefx.

  8. Log receiver – The logging integration flow.

  9. Error receiver – The error handling integration flow.

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

  11. Transaction handling

  12. Extract payout ID receiver – The integration flow which extracts payout ID from accrual records in Pricefx.

Write Records to SAP Accrual ACK Customer Extension in Pricefx

The integration flow transforms the response from SAP S/4HANA and writes the records to accrual history table in Pricefx. It is copied from “Write records to Pricefx” from the “Sample artifacts for SAP S/4HANA Integration with Pricefx” package.

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

Update Payout Records in Pricefx

The integration flow transforms the response from SAP S/4HANA and updates the Payout Records to Pricefx. It is modified from “Write records to Pricefx” from the “Sample artifacts for SAP S/4HANA Integration with Pricefx” package.

Below parameters have to be configured:

  1. Pricefx connection properties

Below parameters can be configured but default values are provided:

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

  2. Error receiver – The error handling integration flow.

  3. Transaction handling

  4. Error data store

  5. Message Mapping to build update request from the message

  6. Element name that the update payout calculation logic requires

 

Related content

Polling Process (Customer Integration)
Polling Process (Customer Integration)
More like this
Polling Process (Sales Order Integration)
Polling Process (Sales Order Integration)
More like this
Set up Integration Flows - Polling
Set up Integration Flows - Polling
More like this