SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Release-Specific Changes → Changes in Release 7.0, EhP2 →
ABAP Objects in Release 7.0, EhP2
1. Declaring Instance Constructors
Declaring Instance Constructors
As of Release 7.0, EhP2, the METHODS statement can be used to declare an
instance constructor in all
visibility areas,
the instantiablity of which is more general than or equal to that specified in the
CREATE addition of the
CLASS DEFINITION statement. Until now, this was only possible with the public visibility area (change has already been downported to Release 7.0).
C Destructor
As of Release 7.0, EhP2, more than one attribute can be passed in SYSTEM-CALL in the C Destructor.
Constants in Class Pools
As of Release 7.0, EhP2, it is possible to declare program local constants in a class pool where the gloabal classes can access their private components and their methods.