I am attempting to edit a regular ABAP program in SE80 and have suddenly starting having problems with Include files. I am not sure what is happening but it appears that if I edit and save an Include there may be more than one copy saved and I cannot determine or control which copy is being used.
Example: I have a structure defined in the TOP Include and it is referenced in other parts of the program. I then alter the structure, change its name, and save. I also change the name at every occurrence throughout the code.
When I attempt to activate the program I get errors from FORMS sections stating that the new structure name is not defined but there is another structure with a similar name which is the old name. I also get errors from the TOP Include saying the old name is not defined but there is a structure with a similar name which is the new name. To make matters worse this error message refers to a specific field on a specific line but when I view that line that field name is not there.
It looks like the activation is trying to active an old version of the source code and it does not match the code I am seeing. I cannot correct the error due to my seeing code that does not contain it. I am not the only developer using SE80 or editing ABAP code but I appear to be the only one experiencing this problem.
I also created an entirely new program from scratch. I edited and saved. I was met with the same problems anew.
Any help or insight would be much appreciated.