When trying to cancel a billing document in transaction VF11 the accounting document is not getting reversed. Instead, the error message F5A005 “Reversal of document &v1 &v2 &v3 not possible in FI” is displayed if you try to release the cancelation invoice to accounting.
The reason for this phenomenon is the fact that a foreign currency valuation was done in the accounting document of the original invoice.
As a result at least one of the following fields is filled in the FI document:
BSEG-BDIFF Valuation Difference
BSEG-BDIF2 Valuation Difference for the Second Local Currency
BSEG-BDIF3 Valuation Difference for the Third Local Currency
When you reverse a billing document via VF11 the system tries to carry out the new cancelation procedure. See Note 1259505.
With this new reversal function both the original and the cancelation accounting documents are automatically cleared.
The new cancelation procedure checks whether a foreign currency valuation difference exist. If any of the BDIFF fields have a value other than zero the FI document can not be reversed by the new cancelation procedure.
In that particular case the error F5A005 is issued in include LFACIF70 (FORM REVERSE_ITEMS).
You have two options to avoid F5A005 and to release the cancelation invoice to accounting successfully.
– either set the parameter RULE_NEW_CANCEL to ‘B’ in a userexit so that the old cancelation procedure is carried out
– or reset the valuation difference in the original accounting document
To find out more about these methods check the following SAP Note, that also tells you the userexit to be used.