SAP Message R1049 - The stated object type &1 does not correspond to valid object type &2

Diagnosis
The object type &V1& was transferred to function module &V3&. However,this should have been object type &V2&.

Procedure
Please correct the function module call