Business Partner Replication Filters For Replication From S/4HANA Cloud to C4C Are Not Working For Certain Business Partners (Communication arrangement SAP_COM_0025)
SAP S/4HANA Cloud
Reproducing the Issue
- Open the APP: Define Filter Criteria
- Select "Customer Replication to C4C"
- Set a filter, for example, based on Business Partner Role or a particular Business Partner
- Make a change to a Business Partner which should not be replicated to C4C.
- The changes are replicated.
The reason that the Business Partner is not filtered out because the communication arrangement SAP_COM_0025 uses a System Filter. When using System Filter, filters maintained via the App: Define Filter Criteria are not taken into account. With other Communication Arrangements it is possible to define yourself whether or not it will use a System Filter.
The communication arrangement SAP_COM_0025 Business Partner - Replicate from SAP S/4HANA Cloud to Client however does not have this option to decide if the system filter will be active or not. The reason for this is that the S/4HANA Cloud - C4C integration requires some specific customizing settings which are executed in the background. These settings are based on the DRG customizing and the related replication model. These settings are checked and validated by the SAP Development Support team and should not be changed.
Here is the integration process explanation: the replication for Business Partners can limited by selecting some filter criteria. However, if a BP instance was already replicated to a business system before (C4C), the filter will not block this instance anymore or in short: Once a Business Partner has been replicated it will always be replicated regardless of the filters set afterwards. This is needed to guarantee system wide data consistency otherwise replicated data could be out of sync. So in your case: You have maintained the filters in the "Define Filter Criteria" App but the BP instance was already replicated. Therefore the filter is not considered anymore for this instance.
The way the filters work when system filtering is set (as it is in SAP_COM_0025) is that any business partner which was replicated between C4C and S/4HANA Cloud before the Exclude Exclude filters have been set in the Define Filter will continue to be replicated after the Exclude filter is set even if the Business Partner meets the exclusion criteria. The reason for this is to ensure data integrity between the two systems.
Any Business Partners which are created after you set the exclude filter will be excluded if they meet the exclusion criteria.
SAP_COM_0025, Exclude, Filter, Replication, Replicated, C4C, Integration, Customer Replication to C4C, Define Filter Criteria , KBA , LO-INT-COD , CRM On Demand Integration , LO-MD-BP , Business Partners , LOD-CRM-INT-S4H , Integration of C4C with S/4 HANA , Problem