F5 702
Document won't balance
FB01, BAPI or IDoc posting fails with "Balance in transaction currency" — debits and credits do not net to zero.
Likely root causes
- Rounding: an interface or custom program calculates tax or currency conversion line by line, leaving a small difference.
- A substitution changes the amount on one line.
- The interface payload is missing a line.
What to inspect
- Simulate the document to see which lines break the balance
- BAPI_ACC_DOCUMENT_CHECK return messages
- GGB1 – active substitutions
- The interface payload or IDoc data
Resolution path
- Simulate the posting and sum the lines to find the difference.
- If it is rounding, fix the calculation at the source: compute the total first, then distribute it.
- Post any remaining rounding difference to a defined line instead of dropping it.
- If a substitution changes an amount, correct the substitution rule.
- Test the fix in QA before production.
ERPClimb is an independent platform and is not affiliated with SAP SE.