SAP Knowledge Base Article - Public

3766365 - SAP_COM_0277 – duplicate Idocs sent to previous receiver after changing receiver in app "Communication Arrangements" - SAP S/4HANA Cloud Public Edition

Symptom

  • After updating the communication arrangement for scenario SAP_COM_0277 to redirect outbound accounting document IDocs from a previous receiver to a new receiver, the system correctly generates the IDoc for the new receiver but also generates a duplicate IDoc to the previous receiver.
  • Expected behavior: Only one IDoc should be generated per accounting document, sent exclusively to the new receiver.
  • Communication scenario ID involved: SAP_COM_0277.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Open the Communication Arrangements app.
  2. Locate the arrangement for scenario SAP_COM_0277 and change the configured receiver from the previous receiver to a new receiver.
  3. Post or trigger an accounting document so that an outbound IDoc is generated via SAP_COM_0277.
  4. Observe that an IDoc is generated for the new receiver and an additional duplicate IDoc is also generated for the previous receiver.

Cause

Resolution

When modified, the action is actually an "adding" action rather than a real "modification," and the key value cannot be changed.

The recommended solution is as follows:

  1. Open the Communication Arrangements app (business role with catalog SAP_CORE_BC_COM).
  2. Filter by Scenario: SAP_COM_0277.
  3. Identify all active arrangements:
    • The updated arrangement CA_SAP_COM_0277_XXX_ACCT_DOC → now pointing to PRZ ✅
    • Delete the arrangement that still references XXX.
  4. Post a test FI document → Verify that no IDoc appears in message monitoring, and then create SAP_COM_0277 again.

See Also

Keywords

SAP_COM_0277, Communication Arrangement, Duplicate idoc, Accounting document integration, Outbound idoc, Receiver change, Previous receiver, New receiver, Duplicate message, Accounting document, Integration scenario , KBA , FIN-FSCM-TRM-2CL , Treasury and Risk Management (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions