SAP Message VHURL636 - Role given for role &1 does not agree with partner relationship

Diagnosis
The partner entries in the posting item and in the role do not agree.
THe partners participating in a returnable packaging business scenariocan be directly entered at item level as a partner relationship(consisting of location and exchangepartner), or they can be entered at business scenario level (theentry line), under the business management roles
(for example, as sender and recipient) that they have beenassigned.
The assignment of each side of the relationship (location/exchangepartner) to a role depends on the account posting type
and is set in Customizing.

System Response

Procedure
If you have entered partners under business management roles, deletethe partner entries in the posting items. The system then takes thedata from the roles.
If you have entered the partners directly from the item level, deletethe roles.

Procedure for System Administration
If necessary, check that the settings are correct inCustomizing.