SAP Message 88661 - Cancellation declaration is not permitted as consecutive document type

CAUSE&
You are trying to process a declaration and a cancellation declarationat the same time.

System Response
The declaration cannot be processed.

Procedure
Change the consecutive documents of the main document in the recyclingpartner dialog. At least one consecutive document is of type N(cancellation) at this moment.