CLASS_CONSTRUCTOR would be called automatically whenever the class would be accessed – either by creation of an instance or accessing any component. But seems like it is changed with ABAP 740.
Today we will see how the constructor and class-constructor triggers at runtime. What is Constructor? Lets see what is CONSTRUCTOR and CLASS_CONSTRUCTOR CONSTRUCTOR Whenever we instantiate the object using the statement CREATE OBJECT statement, CONSTRUCTOR would be called. System creates an object before it calls the CONSTRUCTOR method. CLASS_CONSTRUCTOR This type of constructor is the…