SAP Message RECAAP095 - Internal error when implementing extension (see long text)

Diagnosis
An internal error occurred during the implementation of acustomer-specific enhancement. When the API_RE_..._CHANGE orAPI_RE_..._GET_DETAIL function module was called, the IO_OBJECTparameter did not have a type-compatible value.
The called function module belongs to function group &V1&. The IO_OBJECTparameter however is of type &V2&.

Procedure
Contact your system administrator.

Procedure for System Administration
Correct the call of the function module.
The IO_OBJECT parameter should only be used when the call of thefunction module takes place in the implementation of a Business Add-In.
Within the implementation of a Business Add-In for an object type, suchas RECN_CONTRACT for the real estate contract, only the correspondingAPI function modules of this object type are allowed to be called usingthe IO_OBJECT parameter. For the real estate contract object type, theseare the API_RE_CN_CHANGE or API_RE_CN_GET_DETAIL modules, for example.
If you need the data of another real estate object, such as an assignedrental object, do not call the API_RE_RO_GET_DETAIL module using theIO_OBJECT parameter. Instead, use one of the various key fields.