SAP Message BEA506 - Cancelled billing doc &2 was not archived; no archiving cancellation &1

Diagnosis
Cancellation billing document &v1& could not be selected for archivingas corresponding cancelled billing document &v2& has not yet beenarchived or selected for archiving.

System Response
Document &v1& was not selected for archiving.

Procedure
First, select corresponding cancelled billing document &v2& forarchiving. Then try to select document &v1& for archiving again.
Warning: It is possible that the system issues this errormessage and a subsequent check proves that corresponding cancelledbilling document &v2& has already been selected for archiving. This canoccur if corresponding cancelled billing document &v2& was selected forarchiving in this run and the time at which the document was selectedwas before the time that the enhanced check of cancellation billingdocument &v1& took place. In this case, cancellation billing documentV1 will be selected for archiving the next time the preprocessingprogram runs.