SAP Message BEA504 - &2 &3 still exists in system &4; archiving of billing doc &1 not possible

Diagnosis
Billing document &v1& could not be selected for archiving as objectV2 v3 is still present in system v4.

System Response
Billing document &v1& was not selected for archiving.

Procedure
First, archive object &v2& &v3& and then delete it from system &V4&.Then try to select document &v1& for archiving.