ABAP - Keyword Documentation →  ABAP - ABAP Release News →  News for ABAP Release 7.0 and its EhPs →  News for ABAP Release 7.0, EhP2 → 
Mail Feedback

ABAP Objects in ABAP Release 7.0, EhP2


1. Declaring Instance Constructors

2. C Destructor

3. Constants in Class Pools



Modification 1  

Declaring Instance Constructors

From ABAP release 7.0, EhP2, the statement METHODS can be used to declare an instance constructor in all visibility sections, whose instantiability is more general than or equal to that specified in the addition CREATE of the statement CLASS DEFINITION. Until now, this was only possible with the public visibility section (this modification was also transported to ABAP release 7.0).



Modification 2  

C Destructor

From ABAP release 7.0, EhP2, more than one attribute can be passed in the C destructor when SYSTEM-CALL is used.



Modification 3  

Constants in Class Pools

From ABAP release 7.0, EhP2, local program constants can be declared in a class pool. The private components and methods of the global class can access these constants.