SAP Knowledge Base Article - Public

3515942 - Action Code 05 or 03 Does Not Delete PartnerFunctions Relationship Via Incoming BusinessPartnerReplicationIn Message

Symptom

You are replicating business partners from S/4HANA to C4C and you are sending PartnerFunction actionCode="05" or actionCode="05", however the relationship is not being deleted.

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Go to the Administrator work center.
  2. Go to the General Setting work center view.
  3. Open the Web Service Message Monitoring under System Administration.
  4. Select query All.
  5. Search for message successful BusinessPartnerReplicationIn incoming message.
  6. Click on View and select Payload

The incoming payload looks like:

          <PartnerFunctions actionCode="03"> (or "05")
            <BusinessPartnerRelationshipCatagoryCode>AB</BusinessPartnerRelationshipCatagoryCode> (AB means code ID)
            <PartyInternalID>123456</PartyInternalID> (123456 means Business Partner ID)
            <ReceiverPartyInternalID xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            <DefaultIndicator>false</DefaultIndicator>
          </PartnerFunctions>

However, when checking the Master Data, the relationship hasn't been deleted/removed.

Cause

As per the standard design of the system, actionCode "03" or "05" is not supported on PartnerFunction level. 

Resolution

In order to delete the PartnerFunctions, you need to set the following:

 

  1. Maintain LCTI = True in the incoming payload.
  2. Maintain the Relationship defined as Sales Area dependent in the C4C business configuration.

In case on the C4C the partner functions shouldn't be changed during inbound replication, you can defined the actionCode="06" as described in SAP Blog Post ERP to C4C: Integration of Account Relationships

    See Also

    KBA 2857303 - Account Team and Relationships Removed After Inbound Business Partner Update 

    Keywords

    Action Code, 05, 03, Delete, Remove, PartnerFunctions, Relationship, BusinessPartnerReplicationIn, C4C, S4, S/4HANA, ERP, Business Partner, actionCode , KBA , LOD-CRM-INT-ERP , Integration of C4C with ERP , LOD-CRM-INT-S4H , Integration of C4C with S/4 HANA , How To

    Product

    SAP Cloud for Customer core applications all versions