SAP Message RW018 - FI/CO interface: Currency item entered several times

Diagnosis
Currency information was transferred several times in the currentdocument. The keys for the currency data must, however, be unique.
Origin of the document: &v1&, &v2&

System Response
The document could not be posted.

Procedure
This is a system error of the calling application.

122882Settlement: MESSAGE_TYPE_X in SAPLRWCL (RW018)