SAP Message XI209 - Object transport layer and CICO request (&) do not go together

Diagnosis
You tried to insert an object into a request whose transport layer isnot compatible with that of the transport request. This can occur whenyou try to include objects from a local development class in atransportable request (CICO_REQUEST_TYPE = REQ_TRANSP) or when you tryto include transportable objects in a local request (CICO_REQUEST_TYPE= REQ_LOCAL).

Procedure
Create a suitable request using the function moduleRPY_CICO_REQUEST_OPEN and assign the object to it using the RepositoryAPI.