‎2016 Aug 04 9:03 AM
Hello,
I think I got some strange behaviour between our DEV and PROD Systems.
There is a classpool include lets say it is named something like ZCL_XXX========CM007.
This classpool include exists in both Systems, DEV and PROD.
In PROD the content is a method named 'READ_ITEMS' but in DEV the method in this include is 'CREATE_ITEMS'...
This leads to a second thing, some methods are in different includes in the different systems, for example method 'READ_ITEMS' above mentioned.
In PROD the include Name of this method is ZCL_XXX========CM007, in DEV it is ZCL_XXX========CM009.
Can somebody explain me how this happens and if this ist normal behaviour?
Thanks in advance.
Alex
‎2016 Aug 04 5:41 PM
This is a normal behavior, and there shouldn't be any problem (not like the function modules).
For instance, if you have 2 development systems (one for maintenance, and one for next release), one developer may create a method A on one system, and the other one will create a method B on the second system. Both may be assigned the same include "number", say 007. If A is transported to the second system, then it will be assigned automatically the number 008. So, everything is fine.
For information, the includes are incorportated by a single special reserved ABAP statement "INCLUDE METHODS", which avoids the problems we had with the function modules (which had hardcoded INCLUDE LFUGRU01, INCLUDE LFUGRU02, ... If I remember well, the problem was recently corrected for the function modules (regeneration of the LFUGRUXX include instead of transporting it), but not sure (it may be described in one SAP note))
‎2016 Aug 04 9:39 AM
He Alex,
May be it is like the SMARTFORMS & function module name of SMARTFORMS.
SMARTFORMS SF_EXAMPLE_01:
In my dev200 is /1BCDWB/SF00000203
But in my PRD is /1BCDWB/SF00000110
Regards.
‎2016 Aug 04 5:41 PM
This is a normal behavior, and there shouldn't be any problem (not like the function modules).
For instance, if you have 2 development systems (one for maintenance, and one for next release), one developer may create a method A on one system, and the other one will create a method B on the second system. Both may be assigned the same include "number", say 007. If A is transported to the second system, then it will be assigned automatically the number 008. So, everything is fine.
For information, the includes are incorportated by a single special reserved ABAP statement "INCLUDE METHODS", which avoids the problems we had with the function modules (which had hardcoded INCLUDE LFUGRU01, INCLUDE LFUGRU02, ... If I remember well, the problem was recently corrected for the function modules (regeneration of the LFUGRUXX include instead of transporting it), but not sure (it may be described in one SAP note))
‎2016 Aug 04 5:48 PM
Sandra is right. If you need to know what include contains a certain method, use report RPR_ABAP_SOURCE_SCAN and search the class for the method name. In the result list, you see the name of the include.
‎2016 Aug 05 8:28 AM
THX all for the Information.
In fact we have a little Problem with this behaviour, but that is another point 😉 and should not be discussed here :-).
regards
Alex