SAP Message RETMCA011 - Assignment of an object of type &1 is not allowed

RETMCA011 : Assignment of an object of type &1 is not allowed