Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member182708
Active Participant

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.

2 Comments