‎2009 Mar 19 9:13 AM
Hello,
i've got a Base Agent Class (ZCB....) in my classlibary, but i've got no persistent class and no agent class
that belong to this class.
i will delete the base agent class, but i can't do this.
have anyone an idea to delete this class?
thanks to you
‎2012 Jan 25 11:51 AM
Hi,
By default the lifetime and scope of the object is within the program where it is declared i.e once the control comes out of the program the memory allocated for the object will be destroyed . To store the state of the object permantly we use persistence service.
persistence service can be implemented in 2 ways,
(1) Business Key Identity.
(2) GUID (Global Unique Identifier).
persistence service can be implemented by using persistence classes.
persistence class are always created globally and it starts with the naming convention 'ZCL_' or ' YCL_'.
It is always created as protected class.
whenever the persistence class is created sap generate two classes internally.
(1) Base Agent Class: it starts with the naming convention 'ZCB_' or 'YCB_'
it is created as abstract class by default . It is friend of persistence class.
(2) Actor Class or Agent Class: It starts with the naming convention 'ZCA_' or 'YCA_'. It is always created as private class and it is subclass of base agent class.
So , with this Base Agent classes are created only when the PERSISTENCE CLASS are created..
so , please check once again for the persistence class
Thanks & Regards,
Raghunadh.K
‎2012 Jan 27 5:57 PM
Any reason why you want to delete it? Who is the owner of this class? Why you want to get rid of it?
Regards
Marcin