Start of Content Area

Example  Locate the document in its SAP Library structure

 

This graphic is explained in the accompanying text

This graphic is explained in the accompanying text This graphic is explained in the accompanying text

The CREATE OBJECT statement creates an object (instance) of the class COUNTER. The reference in the reference variable CNT_1 points to this object.

This instance of the class COUNTER is called <1>COUNTER, because this is how the contents of the object variable CNT_1 are displayed in the debugger after the CREATE OBJECT statement has been executed. This name is only used for internal program administration - it does not occur in the ABAP program itself.

 

End of Content Area