Wednesday, August 9, 2017

Repository class transport error: ‘INCLUDE REPORT CL_XY==========CO’ NOT FOUND

Repository class transport error

I have become almost mad by solving this error. I have checked everything and compared any piece of repository class between development system and following system. Everything fits, class declaration part, methods implementation and so on. I transferred declaration and implementation parts again by new transport. I still got the error...

Here is different situation comparing to local classes where comparing just includes solves everything, repository classes have their own secrets ;-)

Solution

I still do not know the exact root cause, nevertheless I found a way how to overcome the bug.



Create a new transport entry by following way:

Click right mouse button directly on the class causing the problem and follow the picture below.




Do the transport again. I hope it helps in your situation ;-)