Oracle Message ORA-24318 - call not allowed for scalar data types

ERRORcall not allowed for scalar data types
CAUSEThis call is valid only for object types.
ACTIONVerify that the data-type for this variable is an object type