Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Same classpool include name, different content between DEV and PROD system

Former Member
0 Likes
892

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

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
0 Likes
856

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))

4 REPLIES 4
Read only

former_member192023
Active Participant
0 Likes
856

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.

Read only

Sandra_Rossi
Active Contributor
0 Likes
857

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))

Read only

jrgkraus
Active Contributor
0 Likes
856

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.

Read only

Former Member
0 Likes
856

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