SAP Message BEA_CFM005 - Prepayment should not be canceled; referenced by invoice claim &1 item &2

Diagnosis
Inconsistencies can arise if you cancel a settled prepayment that isreferenced in an invoice claim. Therefore, you should only cancel asettled prepayment if the referencing invoice claim is canceled.