09-26-2006 1:53 PM
Hi, I see lots of references like the below when doing ABAP OO program checks or reviewing ABAP Dumps.
ZCLDW_ALERTS==================CP
ZCLDW_ALERTS==================CM00Z
1. What does the '====CP' or '====CM00Z'?
2. Why can't it just show the name of the method the problem is in?
09-26-2006 1:56 PM
this comes from BADI, check in se19 for the Implementation <b>ZCLDW_ALERTS</b>.
then check the Class Interfacess and the Method.
goto SE24 with this <b>ZCLDW_ALERTS</b>.
Regards
Prabhu
09-26-2006 1:59 PM
Hi, I'm not using a BADI. I wrote a small ABAP OO program. When checking I see references to the '====CP' and '====CM00Z'
09-26-2006 2:12 PM
Hi
You've defined the class ZCLDW_ALERTS by SE24 and the system has generated:
ZCLDW_ALERTS==================CP is the main program
ZCLDW_ALERTS==================CM00Z is the include where a method is defined
Max
09-26-2006 8:40 PM
Hi,
as Max wrote, this are the names for the generated class or the generated includes for the method.
There is a method to get the methodname from the includename is provided form the method:
<b>cl_oo_classname_service=>get_method_by_include</b>
Regards.
Stefan
09-26-2006 1:58 PM
Hi
They should be the name of the programs generated when a Z<class> was defined.
Max
09-26-2006 1:59 PM
They are queries.
You can see CP and CM00Z in SQ01 transaction.
ibrahim.
09-26-2006 2:45 PM
No, they are not queries... and I can't see thme in SQ01...
Can any ABAP OO guru help out?
09-26-2006 8:40 PM
Hello Kenneth
The suffix CP stands for class pool. I assume that when generating the class name has a maximum length and that all spaces between the class name and the final CP are filled using ===.
I do not know the meaning of CM00Z (in your case) but it is likely to be either one of the sections (public, protected, private, type section, macro section) or one of your methods (includes?).
Regards
Uwe
09-27-2006 5:50 AM
Hello Kenneth, Hello Uwe,
the length of include names is restricted to 40 chars. Controversly the name of an Interface based method is longer. Therefore there is some kind of mapping.
a ===CMxxx Include is a method include. Please note that xxx might differ from system to system.
Regards,
Klaus
12-14-2006 2:38 PM