When an invoice is released in transaction VF02 to accounting (by clicking on the button with the green flag – or alternatively pressing keys SHIFT + F4) the error message F5 351 (Account & & is blocked for posting) may occur:
The root cause of this error message is in this case, that the sold-to-party partner (in the example: customer number 67 for company code 0001) is blocked for accounting – in transaction FD05 for the involved company code:
However in the invoice the payer and bill-to-party partners are different and not blocked as the sold-to-party:
So why does the creation of the accounting document fail with error message F5 351? What relevance does the sold-to party partner play for accounting in this process?
The reason is explained in the Knowledge Base Article 1592428, which I have created in 2011:
Not only the payer is transferred to accounting as debitor, but also the sold-to-party partner – as the branch (field “BSEG-FILKD“).
Therefore both customer accounts are checked for the existence of a lock set in FD05, and if this is the case then the error message is raised:
As mentioned in the KBA, two alternative solutions exist in this case. Either the block for the sold-to-party in FD05 will have to be removed, or in a user-exit the transfer of the sold-to-party as the branch (FILKD) will have to be prevented.