SAP Message WY165 - The entered object type &1 does not correspond to expected object type &2

Diagnosis
You entered object type &V1& for function module &V3&, when object typeV2 was expected.

System Response
INCLUDE ISR_STOP

Procedure
Call the function module using the correct data.