Symptom
An error occurs when executing an Intercompany Allocation using a dynamic variable portion based on a Statistical Key Figure.
Error message: "Cannot post document due to offsetting errors"
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the Manage Allocations App.
- Select the affected allocation cycle.
- Execute the cycle for the relevant posting period.
- Review the Messages/Log to see the accounting interface rejection.
Cause
The allocation cycle contains a mix of intra-company and inter-company receivers within the same cycle segment. One or more receivers belong to the same company code as the sender.
An Intercompany Allocation cycle cannot process both intra-company and inter-company receivers within a single segment. When this mix exists, the system cannot determine whether to generate an Intercompany (ICO) clearing entry for the intra-company flow. As a result, the document fails to balance, triggering the "Cannot post document due to offsetting errors" message.
For reference, a cycle that contains only cross-company receivers — where all receiver company codes differ from the sender company code — processes successfully.
Resolution
Choose one of the following options for the allocation cycle:
Option 1 — Remove the intra-company receiver: Remove any cost center(s) that share the same company code as the sender from the receiver group of the Intercompany Allocation cycle.
Option 2 — Split the cycle: Move the intra-company portion (receivers in the same company code as the sender) into a separate standard intra-company allocation cycle. Retain only inter-company receivers in the Intercompany Allocation cycle.
This ensures the Intercompany Allocation cycle processes only cross-company flows, allowing the system to generate the correct ICO clearing entries.
Keywords
Cannot post document due to offsetting errors, Intercompany Allocation, Manage Allocations , KBA , FIN-UA-2CL , Universal Allocations (Public Cloud) , Problem
SAP Knowledge Base Article - Public