SAP Message SA345 - Please use entity types with matching versions

Diagnosis
Relationships between entity types of different versions are notallowed.

Procedure
Please check the syntax.