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

Diagnosis
An internal error occurred during the implementation of acustomer-specific enhancement. A CHANGE-API module was called with anobject reference (parameter IO_OBJECT) that was not instantiatedin the required activity for changing (02). The API modules are functionmodules and begin with API_RE_.

Procedure
Within the BAdI implementation, transfer the parameter IO_OBJECTfrom the BAdI method directly to the API module. Make sure that thetransferred instance is allowed to be changed.