Error message F5702 prevents creation of accounting document – Part I
One of the most complicated error messages that can occur, when you try to create an accounting document from an invoice (transaction VF02 -> “release to accounting”) is the one “Balance in transaction currency”, which is defined with the error identification F5702:
The root cause of this error can be manyfold, as described in the Knowledge Base Article 1459805.
One common problem, that is easily overlooked, is when a user-exit in the SD/FI interface is unintentionally active, and does not contain correct coding.
With F5702 two user-exits can have a negative effect, EXIT_SAPLV60B_010 and EXIT_SAPLV60B_011. In transaction SE37 it can be checked, if one of them is activated or not:
If the user-exit is active, and no coding implemented, then despite this fact, in the creation process of the acounting document, the exit is executed:
Now as can be seen in the coding, the user-exit is designed to influence the debitor structure xaccit_deb. If no coding is present in the exit, after it is executed, the structure is not filled anymore with the net- and taxvalues anymore:
The values are all zero.
This leads to an unbalanced posting situation, the debitor side is missing, and the error message F5702 will have to be issued:
As described in note 160211, to prevent this error, either the exits will have to be deactivated, see note 48431, or alternatively correct coding will have to be implemented, that assures that the structure xaccit_deb is filled correctly.